MIDI controller

On this page 7

A MIDI controller is a hardware device that generates MIDI messages from physical gestures such as pressing keys, striking pads, turning knobs or moving faders, and sends them to an instrument or computer that produces the actual sound. In digital audio production, it is the human interface between a performer and a digital audio workstation, a software synthesizer or a hardware sound module.

The defining point is that a MIDI controller usually makes no sound of its own. It transmits instructions, not audio: which note was played, how hard, for how long and how each control moved. The receiving device interprets those instructions, which is why the same controller can play a piano, a drum kit or an orchestral patch.

How a MIDI controller translates gestures into data

A MIDI controller works by scanning its physical sensors many times per second and converting every change into a compact digital message. A key press becomes a Note On message carrying a note number from 0 to 127 and a velocity value from 1 to 127; releasing the key sends a Note Off. Knobs and faders send Control Change (CC) messages, each with a controller number and a value.

Velocity is measured on keyboards by timing the interval between two contacts as each key travels downward; a shorter interval means a harder strike. Pads use force-sensing resistors or piezo sensors instead. Many controllers also report aftertouch, the pressure applied after a key reaches the bottom, either for the whole keyboard (channel pressure) or for each key individually (polyphonic aftertouch).

The table below lists the most common message types a controller produces and what they usually control.

MessageValue rangeTypical use
Note On and Note OffNote 0-127, velocity 0-127Playing notes and triggering samples
Control ChangeController 0-127, value 0-127Filters, volume, effects, sustain pedal
Pitch bend14-bit, 0-16383Smooth pitch glides
Channel pressure0-127Vibrato or swell from key pressure
Program Change0-127Selecting presets or patches
Common MIDI messages sent by controllers

Types and form factors of MIDI controllers

MIDI controllers come in several form factors tuned to different performance techniques. Choosing one depends on whether the user plays melodies, programs beats, mixes tracks or performs expressive solos, so manufacturers combine keys, pads and controls in very different proportions.

CategoryMain inputBest suited for
Keyboard controller25 to 88 velocity-sensitive keysMelodic and harmonic playing
Pad controllerGrid of pressure-sensitive padsBeat programming and sample triggering
Control surfaceMotorized faders and encodersMixing and automation in a DAW
Wind controllerBreath sensor and fingering keysExpressive woodwind-style lines
MPE controllerPer-note pressure, slide and glideHighly expressive synthesizer performance
Drum controllerMesh or rubber trigger padsElectronic drum kits
Main controller categories

Keyboard controllers differ further by key action: synth-action keys are light and springy, semi-weighted keys add some resistance, and hammer-action keys imitate the graded feel of an acoustic piano. Pianists generally need weighted action, while producers often prefer compact 25-key or 49-key units for desk space.

Connectivity and protocol versions

Modern controllers connect mainly through class-compliant USB MIDI, which works with computers and tablets without a dedicated driver. Many also keep the traditional 5-pin DIN port for hardware synthesizers, and newer models add TRS MIDI jacks or Bluetooth LE MIDI for compact or wireless setups.

The original MIDI 1.0 serial link runs at 31.25 kilobits per second, so a three-byte note message takes about one millisecond to transmit. That speed is adequate for most playing, but dense chords and heavy controller data can introduce slight timing smear. MIDI 2.0, adopted in 2020, adds bidirectional capability discovery, 16-bit velocity and 32-bit controller resolution, though support across controllers is still growing.

ConnectionPower from hostTypical latencyTypical use
USB MIDIYesVery lowComputer and tablet studios
5-pin DINNoAbout 1 ms per messageHardware synthesizers
TRS MIDINoAbout 1 ms per messageCompact hardware gear
Bluetooth LE MIDINoRoughly 5 to 15 msWireless mobile setups
Connection options compared

Mapping a controller in a digital audio workstation

Mapping is the process of assigning each physical control to a parameter in the receiving software. Many controllers ship with predefined scripts for popular DAWs, so transport buttons, faders and knobs work immediately. Otherwise, a MIDI learn function lets the user click a software parameter and move a knob to link them.

Good mapping follows a consistent logic: the same knob should control a similar function across instruments, such as filter cutoff on CC 74. Engineers also check velocity curves, because a curve that is too steep makes soft playing inaudible, while one that is too flat removes dynamic expression.

Overall responsiveness depends less on the controller than on the computer. Audio buffer size and driver type, such as ASIO on Windows, determine audio latency, and a buffer of 128 samples at 48 kHz adds roughly 2.7 ms before the sound reaches the output.

Limitations and common misconceptions

The most frequent misconception is that a better controller produces better sound. Sound quality depends entirely on the synthesizer, sampler or plugin receiving the data; the controller only affects feel, expression and workflow.

SymptomLikely causeFix
Delay between key and soundLarge audio bufferReduce buffer size or use ASIO driver
Notes stuck onLost Note Off messageSend all-notes-off or panic command
Knob jumps parameter valueAbsolute mode mismatchUse pickup or relative encoder mode
Soft notes barely audibleSteep velocity curveChoose a flatter curve
Device not recognizedNon-compliant driver or cableInstall driver or use data cable
Typical problems and their fixes

Another limitation is resolution: classic 7-bit control values offer only 128 steps, which can cause audible zipper noise on sweeping parameters unless the software smooths them or the controller uses high-resolution messages.

Understanding it simply

A MIDI controller is like a remote control for musical instruments. It looks like a keyboard, a set of drum pads or a mixing desk, but on its own it is silent. When you press a key, it sends a short message saying which note you played and how hard.

A computer program or synthesizer receives that message and makes the actual sound. This is why one controller can sound like a grand piano one minute and a drum kit the next. The controller decides how it feels to play, while the software decides how it sounds.

Applied in practice

A film composer working in a small home studio uses a 61-key semi-weighted controller with eight faders and a sustain pedal, connected to a laptop by USB. The faders are mapped to the dynamics and vibrato controls of an orchestral string library, and the mod wheel sends CC 1 for expression.

While recording a slow cue, the composer plays the melody with the right hand and rides a fader with the left to shape each phrase. The DAW records both notes and controller movements, so a crescendo can later be adjusted without replaying the part. With the audio buffer set to 128 samples, the latency stays low enough to feel natural, and the finished mockup reaches the director the same afternoon.