Piano Genie

Piano Genie

Piano Genie is a browser toy that turns eight buttons into a full 88-key piano using a neural network trained on classical performances. Press keys 1 through 8 on your keyboard, the home row, or colored touch blocks, and the model picks plausible notes so you sound like you know what you are doing. The space bar works as a sustain pedal.

Guitar Hero maps fixed note charts; Piano Genie lets you improvise freely. The model was trained on roughly 1,400 virtuosic performances from the International Piano-e-Competition, so the output skews classical rather than pop or jazz. Google Magenta published the research at ACM IUI 2019 and open-sourced the training code.

Anyone curious about music ML who does not read sheet music can use it for a few minutes of fun. The Glitch-hosted demo shut down with Glitch platform changes, but the creator still hosts a working copy at chrisdonahue.com.

Top Features:
  1. 8-button input maps to a full 88-key piano output in real time via an LSTM autoencoder

  2. Trained on roughly 1,400 virtuosic performances from the International Piano-e-Competition dataset

  3. Play with keyboard keys 1-8, home row letters, or touch blocks on mobile

  4. Space bar controls the sustain pedal for held notes

  5. Switchable 4-button or 8-button controller layouts in the settings panel

  6. Runs entirely in the browser through magenta.js with no download required

Pros:
  1. Turns 8 buttons into convincing piano phrases without music theory knowledge

  2. Fully improvisational unlike rhythm games with fixed note charts

  3. Open-source model and training code available on GitHub for researchers

  4. Runs in any modern browser with no install

Cons:
  1. Original Glitch URL is gone; users must find the creator-hosted mirror

  2. Output style locked to classical competition training data

  3. No MIDI export or song recording beyond what the browser captures

FAQs:

What is Piano Genie?

Piano Genie is a Google Magenta research project that maps presses on 8 buttons to realistic 88-key piano notes using machine learning. It lets non-pianists improvise melodies in a web browser.

How do you play Piano Genie?

Piano Genie uses keys 1 through 8, the home row letters a-f and j-;, or colored touch blocks. Press the space bar for sustain. The more you vary timing and rhythm, the more natural the output sounds.

Is Piano Genie free?

Yes. Piano Genie is a free browser demo with no account or payment. The model and training code are open-sourced on GitHub by the original researchers.

What AI model powers Piano Genie?

Piano Genie uses bidirectional and unidirectional LSTM autoencoders with a discrete bottleneck. The encoder learns button sequences from piano MIDI; at play time, your button presses replace the encoder output.

Why does Piano Genie sound classical?

Piano Genie was trained on about 1,400 virtuosic performances from the International Piano-e-Competition, the same dataset used in Magenta's Performance RNN. That training data shapes the improvisation style.

Where can I play Piano Genie now?

The original Glitch demo at piano-genie.glitch.me returns HTTP 410 after Glitch platform changes. A working copy is hosted at chrisdonahue.com/piano-genie/.

Category:

Pricing:

Free

Tags:

Piano Improvisation
Magenta.js
Music ML
8-Button Controller
Browser Instrument
Neural Autoencoder
Interactive Demo
Piano Learning

Tech used:

TensorFlow

Reviews:

Give your opinion on Piano Genie :-

Overall rating

Join thousands of AI enthusiasts in the World of AI!

Best Free Piano Genie Alternatives (and Paid)

By Rishit