By the Numbers / MIDI
A MIDI cable carries 3,125 bytes a second, and every value on it stops at 127. Those two numbers, fixed in 1983, explain why chords smear, why filter sweeps zipper and why there are sixteen channels. They also explain what MIDI 2.0 had to change.
Covers MIDI 1.0 (1983), MPE (2018) and MIDI 2.0 as revised in June 2023, plus transports through Network MIDI 2.0 (2024). Work in progress is as of November 2026. Nothing plays until you tap it.
Note on, channel 1, middle C, velocity 100: three bytes, thirty bits, 0.96 ms. Shaded columns are start and stop bits; the bright bit 7 of each byte marks status (1) or data (0).
MIDI 1.0 Specification (1983) · Trask, Home & Studio Recording (1985) · MIDI Association history, ch. 6 · CA-033 electrical update (2014)
In late October 1981 Dave Smith of Sequential Circuits, the company behind the Prophet-5, brought a modest proposal to an Audio Engineering Society convention in Los Angeles. He and Chet Wood wanted synthesizers from different companies to talk over one cheap serial cable. Their Universal Synthesizer Interface sent note on and note off at 19.2 kbaud, and not much else.
Three months later, at a meeting of manufacturers during the January 1982 NAMM show, it changed in two ways. The speed went up to 31.25 kbaud, and every input got an optocoupler: a tiny LED shining on a light sensor. The two instruments never share an electrical ground, so the cable can't carry hum. Your synth's MIDI In is, electrically, a lamp.
Why 31,250? Nobody wrote it down. It is 1 MHz divided by 32, which a 1982 circuit could make from a cheap crystal and a counter, and that's the accepted guess. Each byte goes out as 10 bits, a start bit, 8 data bits and a stop bit, so the cable moves 3,125 bytes a second. That is one byte every 320 microseconds.
Why everything stops at 127. MIDI spends one of each byte's 8 bits on a flag. If the top bit is 1 (values 128 to 255), the byte is a status byte, and it says what message is starting. If the top bit is 0 (values 0 to 127), it's a data byte: a note, a velocity, a knob position. A receiver that drops a byte, or gets plugged in mid-song, waits for the next status byte and is back in step. The cost is that every value gets 7 bits, and 7 bits count to 127.
Running status. A note-on is three bytes: 90 (note on, channel 1), the note, the velocity. Data can't be mistaken for status, so a sender may skip a status byte that repeats the last one, and the second note of a chord costs two bytes. That's also why many keyboards send note off as a note-on with velocity 0. The status stays the same, so the saving survives.
The interface is asynchronous at 31.25 kbaud ±1%, with one start bit, eight data bits sent least significant bit first, and one stop bit, and no parity. The line is a 5 mA current loop; logical 0 is current on, so the start bit lights the receiver's optocoupler LED. A 2014 update added 3.3 V signalling for modern chips without changing the timing.
Sanity check: a 56k modem moved 56,000 bits a second, 1.8 times MIDI's 31,250. A page of plain text is about 3,000 bytes, so a MIDI cable moves roughly a page a second, and this page's own HTML would take about half a minute.
Toy assumptions: bytes separated by spaces, and several messages may follow one another. Bits are drawn in the order they leave the transmitter, least significant first, with the idle line high. The drawing ignores the ±1% clock tolerance. Sending to real hardware needs the optional MIDI connection in the Transport section.
Craig Anderton, Brief History of MIDI · Moore (1988), The Dysfunctions of MIDI · MIDI 1.0: real-time messages and running status
Not everyone thought 31.25 kbaud was enough. Tom Oberheim, whose own system already linked a drum machine, sequencer and synth over a fast parallel bus, worried MIDI would be too slow. Dave Rossum of E-mu asked over dinner why they didn't just use Ethernet, which already existed and cost about $10 to add. Smith wanted something simpler: an interface so cheap that no manufacturer could say no. Five years later the computer musician F. Richard Moore published "The Dysfunctions of MIDI", and speed was near the top of his complaints.
Here is what he meant. Press a six-note chord and your keyboard sends six messages, one after another, down one wire. With running status the first note lands after 0.96 ms and the last after 4.2 ms, so the chord is really a strum 3.2 ms long. You don't hear it, because a note has to move several milliseconds before most listeners notice it is out of place (Rhythm, Part 2).
The chord rarely has the wire to itself, though. Clock, a knob you're turning, aftertouch: everything queues on the same cable, one byte at a time. Clock bytes may cut in anywhere, even between the two data bytes of a note, because tempo can't wait (Rhythm, Part 1 explains MIDI's 24 pulses per beat). Everything else waits its turn. The cable is a one-lane road, and Queues shows what happens as one fills: delay grows like ρ/(1−ρ), gently at first and then all at once.
MPE fills it fastest. MPE gives each note its own channel, so every note needs its own status byte and running status never helps. Then each finger you hold streams pitch bend, a timbre controller and pressure, 8 bytes per update. Ten fingers updating 39 times a second use the entire cable.
Running status is lost whenever another status byte intervenes, so a controller message sent mid-chord costs the next note its saving too. Clock and other real-time bytes do not cancel running status.
Toy assumptions: all chord notes are queued at the same instant, in key order. Each knob sends one control change per update; each held MPE finger sends pitch bend, CC74 and channel pressure per update on its own channel. Streams are periodic with random phase, and the readout is the median of 300 random strikes (the 95th percentile is in the line above). Clock bytes pre-empt at byte boundaries; everything else is first in, first out. When the offered load passes 100%, the delay shown is after one second of playing and keeps growing.
MIDI Association, summary of MIDI 1.0 messages · Music Technology on controller traffic · The Human Auditory System and Audio (2023)
The people who wrote MIDI 1.0 knew 7 bits wouldn't always do, so they left two doors open. Pitch bend got 14 bits from day one, sent as two data bytes with the centre at 8,192. And the first 32 controllers got partners, numbers 32 to 63, to carry a fine half, so a knob could send 16,384 steps. Most hardware knobs still send only the coarse half common practice, not a survey.
Whether 128 is enough depends on what it moves. Spread 128 steps across a filter's cutoff from 20 Hz to 20 kHz and each step jumps 0.94 semitone, almost a whole key. Pitch bend has the opposite problem. At its default range of ±2 semitones one 14-bit step is 0.024 cent, more than a hundred times finer than a typical best-case listener can hear (about 3 cents).
Coarse steps make zipper noise. Each jump in a cutoff or a volume is a tiny click, so a slow sweep turns into a staircase you can hear. It is worst with a lot of resonance, like the Moog ladder in Synthesis, Part 2. Synths hide it by smoothing each new value over a few milliseconds, trading the stairs for a little lag.
The two limits meet. Finer values cost bytes. A 14-bit controller pair costs 4 bytes per update even with running status, so a DIN cable can deliver at most 781 updates a second. A two-second 14-bit sweep therefore carries about 1,560 values. The rest exist on paper, but the cable can't deliver them in time.
Toy assumptions: a 110 Hz sawtooth through a resonant low-pass (Q 8), cutoff mapped exponentially from 100 Hz to 6.4 kHz (six octaves), swept up then down. Updates arrive as fast as a DIN cable allows under running status (1,562 per second for 7-bit, 781 for a 14-bit pair). MIDI 2.0 is drawn as a continuous ramp because 32-bit steps are far below anything audible. Smoothing is a one-pole slew.
Bars are on a log scale. The black tick is 3 cents, about the best pitch discrimination for a steady tone near 2 kHz; above 1 kHz an ordinary listener needs about 10 cents. "Coarse byte only" is a sender or receiver that ignores the low byte.
History of Information, on the naming · MIDI 1.0 message summary · Chris Meyer on the Sample Dump Standard (1986) · SDS packet format
The name came last. Roland's founder Ikutaro Kakehashi, who had been pushing for a common interface since 1981, liked Universal Musical Interface: UMI, pronounced "you-me". Smith thought that was a little corny. He did like "instrument" better than "synthesizer", so he proposed Musical Instrument Digital Interface.
The number of channels was settled inside the status byte. After the flag there are 7 bits left. MIDI uses 3 for the message type (note on, control change, pitch bend and so on) and 4 for the channel, and 4 bits count to 16. The first USI draft had 8 channels. Smith asked for 16 in July 1982, because the Prophet 10 would need ten voices, and four bits was what the byte could spare.
Lay out all 256 byte values and the budget is tight. Data takes half of them. Seven channel messages on sixteen channels take 112. That leaves 16 values for the whole system: clock, start, stop and a few more. The map in the tool shows every one.
The same 7 bits give 128 note numbers. Note 0 is a C at 8.2 Hz, below hearing, and note 127 is a G at 12.5 kHz, more than three octaves wider than a piano. Chords, Part 3 turns note numbers into hertz.
SysEx is the escape hatch. Anything that doesn't fit goes in a System Exclusive message: F0, a maker's ID (Sequential got 01, Roland 41), as many data bytes as you like, then F7. Each of those bytes still keeps its top bit clear, so 8-bit data has to be repacked, usually 7 bytes into 8, a 14% tax.
Sending a sample. The 1986 Sample Dump Standard, which grew out of Sequential's work on its Prophet 2000 sampler, moves audio this way: 3 bytes per 16-bit sample, 120 data bytes per packet. One second of CD-quality mono audio takes 45 seconds to send, so the cable runs 45 times slower than the sound it carries.
The time ignores the handshake: in closed-loop mode the receiver acknowledges each packet, which makes the real transfer slower still.
Toy assumptions: an otherwise empty cable, no handshake pauses, and SDS at 44.1 kHz, 16-bit, mono. Packed 8-bit data uses the common scheme of one byte of high bits per seven data bytes.
System-Level MIDI Performance Testing, ICMC 2001 · Wang, Mulder and Wanderley, NIME 2019 · McPherson et al., NIME 2016 · BLE-MIDI connection interval · Network MIDI 2.0 latency claim
In 2001 a team testing MIDI interfaces on Windows 98 sent pulses round trip through five of them. The new USB interfaces did two to three times worse than the older cards, in both delay and wobble. Faster hardware had made the timing less steady, and the reason hasn't gone away.
USB at full speed carries bits 384 times faster than a MIDI cable, but the computer collects its data in 1 ms frames. A note can sit for up to a millisecond waiting for the next frame. Bluetooth LE is coarser: data moves only at connection events, every 7.5 to 15 ms. A DIN cable has no frames at all. A byte goes out the moment the wire is free.
Latency and jitter are different problems. Latency is the average delay, and players adjust to it the way an organist adjusts to pipes at the far end of a church. Jitter is the wobble from note to note, and that is what makes a groove feel loose. Bluetooth MIDI stamps every message with the millisecond it was sent, so a careful receiver can hold each note for a fixed delay and play it on its stamp. It gives up a few milliseconds of latency to preserve the original timing.
Nothing was measured on real hardware for this page. The table collects published measurements and marks which numbers are spec arithmetic, which were measured, and which are the MIDI Association's own figures. If your browser has Web MIDI and you have a cable from a MIDI output back to an input, the box under the tool will measure yours.
| Transport | What sets the timing | Latency, jitter | Basis |
|---|---|---|---|
| 5-pin DIN (or TRS) | Serial bytes, 320 µs each | 0.96 ms per note-on; jitter only from queueing | Spec arithmetic |
| USB MIDI 1.0, full speed | 1 ms frames, 4-byte event packets | 4.1 ms ± 0.4 end to end (a Teensy, NIME 2019) | Measured |
| USB MIDI into Max or Pd, with audio | Frames plus audio buffer | Jitter above 1 ms in every setup tested (NIME 2016) | Measured |
| Bluetooth LE MIDI | Connection interval 7.5–15 ms, 13-bit ms timestamps | 7.5 ms ± 1.8 minimal to 19.1 ms ± 2.7 in a custom interface (NIME 2019) | Measured |
| Network MIDI 2.0, Wi-Fi | UDP packets of UMP, forward error correction | About 5 ms with clear line of sight | Standards-body claim |
Toy assumptions: the frame or connection wait is uniform, which is exact for an event arriving at a random moment. The fixed overheads are estimates, not measurements: 1 ms of driver time for USB full speed, 0.5 ms for high speed, 2 ms of radio and stack time for BLE. "Timestamps used" plays each note one connection interval plus that overhead late, at its stamped millisecond. Nothing here models the operating system's scheduler or audio buffers, which add to every row in real life.
Uses Web MIDI, which asks your permission and works in Chrome, Edge and Firefox but not Safari. Connect a cable from a MIDI output to an input, then run 50 notes through the loop.
MPE ratified (2018) · MPE pitch bend defaults · State of MIDI 2.0, Feb 2026 · June 2023 core updates · Windows MIDI Services (2026)
By the 2010s a new kind of controller wanted to bend each finger on its own. The ROLI Seaboard, Moog's Animoog and Apple's Logic got there with a trick: give every sounding note its own channel, so a channel-wide message like pitch bend becomes a per-note message. On January 28, 2018 the MIDI Manufacturers Association made the trick official as MPE, MIDI Polyphonic Expression.
MPE splits the 16 channels into zones. Each zone has a manager channel and up to 15 member channels, so it can bend at most 15 notes separately. Member channels default to a bend range of ±48 semitones, which works out to 0.59 cent per step, still five times finer than the best ear. Pitch was never the weak spot. The other two dimensions, timbre on CC74 and pressure, are still 128 steps.
MIDI 2.0 changes the box, not the notes. Adopted on February 20, 2020, it sends messages as Universal MIDI Packets of 32, 64, 96 or 128 bits. A note-on gets 16-bit velocity, 65,536 levels. Controllers, pressure and pitch bend get 32 bits, about 4.3 billion steps, and they can be aimed at one note, so no note needs a channel of its own. There are still exactly 128 note numbers.
Devices can talk back. A MIDI 1.0 cable only ever carried data one way. With MIDI-CI two devices ask each other what they can do, and through property exchange a synth can hand over its patch list and parameters as JSON. Sixteen groups of sixteen channels give 256 channels on one connection.
The new packets need new wires. USB MIDI 2.0 arrived in 2020, and Network MIDI 2.0, over Ethernet and Wi-Fi, in November 2024. A 5-pin cable still carries MIDI 1.0 bytes, though MIDI-CI can talk across it in SysEx. A June 2023 revision deprecated the original handshake in favour of simpler endpoint discovery. Operating systems followed: Apple's Core MIDI from iOS 14, Android 13 over USB, Linux 6.5, and Windows 11, where Windows MIDI Services became generally available in February 2026.
Still coming. The MIDI Association says a Bluetooth LE transport for MIDI 2.0 is in the works and wants the W3C to adopt a Web MIDI 2.0 API. Drum and DAW-control profiles and the SMF2 container format were described in February 2026 as on the way. A Piano Profile, which pins down how velocity and pedals behave, shipped in 2026.
Seven-bit pressure mapped linearly to amplitude jumps 6 dB between its two quietest non-zero values (1 → 2), which is why soft swells step audibly even when loud ones sound smooth.
Toy assumptions: a two-second gesture sampled 100 times a second. The chart zooms on the part of the gesture where steps are largest. Brightness maps CC74 exponentially to a cutoff from 100 Hz to 6.4 kHz; pressure maps linearly to amplitude. Byte counts are for the update messages only.
Guess first, then reveal. The answers come from the same code as the tools above.
MIDI Association, early documents · MIDI news · Android MIDI · MIDI 2.0 on Linux
For 37 years almost nothing touched the two founding numbers. New connectors (USB in 1999, Bluetooth LE in 2014-15, TRS jacks in 2018) carried the same bytes over different wires, and MPE in 2018 reused channels instead of widening anything. MIDI 2.0 is the first revision to make a value bigger. It did that by adding a new packet format, and the old byte stream still runs beside it. The ochre entries at the end are announced but not finished.
In 2013 Smith and Kakehashi shared a Technical Grammy for MIDI. Smith said the two of them had made the design royalty-free so that every manufacturer would adopt it. As one newspaper put it, he never made a dime from it. Kakehashi died in 2017 and Smith in 2022.
Status is as of November 2026. Cards marked "my reading" summarise announcements rather than a published result.
Gareth Loy, "Musicians Make a Standard: The MIDI Phenomenon" (Computer Music Journal 9:4, 1985). Written two years after the spec, by a researcher who could see both its genius and its limits. Loy explains the message set, then asks what a standard designed for keyboard players would cost composers and researchers, and many of his worries about speed and resolution are the ones MIDI 2.0 finally answered.
F. Richard Moore, "The Dysfunctions of MIDI" (Computer Music Journal 12:1, 1988). The classic critique. Moore works through the bandwidth arithmetic on this page, the resolution that continuous gestures need, and the keyboard-centred view of music, and argues that the limits are musical rather than merely technical. Read it beside Section 2's tool and decide how much of his case still stands.
Paul D. Lehrman and Tim Tully, MIDI for the Professional (Amsco, 1993). The long-time college textbook, practical about messages, running status, SysEx and studio setups. Lehrman's free 2017 booklet What is MIDI?, adapted from it, is the quickest good introduction.
The MIDI Association, "The History of MIDI" (midi.org, online). A chapter-by-chapter history built from the early meeting notes, letters and draft specifications, including the 1981 AES paper, the Japanese committee meetings and the first NAMM demonstration. Uneven as prose but rich in primary documents.
Last verified: 2026-11-26
The tools are deliberately simple models with their assumptions stated beside them. Wire arithmetic is exact for MIDI 1.0 on a 5-pin cable; transport overheads are estimates unless the table marks them as measured. Audio runs on Web Audio in your browser and starts only when you tap.
MusicChordsRhythmBluesJazz HarmonySynthesisVoiceSoftwareQueuesPostgresInfrastructureThe GridData CentersEarthHurricanesEarthquakesStartupsFounder Equity