Learn Piano Game Play free
Home › Guides › Keyboards, MIDI and Bluetooth › How do you play piano games with a USB keyboard?

How do you play piano games with a USB keyboard?

Plug your keyboard into the computer with a USB cable, open the game in Chrome, and click Allow when the browser asks to use MIDI devices. After that, every key you press is sent to the game as a note.

Most piano games that accept a real keyboard use something called USB MIDI. Your keyboard does not send sound down the cable. It sends small messages that say which key you pressed and how hard, and the game turns those into notes. The setup is usually quick, and this page covers what you need, the steps, and what to check when nothing seems to happen.

What you need

If you are still choosing an instrument, digital piano vs keyboard for beginners explains the differences in plain terms.

Step by step on a computer

  1. Connect the keyboard to the computer with the cable, then switch the keyboard on.
  2. Open Chrome and go to the game.
  3. When Chrome asks whether the site may use your MIDI devices, choose Allow.
  4. If the game lists inputs, pick your keyboard from the list.
  5. Press a few keys. If the game reacts, you are ready.

In Keyfall, the free game at learnpianogame.com, you choose the USB MIDI option as your input. The game runs in the browser, so there is nothing to download.

Phones and tablets

On an Android phone or tablet, you normally need a USB OTG adapter or cable so the device can act as the host for your keyboard. Our guide on how to use a USB OTG cable with a MIDI keyboard walks through it.

On an iPhone or iPad, Keyfall connects to keyboards over Bluetooth MIDI, and for that you need the free Bluefy browser. If your keyboard has no Bluetooth, a computer with a USB cable is the simplest route.

If nothing happens

When a keyboard does not respond, the cause is almost always one of these:

To find out whether your keyboard sends MIDI at all, follow how to check if your keyboard sends MIDI.

Sound and delay

Your keyboard may keep playing its own sound while the game plays a backing track. That is normal, and it can feel good because you hear the real keys. If the sound doubles up or feels confusing, turn the keyboard's volume down or use its headphone output.

A wired USB connection is generally a steady, low-delay way to connect. If you notice a lag between pressing a key and hearing it, the cause is more often the way the device sends audio, for example through Bluetooth headphones, than the USB cable itself.

Making the practice count

A game rewards the same habits that help in a lesson: sit comfortably, keep your wrists relaxed, and start with something easy. If you are brand new, begin with a very short tune such as Hot Cross Buns, which uses just three notes.

Keyfall's Starter mode waits for you at the line and shows which key to press, so you can find each note without the pressure of the falling pattern. You can also lower the speed in settings and raise it later. Every note shows its letter name, which helps you learn the key names as you go.

Short, regular sessions usually work better than one long one. A game is great for practice and fun, but it does not replace a teacher, who can check your posture, hand shape and fingering in a way a screen cannot.

More about keyboards, midi and bluetooth

61 keys or 88 keys: which should a beginner choose?What should you look for in headphones for a digital piano?What is the right keyboard stand and bench height for piano practice?Bluetooth MIDI vs USB MIDI: which should you use?Can you use Bluetooth headphones with a digital piano?Digital piano vs keyboard: which should a beginner buy?Do You Need a Driver for a USB MIDI Keyboard?Do you need a sustain pedal on a digital piano?

FAQ

Do I need a special keyboard to play piano games?

No, but it needs to send MIDI, usually through a USB port meant for a computer. Most digital pianos and MIDI controllers do, while some very basic toy keyboards do not.

Do I need to install a driver?

Often not, because many keyboards work as soon as you plug them in. If yours does not appear, check the maker's website for instructions, and also try a different cable and port.

Can I use a keyboard with only 5-pin MIDI sockets?

Yes, with a MIDI to USB adapter between the keyboard and your computer. Make sure the adapter is meant for sending MIDI from the keyboard into the computer.

Does the game need weighted keys?

No. Any keyboard that sends the right notes will work, though weighted keys feel closer to an acoustic piano. You can read more in our guide on weighted vs unweighted keys.

Why does the game hear my keyboard but I get no sound from it?

MIDI carries notes, not audio. Check that your keyboard's own volume is up and not muted, or that the game's sound is switched on, depending on which one should be playing.

Can I play without a keyboard at all?

Yes. Keyfall can also be played with the microphone on an acoustic piano, the computer keyboard, or the touch screen.

Practise it on your own piano. Keyfall is a free piano game: notes fall toward the keys and you play them on a digital piano, keyboard, phone or computer.

Play free