Have some fun pretending you're a piano virtuoso using machine learning!
Use the 1-8 numbered keys on your keyboard (or the home row a-f and j-;) or touch the coloured blocks to play the piano. You may also use hand gestures to control the buttons as well. Use the space bar to control the sustain pedal. The more you pretend you're a real player, the better the melody (and you!) will sound.
Built with magenta.js. Learn more about how it works, or see the code on Glitch.
Number of buttons:
Unfortunately, this browser does not support WebMIDI, which is only supported in Chrome and Opera.