AI Music Composition
This program uses a prediction suffix tree algorithm to produce a phrase of music based on input from the user. It takes a phrase of music, for example "edcdeeedddeggedcdeeeeddedc" (Mary Had a Little Lamb in the key of C), and returns its own composition in this style, for example "ddceedcdcdddedcdeeeecddeee". Each time this program is run, it returns a unique string of notes that one can then play on any instrument.
I have extended this project to involve taking in Midi notes (using a Midi synthesizer) and outputting a melody trained on the input.
To see my code, please visit https://github.com/sdinulescu/PredictionSuffixTree, or https://github.com/sdinulescu/AIMusicComposition.