News for hackers. Stuff that matters.
Re:Ask HN: Open source library to generate music programatic... by awithrow on Saturday August 04, 2018 @07:40PM (#17688954)
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.

Re:Ask HN: Open source library to generate music programatic... by palerm on Sunday August 05, 2018 @07:06AM (#17690730)
It looks promising, thank you very much.