How to
How to set up a MIDI keyboard
Plug the sustain pedal in, connect the keyboard to your computer with a USB cable, then switch it on. Open something that makes the sound, allow MIDI once, and play.
Setting up a MIDI keyboard, step by step
The whole setup takes about five minutes. Do it in this order, because the order matters for the pedal.
- Plug the sustain pedal into the keyboard, if you have one. Keep your foot off it.
- Connect the keyboard to the computer with its USB cable. Plug straight into the computer rather than a hub.
- Switch the keyboard on. Most need no driver on a Mac or Windows computer.
- Open something that makes the sound: music software, or an online instrument like HitJam in Chrome, Edge or Firefox.
- Press Enable MIDI, and choose Allow when the browser asks. It asks once per site.
- Play a key. You should hear it, and the MIDI keyboard test page should show the note and how hard you hit it.
For the cable itself, the sockets and Bluetooth, the connection guide goes into more detail.
Why the sustain pedal goes in first
Many keyboards check the pedal once, at the moment they switch on. Whatever position it is in then becomes “off”.
Plug it in afterwards, or switch on with your foot down, and the pedal works backwards. Notes ring when you lift your foot and stop when you press.
The fix takes ten seconds. Switch the keyboard off, check the pedal is plugged in, keep your foot off it, and switch on again.
Where the sound comes from
A MIDI keyboard makes no sound of its own. It sends which key you pressed and how hard, and something else turns that into sound.
You have three choices, and you can switch between them any time:
- A website. Nothing to install: HitJam plays a recorded grand piano, synths and drum kits straight from your keyboard.
- Music software, called a DAW. GarageBand is free on a Mac; Ableton, Logic and FL Studio are the paid ones most people meet.
- The keyboard’s own speakers, if it is a digital piano. It then sends MIDI and plays its own sound at the same time.
How to use a MIDI keyboard: what each part does
Most controllers share the same handful of parts. Here is what each one sends, in the order the picture numbers them.
- The keys. Each sends a note and how hard you hit it, called velocity. Soft playing sounds softer, and on HitJam’s piano, darker too.
- The octave buttons. They move the whole keyboard up or down by twelve notes, so a short keyboard can reach a long piano.
- The pitch wheel. It bends the note up or down and springs back to the middle when you let go. On HitJam it bends by two semitones.
- The mod wheel. It stays where you leave it. On HitJam’s synths it opens the filter, so the sound gets brighter as you push it up.
- Knobs and faders. They send control messages that music software can map to almost anything, such as volume, filter or effects.
- Pads. They send notes like keys do, and are made for drums. On HitJam’s Drum Machine and drum kits, each pad hits a drum.
Settings worth checking on day one
A few settings live on the keyboard itself, usually behind a Shift or Settings button. The manual lists the exact buttons for your model.
- Velocity curve. If you have to hit hard to get any volume, choose a lighter curve. If everything comes out loud, choose a heavier one.
- Fixed velocity. Make sure it is off, or every note arrives at full strength however gently you play.
- Octave. Press both octave buttons together, or use the reset, so middle C is back in the middle.
- Channel. Leave it on 1. HitJam listens on all sixteen, but most software starts on channel 1.
- Local control, on digital pianos only. Turn it off, or turn the piano’s own volume down, when you play a computer sound. Otherwise you hear two pianos.
A small keyboard can still play the whole piano
A 25- or 49-key keyboard covers two to four octaves at a time. The octave buttons move that window up and down.
HitJam has its own octave and semitone shift as well, on the left and right arrow keys. It applies to MIDI notes too, so you can reach all 88 keys from a 25-key controller.
Check it works in thirty seconds
Open the MIDI keyboard test page and press Enable MIDI. Your keyboard should appear by name within a second.
Then press a key softly and one hard: the velocity bar should move. Press the pedal and turn each wheel, and each one shows up as you move it. If anything stays blank, the not-working guide covers the eight usual causes.
Questions people ask
- Do I need a driver to set up a MIDI keyboard?
- Usually not. Most keyboards are class-compliant, which means Mac and Windows recognise them the moment you plug them in. A few larger models have a driver on the maker’s website.
- Why is my sustain pedal working backwards?
- The keyboard was switched on before the pedal was plugged in, or with your foot on it. Switch the keyboard off, plug the pedal in, keep your foot off it, and switch on again.
- Do I need music software to use a MIDI keyboard?
- No. Something has to make the sound, but it can be a website. HitJam plays a piano, synths and drum kits in the browser with no install and no account.
- Can I set up a MIDI keyboard on an iPhone or iPad?
- Not in the browser. Safari has no MIDI support on any device. Music apps like GarageBand for iPhone can use a keyboard through a USB adapter.
- Why do I hear every note twice?
- Your digital piano is playing its own sound as well as the computer’s. Turn its volume down, or turn Local Control off in its settings.