Red Echo

December 12, 2013

Automatically generating melodies using markov chains and genetic algorithms

A nice article about an experiment in generating music: using freely available MIDI tracks to build a Markov model of melody, driving it with random numbers to produce new melodies of a similar style, then filtering and repeating until the model produces music which is acceptably similar to the input corpus. It’s a clever project and all the code is included, though I don’t see any links to example output.