Google’s latest artificial intelligence experiment is a music-playing piano bot that digests whatever keyboard melodies you give it and tries to respond in kind. The neat tool is called Artificial Intelligence Duet, and it’s part of an ongoing push from Google’s Creative Lab division to help the public familiarize themselves with AI and all the ways it can mimic human behavior — and even create art.
According to the Verge, a collection of music-focused Artificial Intelligence tools were first shown off last fall, but now AI Duet in particular has been made available to the public.
Artificial Intelligence Duet works by taking the notes you play using your computer’s keyboard and running it through a neural network that has been trained using machine learning with scores of examples.
The neural net then looks for melodic and rhythmic patterns it can identify. Because it understands concepts like timing and staying in key from a hard data perspective it’s able to then generate its very own organic melodies that, hopefully, sound like a direct response to your own.