Think of it as predictive text but for your piano. A new deep learning based system developed by Google researchers enables anyone to play the piano like a trained musician. The system dubbed Piano Genie automatically predicts the next most probable note in a song, enabling a non-musician to compose new and original music in real time.
“While most people have an innate sense of and appreciation for music, comparatively few are able to participate meaningfully in its creation,” the researchers stated in their paper.
“A non-musician could operate a system which automatically generates complete songs at the push of a button, but this would remove any sense of ownership over the result. We seek to sidestep these obstacles by designing an intelligent interface which takes high-level specifications provided by a human and maps them to plausible musical performances,” the researchers explained in their paper.
The principal author of the paper, Chris Donahue, said that he was inspired by the game Guitar Hero, a game that simplifies how to play a musical instrument. Donahue and his team built a custom controller that shrunk a piano’s 88 notes into eight buttons.
The team selected an unsupervised strategy for learning the mappings of the piano notes. Specifically, they used an autoencoder setup in which the encoder learns to map the piano’s 88-key sequences to 8-button sequences. The decoder learns to map the button sequences back to piano music.
“The system is trained end-to-end to minimize reconstruction error. At performance time, we replace the encoder’s output with a user’s button presses, evaluating the decoder in real time,” the researchers said. “We believe that the autoencoder framework is a promising approach for learning mappings between complex interfaces and simpler ones, and hope that this work encourages future investigation of this space,” Donahue and his team stated.
People can also try out the system via an online demo.