Markov Chain as composition algorithm

Idea: Use Markov Chain to calculate the possibilities of data buffer, pitch, rhythm, velocity, etc to generate improvise music. Can be used as automatic rhythm in digital piano (MIDI), can be used in guitar effect box, ( need pitch detector ).

Interaction Idea: player play a short piece, or random notes -> data buffer -> Markov chain -> new data -> player plays with new data -> data buffer - > ... ( interaction loops )


Digital Music Programming II: Markov Chains

markov.c (by Craig Stuart Sapp )

Markov chain PD object, needed to be complied in Linux