Connect a MIDI keyboard
Answer any piano exercise by playing your own keyboard or digital piano. It is optional: the on-screen keys always work, and nothing changes until you switch it on.
Switch it on
Checking this browser...
The setting is for this device and this browser only. When your browser asks, choose Allow.
What you need
- A keyboard or digital piano with MIDI over USB, or Bluetooth MIDI.
- Chrome, Edge or Opera on a computer, or Chrome on Android. Firefox works too, and asks you to add a small permission add-on for this site the first time.
- No browser on an iPhone or iPad can connect a MIDI keyboard yet, Chrome included, and neither can Safari on a Mac. Use the on-screen keys there.
Connect by USB
- Plug a USB cable into the keyboard's USB port, often labelled "USB to Host" or "Computer", and into your computer.
- Turn the keyboard on.
- Switch on "Use a MIDI keyboard on this device" above, and choose Allow when the browser asks.
The line under the keys then says "Playing from" and your keyboard's name. Many keyboards give a general name, such as "USB-MIDI".
Connect by Bluetooth
- Many keyboards show up twice in Bluetooth settings: once as speakers or audio, and once as MIDI. Only the MIDI connection carries the notes you play, so pairing the audio one is not enough.
- On a Mac, pair it in Audio MIDI Setup: show the MIDI Studio window and use its Bluetooth button.
- On Windows, browsers often cannot see a Bluetooth MIDI keyboard unless its maker provides a Bluetooth MIDI driver. A USB cable is the most reliable way.
- On Android, you may need to connect it once from the keyboard maker's app or a MIDI app first.
If it will not connect
The browser did not ask
Look for a small icon at the edge of the address bar, and choose Allow there. If you closed the question, switch the setting off and on again to be asked once more. After the question has been closed a few times, Chrome stops asking: allow MIDI devices in this site's settings instead, as below.
It says your browser blocked the keyboard
Open this site's settings from the icon at the left of the address bar, set MIDI devices to Allow, then switch the setting off and on again. In Firefox, allow it through the add-on Firefox offers for this site instead.
It says no keyboard was found
- Check the keyboard is on, and that the cable is in its USB port rather than a power or headphone socket.
- Try another cable or another USB port. Some cables only charge.
- Close other music apps. On Windows, a USB keyboard often works with one app at a time.
When the keyboard appears, the page connects by itself. You do not need to reload.
I play, but nothing happens
- Check the line under the keys says "Playing from". If there is no line at all, the setting is off on this device.
- Once a question is checked, its keys stop taking answers until the next question, from your keyboard as from a tap.
A note I played did not stay selected
Playing the same note again takes it back, just like tapping a key twice. Any octave counts: a note is shown on the nearest key of the same name.
Turning it off
Switch the setting off, and exercises go back to the on-screen keys alone. To make the browser forget its permission as well, remove MIDI devices from this site's settings.