{'fraction_non_alphanumeric': 0.018495684340320593, 'fraction_numerical': 0.0, 'mean_word_length': 4.884057971014493, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
MICA : A Hybrid Method for Corpus-Based Algorithmic Composition of Music Based on Genetic Algorithms , Zipf ’ s Law , and Markov Models

An algorithm known as the Musical Imitation and Creativity Algorithm (MICA) that composes stylistic music based on a corpus of works in a given style is presented. The corpus works are digital music scores created from the widely available MIDI format. The algorithm restricts the note placement in compositions using a Markov chain model built from discrete-time representations of the corpus pieces. New compositions are evolved using a genetic algorithm with a fitness function based on Zipf’s Law properties of various musical metrics in the corpus pieces. The resulting compositions are evaluated by a panel of both musical and non-musical volunteers in a blind survey.