Ask HN: Open source library to generate music programatically?

5 points by palerm ↗ HN
Have you heard of any open source library to generate music programatically? I'm interested in generating music from the "first principles", that is to say, chords or notes.

2 comments

[ 3.1 ms ] story [ 17.7 ms ] thread
There is the music21 python project from MIT http://web.mit.edu/music21/

It's been awhile since I've used it but it worked well and could generate and analyze music in the classical Western tradition.

I used it in a project to generate midi music in the style of specific composers based on Markov chains. Sadly I don't have the source anymore otherwise I'd link you to it.

It looks promising, thank you very much.