Home / Tools / AI Duet

AI Duet

Play a real-time piano duet with a machine learning partner.

Visit AI Duet
AI Duet preview
experiments.withgoogle.com Free

Upvotes

0

Pricing

Free

Category

Music Generators

In the database since

Oct 2026

Overview

About AI Duet

AI Duet is a free Google experiment where you play a piano duet with the computer. You play some notes, and the machine answers with its own melody in real time. You do not need piano skills — just press keys and listen to what comes back. It runs in the browser: click the keys, use your keyboard, or plug in a MIDI keyboard. Made by Yotam Mann with Google's Magenta and Creative Lab teams, it shows how machine learning can spark creativity. Visit the official page to launch it.

Key Features

1. Real-time musical replies

Play a few notes and the computer responds to your melody instantly, like a jam partner.

2. No skills required

You do not need to know piano. Pressing random keys still produces a fun musical conversation.

3. Three ways to play

Click the on-screen keyboard, use your computer keys, or connect a MIDI keyboard for real feel.

4. Built on open tech

It runs on TensorFlow and Tone.js with open-source tools from Google's open Magenta music project.

5. Open-source code

The full code is public, so developers can study or remix how the duet works.

6. Part of AI Experiments

It sits in Google's AI Experiments collection, a public showcase of playful machine learning demos.

Frequently Asked Questions (FAQ)

Do I need to know piano to use AI Duet?

No. The site says you do not even need to know how to play piano — just press keys and listen.

How does the computer know what to play?

A machine learning model trained on music listens to your notes and generates a matching response in real time.

Can I use my own keyboard?

Yes. You can play with a MIDI keyboard plugged into your computer, or just use your computer keys.

Who made AI Duet?

Yotam Mann built it with friends on Google's Magenta and Creative Lab teams in May 2017.

Where can I see the code?

The project links to its public code, so developers can read and remix how the duet works.

Conclusion

AI Duet is a small, joyful demo of creative machine learning for everyone. It suits curious minds, music lovers, and coders alike. The barrier is zero and the fun is instant. If you want to feel what ML music is like, play a few notes. Head to the experiment page and start your first duet now.

Newsletter

Tools like this change fast

New Music Generators tools launch every week — the newsletter keeps you ahead of what's worth trying.

Keep exploring

Similar AI tools

Ranked by the job they do, their capabilities, and how closely they fit this workflow.