Phorx

Phorx is a program that allows you to write Music that can change dynamically as it is playing. It is based on a mathematical construct called a transition probability matrix, or Markov Chain. Phorx was written in Macintosh Common Lisp, using CLOS to define node and edge classes and their behaviors. More from Jim Carlsen's web pages.