It’s been a long time since I played with Overtone. What I’ve always wanted to do is generate music automatically. Today I ran into jFugue, which makes this really easy, listen to this:
Markov generated music by pepijndevos
I just took some music from wikifonia, constructed a Markov-chain and did a random note-walk.
This could work just as well with Overtone, but I used jFugue because it comes with a parser for MusicXML files.
To run the code below, you need to have jFugue on the classpath. Then just pipe a couple of notes from generate into play.