USB MIDI lets you capture the notes and playing actions from a digital piano so you can edit them later in music software. One distinction matters from the start: MIDI records performance instructions, not the piano’s audio, so you will need a sound source in your computer or a separate audio recording if you want the instrument’s own sound.
What USB MIDI records
A MIDI performance typically contains note-on and note-off events, pitch, timing, velocity (how hard a key was played), and sometimes pedal or control data. The recording is compact and editable: you can correct a wrong note, change its timing, adjust its volume response, or play the same performance through another compatible instrument sound.
MIDI does not contain the piano tone, room sound, or a finished audio file. The sound you hear during playback is generated by a software instrument, a hardware sound module, or the keyboard itself. A MIDI file played on a different device may therefore sound quite different.
Before connecting, decide which result you need:
- Editable notes: record USB MIDI into a DAW (digital audio workstation) or a MIDI recorder.
- The keyboard’s built-in sound: record audio from the piano’s audio output into an audio interface, or use a manufacturer-supported USB audio feature if the model provides one.
- Both: record MIDI and audio at the same time, or record MIDI first and capture audio from the keyboard during playback.
Choose a keyboard connection and software
Check the piano’s manual or specifications for a USB port labeled USB to Host, USB Computer, or a similar computer-connection name. A USB port labeled USB to Device may be intended for a flash drive or accessories and may not send MIDI to a computer. Port names and features vary by model, so use the manufacturer’s connection instructions.
Most USB-MIDI keyboards work with a class-compliant connection, but some models require a manufacturer driver or utility, particularly on certain operating systems or for advanced functions. Confirm operating-system support and driver requirements before installing anything. Use the manufacturer’s current instructions for driver installation and firmware; do not assume that a USB cable alone will provide audio or every model feature.
| Setup | What it captures | What you need | Main limitation |
|---|---|---|---|
| USB MIDI to a DAW | Notes and performance data | Computer, compatible cable, DAW and sound source | Does not capture the piano’s audio |
| Audio output to an interface | The piano’s sound as audio | Audio interface, suitable cable and recording software | Audio is less editable as individual notes |
| MIDI plus audio | Editable performance and piano sound | MIDI connection plus audio interface or supported USB audio | More routing and synchronization to check |
A DAW is useful for recording, editing, and playing software instruments. Many DAWs have a MIDI track and at least one instrument option; some require you to install or select a separate virtual instrument. A standalone MIDI recorder can also capture notes, but you still need a sound source for audible playback. Choose software that supports your computer and keyboard, and check whether it accepts MIDI input and includes an instrument sound.
Connect the piano to the computer
- Identify the piano’s computer port. Consult its manual if the port labels are unclear. Do not confuse a USB storage port with a USB-to-host connection.
- Select the correct cable. Some pianos have a square USB Type-B port and need a USB-A-to-B cable; others use USB-C or another connection. Match the piano port to a computer port, using a compatible adapter or hub only if needed.
- Connect the cable. Turn on the piano and computer as the manufacturer directs. If the keyboard uses a driver, install it following the manufacturer’s instructions and restart if requested.
- Check whether the computer sees MIDI. Open the operating system’s MIDI device settings or your DAW’s MIDI preferences. Look for the piano’s model name or a USB MIDI input. A device appearing as an audio output is a separate feature and does not, by itself, confirm MIDI input.
- Enable the input in the DAW. In its settings, allow the piano as a MIDI input device. Create a MIDI or instrument track and set its input to the piano, or choose an all-inputs option if appropriate.
If the piano connects but does not appear, check that the cable supports data rather than charging only. Try a direct computer port instead of a hub, confirm the selected port in the DAW, and check the manufacturer’s driver and operating-system guidance. Some computers or DAWs need permission to access MIDI devices. Avoid changing system security settings broadly; follow the relevant operating-system instructions.
Record a first MIDI take
A simple test helps separate connection problems from sound or routing problems.
- Load an instrument sound. Add a piano or other virtual instrument to the track, or route the MIDI track to a connected sound module. Without a sound source, the MIDI can record successfully while playback remains silent.
- Set the track input and monitoring. Select the keyboard as the MIDI input. Enable input monitoring if you want to hear the instrument while playing. Choose the computer’s speakers, headphones, or audio interface as the playback output.
- Check levels and latency. Play a few notes. If the sound is delayed, use a lower audio-buffer setting if your computer and audio device can handle it, or use a dedicated audio interface. A smaller buffer can increase computer load and cause clicks or dropouts; raise it again if playback becomes unstable.
- Choose a tempo and count-in. A metronome and a one- or two-bar count-in can make the start easier to play. If you are recording expressive music, treat the metronome as a guide rather than forcing every note to a grid.
- Record a short passage. Start recording, play a few measures, then stop. Confirm that notes or a MIDI region appear on the track.
- Play it back. Check that the correct instrument is selected and that the track sends MIDI to it. A visible MIDI region with no sound usually points to instrument or routing setup, not a failed recording.
Save the project before editing. DAW projects preserve track assignments, instrument choices, and edits, while a Standard MIDI File can make the performance portable to other software. Exporting MIDI may not preserve every DAW-specific instrument, effect, or automation setting, so keep the project as well if you want to reopen the complete arrangement.
Make the performance feel natural
MIDI makes correction easy, but heavy editing can flatten the feel of a piano performance. Start with the musical issue you hear and make the smallest change that fixes it.
- Timing: Move only notes that are noticeably early or late. Quantization can align notes to a beat grid, but setting it too strongly may remove natural timing. Many DAWs let you reduce the strength or apply it only to selected notes.
- Velocity: Velocity often controls how loudly or brightly a virtual instrument responds. If notes sound uneven, adjust a few outliers rather than making all velocities identical. The keyboard’s touch response and the instrument’s velocity layers affect how this data translates to sound.
- Sustain pedal: Some keyboards send sustain-pedal data over MIDI; others may need a setting enabled, a compatible pedal, or a different input configuration. If notes ring continuously or the pedal is missing, inspect the recorded controller data and the piano’s MIDI settings.
- Wrong or missing notes: Confirm that the DAW is recording the intended MIDI channel and input. Also check whether the keyboard has a split, layer, local-control, or MIDI-transmit setting that changes which notes it sends.
- Range and transposition: A keyboard can transmit notes that are shifted by an octave or a transpose setting. Check the instrument and piano settings before moving a whole performance in the editor.
Record another take if the performance needs more than a few corrections. Punch-in recording or a new track can preserve the original take while letting you retry a difficult passage.
Capture the piano’s own sound
If you want the sound of the piano’s internal tone generator, MIDI alone is not enough. Check the manual for line outputs or headphone output and for any USB audio feature; USB MIDI and USB audio are different functions and may use separate ports or settings.
For analog audio, connect the piano’s line outputs to an audio interface using the cable type and input arrangement specified by the piano and interface manufacturers. If the piano has only a headphone output, consult its manual about using it as an output and choose a suitable cable; headphone outputs can have different levels from line outputs. Set the interface input appropriately and begin with a conservative level to avoid clipping. Record the interface’s audio input on an audio track in the DAW.
You can record MIDI and audio together by arming separate tracks: one MIDI track receiving the keyboard’s data, and one audio track receiving the interface input. This gives you an editable performance plus a recording of the piano’s tone. If you record MIDI first and send it back to the piano later, check the DAW’s MIDI output routing and the keyboard’s receive-channel settings. Not every keyboard sends audio over USB, and some do not provide a conventional MIDI output through the computer connection.
Troubleshoot common problems
- No device listed: Confirm the piano’s USB-to-host port, data-capable cable, driver requirements, and operating-system compatibility. Reconnect directly to the computer and reopen the DAW’s MIDI settings.
- Notes do not record: Enable the correct input, arm the MIDI track, and check the selected MIDI channel or input filter. Test with a new, empty track to rule out a track-routing mistake.
- Notes record but playback is silent: Load a software instrument or route MIDI to a sound module. MIDI does not create sound on its own.
- You hear sound but no MIDI region appears: The piano may be connected for audio only, the track may not be armed, or the DAW may be monitoring a different input. Verify the MIDI input separately from the audio input.
- Playback is late or uneven: Check the DAW’s buffer and audio-device settings, close demanding background applications, and use an interface with a suitable driver if available. Audio monitoring latency and recorded MIDI timing are related but distinct; inspect the notes before shifting them.
- Pedal or controls are missing: Check whether the piano transmits those messages, whether the DAW records them, and whether the track filters controller data. Consult the model’s MIDI implementation information for supported messages.
- The recording sounds different on another device: The MIDI performance is being rendered by a different instrument or sound bank. Select a comparable sound, or export audio when you need a fixed version of the piano tone.
Save and share the result
Keep a copy of the DAW project and export a Standard MIDI File if you want to edit the notes elsewhere. Export audio as a separate file when listeners need to hear the performance without loading an instrument plugin. Before sharing, play the exported file from beginning to end and check the start, ending, sustain, and overall level. For the piano’s original sound, export or record audio from the piano or interface; a MIDI file alone will not preserve that sound.