Short answer: Almost any digital piano from the last couple of decades can be plugged into a computer, tablet or phone with a USB cable and used as a MIDI controller. The keyboard only sends performance data (which key, how hard, how long); software on the computer makes the sound. That gets you a different grand piano tone for little money, lets you record and edit what you play, and works with learning apps. What you need is a suitable cable, a piano plugin or app, and a short setup (buffer size, Local Control).

What MIDI is, and what it is not

MIDI is a data format from the 1980s, not an audio signal. When you press a key, the piano sends the note number (0 to 127; an 88-key piano uses 88 of them), the velocity (also 0 to 127), when the note starts and ends, and pedal positions. The computer decides what that sounds like. Two consequences: a MIDI recording is tiny and can be edited note by note, and you can replay the same take on a completely different piano sound later. The keyboard stays what it is, though: how the playing feels depends on its action (see hammer action versus basic keybeds), not on software.

Connecting: USB, 5-pin MIDI or Bluetooth

USB (the normal case)

Modern digital pianos have a USB Type B port, often labeled "USB to Host" or "USB Computer". On stage pianos it is usually on the back; on home pianos it often sits at the front near the headphone jacks or under the keyboard. You need an ordinary USB A-to-B cable (USB 2.0 is enough); for computers and tablets with USB-C, use a USB-C-to-B cable or an adapter. Current operating systems recognize most pianos as MIDI devices without drivers. Some models, especially older ones, need a USB-MIDI driver from the maker. Some pianos also send their internal audio over the same cable, which is handy for recording but not standard.

5-pin MIDI (older instruments)

Older pianos only have the classic round DIN sockets (MIDI Out, often MIDI In as well). The protocol runs at 31,250 baud, which is robust but slower than USB. To reach a computer you need a USB-MIDI interface: either a small cable-style interface or an audio interface with built-in MIDI sockets. The piano's MIDI Out goes to the interface's MIDI In. A cable-style interface costs roughly $20 to $55 depending on the model (as of Oct. 2026).

Bluetooth MIDI

Some pianos can send MIDI wirelessly, and others can be retrofitted with a small Bluetooth MIDI adapter on the 5-pin socket. Bluetooth MIDI (BLE) is not the same as Bluetooth audio: it sends small packets and in practice usually lands between a few and about 30 milliseconds, though figures vary a lot by device and operating system. Bluetooth audio (headphones, speakers) often adds hundreds of milliseconds and is useless for playing. For learning apps on a tablet, Bluetooth MIDI is usually fine. If you record or compare the piano's own sound with the plugin sound directly, most players find the difference to USB annoying and a cable is the safer choice.

Do you need an audio interface?

Not to transfer MIDI. An audio interface handles the sound: it converts the computer's audio into a signal for headphones or powered speakers and usually comes with its own low-latency driver. The laptop's headphone jack is fine to start; an interface pays off if you hear crackles, want better converters, or also want to record a microphone or the piano's audio. Entry-level models run about $130 to $160 at regular price (as of Oct. 2026).

VST, AU and friends: what a plugin is

An instrument plugin is a program that turns MIDI into sound and runs inside a DAW (recording software) or as a standalone app. The VST format dates from 1996, VST3 from 2008 and is now the standard on Windows and macOS; AU (Audio Units) is Apple's own format and runs only on macOS and iOS. Many plugins come in several formats, so go by your DAW: its settings show which formats it loads. Most piano plugins also include a standalone version that starts without a DAW. For plain practice that is the easiest route: connect the piano by USB, open the program, choose the input device and audio output, and play.

Two kinds of piano plugin

Sample libraries

A real grand or upright was recorded at many velocity levels, and the software plays back the matching recordings. The sound is very close to the original and carries the character of the recorded instrument. The price is storage: compact libraries need about 400 MB to a few GB, high-quality concert-grand libraries 16 GB and up, the biggest around 40 GB. They often need a player program; some libraries run in the free Kontakt Player. For large libraries plan on an SSD and at least 16 GB of RAM (32 GB recommended), because a lot of sample data must be ready at once.

Physical modeling

Instead of recordings, the software calculates strings, hammers, soundboard and dampers in real time. The install is tiny (on the order of 50 MB), playback responds continuously to how hard you play, and parameters such as hammer hardness, tuning or microphone position can be changed. The cost is more CPU load, especially with many bass notes ringing and the sustain pedal down. On a modern processor this is usually not a problem; on weak hardware you can limit the polyphony. Whether you prefer sampled or modeled is a matter of taste: samples often sound more "recorded", modeled pianos often respond more directly to your touch. Listen to demos and use trial versions before buying.

Free and paid examples

There are usable free pianos, such as Spitfire LABS Soft Piano (about 400 MB), Keyzone Classic (about 300 to 430 MB, five piano sounds), or the piano instruments in the free Komplete Start collection, which run in the Kontakt Player. Paid examples for orientation (prices as of Oct. 2026, USA): the sampled library Noire (16 GB) is $149, and the Ivory 3 piano (42 GB) is $279 at regular price, with sales at times around $195. Modeled pianos such as Pianoteq 9 come in several editions; check the current US price at checkout. Prices change and sales are common.

The DAW: recording and editing

A DAW (digital audio workstation) records MIDI, lets you edit it and arranges several tracks. There are free or inexpensive programs to start with: GarageBand on Mac and iPad, Cakewalk on Windows, Reaper (low-cost, with a trial period), plus Ableton Live, Logic Pro, FL Studio or Cubase in paid versions. The workflow is similar everywhere: create an instrument track, choose your piano as MIDI input, load the piano plugin as the sound source, and hit record.

In the piano-roll view every note is a bar you can move, shorten, change in velocity or delete. Wrong notes can be fixed without replaying the piece. Quantizing snaps notes to a time grid (eighths or sixteenths, for example). That removes timing slips but can also remove expression: small timing deviations are musical in piano playing. It is better to reduce the strength (for example to 30 to 60 percent) or to quantize only individual passages. Or play along with a metronome and skip the grid entirely.

Latency: the key to a good setup

Latency is the time between pressing a key and hearing the note. On piano you notice even small delays. The main cause is the audio buffer: the computer calculates sound in small blocks, and the bigger the block (in samples), the longer the wait but the more reliable the playback. You can compute the pure buffer delay: buffer size divided by sample rate. At 44.1 kHz, 128 samples give about 2.9 ms, 256 samples about 5.8 ms, 512 samples about 11.6 ms and 1024 samples about 23 ms. Driver, converters and plugin add more, so total latency is somewhat higher.

  • Starting value: 256 samples. If you get crackles or dropouts, raise it to 512; if everything runs clean, try 128.
  • Rule of thumb: most players find a total delay up to about 10 ms feels immediate. Well above that gets in the way of fast playing; this varies by person.
  • Windows: use an ASIO driver (your audio interface's driver or a universal one). ASIO bypasses Windows' audio layers and usually gives the biggest improvement. Windows' default drivers are often much slower.
  • macOS and iPad: the system audio (Core Audio) is already built for low latency; no extra driver is needed.
  • Other levers: pick a high-performance power plan, turn off Wi-Fi and CPU-hungry background programs, plug the USB piano straight into the computer instead of a hub, and temporarily lighten heavy plugins while recording (lower the polyphony, switch off reverb).
  • An external audio interface often improves latency by only a few milliseconds; its main benefits are stable drivers and better converters.

Step-by-step setup

  1. Plug in the cable: the "To Host" USB port on the piano, a USB port directly on the computer (not a hub).
  2. Switch the piano on; the computer reports a new device. With older models, install the maker's driver if needed.
  3. Start your DAW or standalone plugin. In the MIDI settings, enable the piano as an input.
  4. In the audio settings choose the driver (ASIO or Core Audio) and set the buffer to 256.
  5. Load the piano plugin on an instrument track, arm the track and press a key. The level meter should react.
  6. Check Local Control (next section), balance volume on the piano and in the plugin, then start recording.

Local Control and doubled notes

A digital piano by default connects its keyboard to its own sound (Local Control on) and also sends MIDI. If the DAW passes incoming notes back to the piano (MIDI Thru or Echo), every key sounds twice: a quick flutter, phasey tone, volume jumps or fewer usable voices. Two fixes:

  • Turn Local Control off on the piano. The keyboard then plays only the software. You find the setting in the piano's MIDI menu; on models without a display, via a key combination listed in the manual. Alternatively the DAW can switch Local Control off with a MIDI message (controller 122, value 0), and some programs do this automatically.
  • Turn MIDI Thru or Echo off in the DAW and leave Local Control on if you want to hear the piano's own sound and the plugin together.

Note: if Local Control stays off and you have not started the DAW, the piano stays silent. That is not a fault. Switch Local Control back on when you want to play without a computer.

Touch, pedals and aftertouch

Velocity curves

Not every piece of software suits every keyboard. If everything sounds too loud or too quiet, a different velocity curve helps. Many pianos have several touch settings (light, medium, heavy, fixed). On top of that there are curves in the plugin or DAW (linear, logarithmic, exponential, fixed). Adjust in small steps until a light touch is quiet and a firm one loud, without having to contort yourself. A strong touch setting on the piano plus a hard curve in the plugin quickly leads to notes that are too loud.

Pedals

The sustain pedal sends controller 64. Simple switch pedals report only on or off; pedals with half-pedal capability report values from 0 to 127 and allow partial damping. Whether that reaches the software depends on piano and plugin: good piano plugins evaluate half-pedal values, but the piano has to send them. Check in the DAW (MIDI monitor) whether pressing the pedal produces a series of values rather than just two.

Aftertouch

Aftertouch (pressure on a held key) is rare on digital pianos. If you need it for synth or string sounds, check the piano's specifications; for playing piano it is not needed.

Learning with an iPad or phone

Learning apps such as Simply Piano or flowkey recognize your playing over MIDI and check pitch and timing. For an iPad without Bluetooth you need a USB-C-to-B cable on USB-C models, or the Lightning-to-USB camera adapter plus a USB A-to-B cable on Lightning models. Alternatively connect a piano with Bluetooth MIDI directly through the app. GarageBand with piano sounds also runs on the tablet, and standalone versions of larger piano plugins exist for iPadOS. Important: the sound then comes from the tablet. To hear it you need headphones or speakers on the tablet, not on the piano.

Common problems and fixes

  • No sound: Is Local Control off while the DAW is not running? Is the track armed, the right MIDI input chosen, the right audio output set, the volume up? Test the cable and another USB port.
  • Device not recognized: switch the piano on after plugging in, or restart. Check the cable (some charging cables carry no data). Connect directly to the computer, not through a hub. Install the driver on older models.
  • Doubled notes: see Local Control.
  • Delay: lower the buffer, use ASIO, close background programs, use a cable instead of Bluetooth.
  • Crackles and dropouts: raise the buffer, limit polyphony in the plugin, check the power plan, turn off Wi-Fi.
  • Stuck notes: unplug the piano briefly and plug it back in; use the "panic" or "all notes off" command in the DAW.
  • Notes too loud or too quiet: adjust the velocity curve.

Costs at a glance

The piano is the expensive part; the rest is manageable (prices as of Oct. 2026, USA):

ItemBallpark
USB-MIDI cable for 5-pin pianosabout $20 to $55
Entry-level audio interfaceabout $130 to $160
Free piano plugin and DAW$0
Sampled library (examples)about $149 to $279
Modeled piano pluginvaries by edition, check current price

A sensible start costs only the cable; spend more once you can hear what is missing.

Common mistakes and myths

  • "Any digital piano sounds like a grand with a VST." Wrong: the plugin supplies the sound, the keyboard determines feel, dynamics and pedal control. A basic keybed stays basic. How the sound engine inside the piano itself differs is covered in speakers, sound simulation and string resonance.
  • "A smaller buffer is always better." Only while playback stays clean. Too small causes crackles.
  • "Bluetooth is useless." For learning apps it is often enough; for recording and direct comparison a cable is safer.
  • "I always need an audio interface." Not to connect; it helps with stability and sound quality.
  • "More gigabytes means better sound." Size says nothing about quality; the recording, the instrument and taste matter.
  • Mistakes: forgetting Local Control, using a hub instead of a direct port, cables without data lines, a plugin format the DAW cannot load, quantizing at 100 percent.

Buying used and further reading

If you plan to use a used digital piano as a MIDI controller, check at the trial whether the USB or MIDI output works and whether every key sends velocity values (ideally with a laptop and a MIDI monitor). More buying advice is in buying a used digital piano: what to check. If you mainly want an instrument for studio and stage, stage piano versus digital piano helps with the decision.