A MIDI file holding a full orchestral score is often smaller than the photo you take of its printed pages. That is not a compression trick. The file contains no sound at all.
The player-piano analogy
A player piano reads a paper roll punched with holes: this key, at this moment, held this long. The roll is not music; the piano is. MIDI is the roll. A .mid file is a sequence of instructions, and whatever synthesizer plays them decides how it sounds. Load the same file on a phone and in a studio rack, and you get two performances of one score.
What is actually in a message
MIDI messages are small packets of numbers, sent over 16 channels per port:
| Message | Carries |
|---|---|
| Note On / Off | which pitch (0-127), how hard (velocity 1-127) |
| Control Change | knobs: volume (CC7), pan (CC10), sustain pedal (CC64) |
| Program Change | switch to a different patch |
| Pitch bend / aftertouch | continuous expression while a note holds |
| Clock | tempo and start/stop, for syncing devices |
General MIDI standardizes 128 instrument sounds and reserves channel 10 for drums, which is why a GM file plays roughly the same everywhere. Velocity 0 in a Note On message means Note Off — a byte-saving convention from 1983 that every device still honors.
MIDI versus audio
An audio recording captures the result: the exact waveform, fixed forever. A MIDI file captures the decisions: tempo, notes, dynamics, articulation. That means you can slow a MIDI performance to half speed with no artifacts, transpose it, or fix one wrong note — edits that cost real quality on audio. The trade is portability of sound. MIDI has none of its own; it depends entirely on the instrument library playing it.
Why it is still everywhere
MIDI (Musical Instrument Digital Interface), standardized in 1983, remains the language between keyboards, controllers, DAWs, and stage gear. MIDI 2.0, announced in 2020, adds 16-bit velocity and per-note control, but the original 7-bit messages still run the show. A MIDI keyboard with no built-in sounds is a controller, not an instrument — plug it in and it commands something else to sing.
Keep both: a .mid is a score you can re-perform, and an audio file is one performance frozen in place. Archive the score.