Hit start to generate the music and hit playback once, the code is goofy, but that's how i got it to work. Then when you want to hear the music back, hit playback one more time. This is just a proof of concept that I threw together quickly, so its pretty gross
So this is a random music generator designed to help musicians practice sight reading. It's not perfect by any stretch of the imagination, but it works. The notes are randomly generated through the use of markov chains to create the music, according to music theory standards. Credits: Zhen Yu Ding Ryan Stentz James Wang Willis Larson