A.I Experiments with Google Developers: AI Duet
This experiment lets you make music through machine learning. A neural network was trained on many MIDI examples and it learned about musical concepts, building a map of notes and timings. You just play a few notes, and see how the neural net responds.
The code is available at github at the following link.