MIDI stands for Musical Instrument Digital Interface. It is a technical standard that lets electronic instruments, computers, and music software talk to each other. The important thing to understand from the start: MIDI does not carry sound. It carries instructions, such as which note to play, how hard, for how long, and with what expression.
Think of MIDI as sheet music for machines. A score is silent until a musician performs it. In the same way, MIDI data is silent until a synthesizer, sampler, or virtual instrument turns it into sound. This is why MIDI explained for beginners often starts with one simple idea: MIDI is data, not audio.
Why MIDI Technology Matters
- Universal compatibility: gear from different brands works together out of the box.
- Fully editable: you can change notes, timing, tempo, or instruments after recording.
- Tiny file size: a complete song can be only a few kilobytes.
- Creative flexibility: the same performance can play as piano, strings, or a synth lead.
A Simple Real-World Example
Plug a MIDI keyboard into your laptop with a USB cable, open your music software, load a piano plugin, and play a chord. If a note lands slightly early, you fix it on screen. If you decide the part sounds better on strings, you swap the instrument with one click. You never re-record a thing. That is MIDI in music production.
History of MIDI
The Problem MIDI Was Created to Solve
In the early 1980s, every synthesizer maker had its own way of connecting instruments. Older analog synths used control voltage and gate signals, while newer digital ones had proprietary interfaces. Connecting a Roland keyboard to a Sequential one was usually impossible, and players ended up surrounded by stacks of keyboards they could not link together.
Development of the MIDI Standard
Dave Smith of Sequential Circuits proposed a universal interface in 1981. Ikutaro Kakehashi of Roland, along with Yamaha, Korg, and Kawai, helped shape it into a shared standard. At the January 1983 NAMM show, a Sequential Prophet-600 was connected to a Roland Jupiter-6, and the two instruments played together. The MIDI 1.0 specification was published later that year.
Key Milestones and Evolution
- 1983: MIDI 1.0 specification released.
- 1988: Standard MIDI File format adopted, making song data portable between devices.
- 1991: General MIDI defined a standard set of 128 instrument sounds.
- 2018: MIDI Polyphonic Expression (MPE) was adopted for more expressive controllers.
MIDI 2.0 and Modern Developments
MIDI 2.0 was announced in January 2020 by the MIDI Manufacturers Association (MMA) and the Association of Musical Electronics Industry (AMEI). It adds higher resolution, two-way communication between devices, and better timing, while staying backward compatible with MIDI 1.0. Operating systems and hardware makers are adding support gradually.
How MIDI Works
Understanding MIDI Data
Every MIDI message is just a few bytes long. The first byte, called the status byte, says what kind of message it is and which channel it belongs to. The following data bytes carry values, usually numbers from 0 to 127. Because the messages are so small, MIDI is fast and efficient.
MIDI Messages Explained
- Channel Voice messages: notes, pitch bend, control changes, program changes, and aftertouch.
- System messages: timing and transport, such as MIDI clock, start, and stop.
- System Exclusive (SysEx): manufacturer-specific data, often used for patch backups and firmware updates.
Note On and Note Off Events
Press a key and the keyboard sends a Note On message containing the note number and velocity. Release it and a Note Off message follows. The length of the note is simply the time between these two events. Note numbers run from 0 to 127, and note 60 is middle C on most systems. If a Note Off is lost, you get a “stuck note” that keeps sounding.
Velocity, Pitch Bend, and Control Changes
- Velocity: how hard a key is struck (1–127). It usually controls volume or brightness.
- Pitch bend: the wheel or lever that slides pitch up and down, sent as a 14-bit value for smooth movement.
- Control Change (CC): knobs, faders, and pedals. For example, CC1 is the mod wheel, CC7 is volume, CC10 is pan, and CC64 is the sustain pedal.
MIDI Channels
A single MIDI connection carries 16 channels. Each channel can control a different instrument, like 16 musicians sharing one stage. In General MIDI, channel 10 is reserved for drums and percussion.
MIDI Specifications
MIDI Standard Overview
MIDI is an open standard maintained by the MMA and AMEI. Manufacturers can build MIDI into their products without paying licensing fees, which is a big reason it became universal.
MIDI Connectivity Options
- 5-pin DIN: the original connection with IN, OUT, and THRU ports, running at 31,250 bits per second.
- USB MIDI: plug-and-play on most computers. Class-compliant devices need no extra drivers.
- Bluetooth LE MIDI: wireless connection to phones, tablets, and computers.
MIDI 1.0 vs MIDI 2.0
- Resolution: MIDI 1.0 uses 7-bit values (128 steps). MIDI 2.0 offers 16-bit velocity and 32-bit controllers for much smoother control.
- Channels: 16 in MIDI 1.0, up to 256 in MIDI 2.0 (16 groups of 16).
- Communication: MIDI 1.0 is one-way. MIDI 2.0 devices can negotiate capabilities using MIDI-CI.
Common Technical Specifications
- 16 channels per connection
- 14-bit pitch bend (0–16383, centre at 8192)
- MIDI clock at 24 pulses per quarter note
What Is Stored Inside a MIDI File?
MIDI File Structure
A Standard MIDI File (SMF) begins with a header chunk that states the file format, the number of tracks, and the timing division. Track chunks follow. There are three formats: Format 0 holds everything on one track, Format 1 holds multiple tracks played together (the most common), and Format 2 holds independent sequences (rare).
Tracks and Events
Each track is a list of events, such as notes, control changes, pitch bends, and program changes. Every event is stamped with a delta time, which tells the player how long to wait after the previous event.
Timing Information
Timing is stored in ticks per quarter note, commonly 480 or 960. Tempo and time signature are saved as meta events. Since timing is relative to tempo, you can speed a song up or slow it down without changing pitch.
Instrument and Controller Data
Files can include program changes and bank selects (which instrument to use), volume and pan settings, sustain pedal data, and text such as track names, lyrics, markers, and key signatures.
What MIDI Files Do Not Store
A MIDI file contains no actual sound, no samples, and no recorded audio. That is why the same file can sound like a grand piano on one device and a cheap toy keyboard on another. The sound always depends on the instrument playing it back.
MIDI Track and Channel Assignment: What Is Standard?
Beginners often ask which track number belongs to which instrument. The honest answer is that MIDI has only a few fixed rules. Most of what people follow in daily work is convention, built up over decades of studio practice. Knowing the difference saves a lot of confusion when you share files or play them on different devices.
MIDI Tracks vs MIDI Channels
A track is a container in your DAW or MIDI file that holds a set of events. A channel is one of the 16 addresses written inside each MIDI message. In a modern DAW, every track usually has its own instrument, so the channel number rarely matters. Channels become important with multitimbral hardware synths, General MIDI playback, and Format 0 files, where everything sits on one track and only the channel separates the parts.
What Is Actually Standardized
- Channel 10 for drums: in General MIDI, channel 10 is reserved for drums and percussion. Software shows it as channel 10, while inside the data it is stored as 9, because counting starts at 0.
- Track 1 as the conductor track: in a Format 1 file, the first track normally holds tempo, time signature, key, and markers, with no notes.
- Fixed instrument order: General MIDI assigns the same 128 sounds to the same program numbers on every compatible device.
- Fixed drum note map: General MIDI places each drum sound on a set note number.
- MPE channel use: in MPE, one channel acts as the master channel and the others carry individual notes, so each note can bend and move independently.
General MIDI Instrument Families
General MIDI groups its 128 programs into 16 families of eight sounds each. This is why a program change to number 1 gives a piano on any GM device.
- Programs 1–8: Piano (1 is Acoustic Grand Piano)
- Programs 9–16: Chromatic Percussion (bells, marimba, vibraphone)
- Programs 17–24: Organ
- Programs 25–32: Guitar (25 is Nylon Acoustic Guitar)
- Programs 33–40: Bass (33 is Acoustic Bass)
- Programs 41–48: Strings (41 is Violin)
- Programs 49–56: Ensemble (string ensembles and choir)
- Programs 57–64: Brass (57 is Trumpet)
- Programs 65–72: Reed (saxophones, oboe, clarinet)
- Programs 73–80: Pipe (74 is Flute)
- Programs 81–88: Synth Lead
- Programs 89–96: Synth Pad
- Programs 97–104: Synth Effects
- Programs 105–112: Ethnic (sitar, banjo, and similar)
- Programs 113–120: Percussive
- Programs 121–128: Sound Effects
General MIDI Drum Map
On channel 10, the note number chooses the drum, not the pitch. These are the most used ones:
- Note 36: Bass drum (kick)
- Note 38: Acoustic snare
- Note 42: Closed hi-hat
- Note 46: Open hi-hat
- Notes 41, 43, 45, 47, 48, 50: Toms, from low to high
- Note 49: Crash cymbal
- Note 51: Ride cymbal
Typical Channel Layout in Practice
Beyond channel 10, no rule says which channel an instrument must use. Still, many producers and arrangers follow a layout similar to this one, so that files stay easy to read:
- Channel 1: piano, main keys, or lead melody
- Channel 2: chords, rhythm guitar, or second keyboard
- Channel 3: bass
- Channel 4: strings or pads
- Channel 5: brass or woodwinds
- Channel 6: solo lead synth or lead instrument
- Channels 7–9: extra layers, arpeggios, and effects
- Channel 10: drums and percussion (fixed in General MIDI)
- Channels 11–16: further layers, extra percussion, or sound effects. General MIDI 2 also allows a second drum channel, usually channel 11.
Common DAW Track Order
In a DAW, the order is purely a workflow choice, but the following is widely used because it mirrors how a band is built from the bottom up:
- Drums and percussion
- Bass
- Chords and rhythm instruments (piano, guitar, keys)
- Lead melody and solo instruments
- Pads, strings, and atmospheres
- Effects, risers, and arpeggios
Good Practices for Track Assignment
- Name every track clearly, such as “Kick”, “Bass”, or “Piano Chords”, and use colors for groups.
- Use one instrument per track in Format 1 files so each part can be edited and muted separately.
- Keep drums on channel 10 if the file might be played on General MIDI devices.
- Put a program change (and bank select, using CC0 and CC32) at the start of each track so the right sound loads.
- Set volume (CC7) and pan (CC10) at the beginning of each part for predictable playback.
- Never put two different instruments on the same channel in one song.
- Keep the tempo track first when exporting, so other software reads the timing correctly.
MIDI vs Digital Audio
MIDI vs audio is one of the most common beginner questions. Audio is a recording of sound waves. MIDI is a set of performance instructions. A vocal take is audio. A piano part played on a MIDI keyboard is MIDI, until you render it through an instrument.
Where MIDI Wins
- Every note, velocity, and timing value can be edited individually.
- You can change instruments, tempo, and key without losing quality.
- Files are extremely small.
Where Audio Wins
- It captures real acoustic sound, including vocals, guitars, and room tone.
- It sounds the same everywhere, with no dependence on a playback instrument.
- It preserves subtle human nuance exactly as performed.
Practical Example
A producer might write a string arrangement in MIDI, tweak it until it is perfect, then bounce it to audio before mixing. Meanwhile, the lead vocal is recorded directly as audio. Most modern tracks combine both.
MIDI in DAWs (Digital Audio Workstations)
A digital audio workstation (DAW) such as Ableton Live, Logic Pro, FL Studio, Cubase, or Reaper is where MIDI sequencing happens for most producers.
MIDI Recording
Arm a MIDI track, select a virtual instrument, and play your MIDI keyboard. The DAW records every note and movement as data. You can also draw notes by hand in the piano roll if you do not play keys.
MIDI Editing
The piano roll lets you move, stretch, delete, and transpose notes. A velocity lane shows how hard each note was played, and you can reshape it to add dynamics.
Quantization
Quantization snaps notes to a rhythmic grid, such as 1/8 or 1/16 notes, to tighten timing. Use it with care. Most producers apply partial quantization or groove settings so the part keeps its human feel.
Virtual Instruments and Plugins
MIDI triggers software instruments in formats like VST, AU, and AAX. These range from synthesizers and drum machines to full orchestral sample libraries. One MIDI part can drive any of them.
Automation and Production Workflow
Control Change data can automate filter sweeps, volume swells, or effect levels. A typical workflow is to sketch ideas in MIDI, refine the performance, choose sounds, and finally bounce to audio for mixing and mastering.
MIDI in Instrument Playing and Live Performance
MIDI Keyboards
A MIDI keyboard is the most popular entry point. Sizes range from compact 25-key models to full 88-key weighted versions. Many also include pads, knobs, and faders, so one device can play and control your DAW.
MIDI Controllers
A MIDI controller is any device that sends MIDI data, whether or not it has keys. Examples include pad controllers for finger drumming, fader boxes for mixing, wind controllers, and guitar-to-MIDI systems. Every MIDI keyboard is a controller, but not every controller is a keyboard.
Electronic Drums
Electronic drum kits send a MIDI note for every pad hit, with velocity based on how hard you strike. In the General MIDI drum map, note 36 is a kick and note 38 is a snare, so drummers can trigger realistic acoustic kits or electronic sounds.
Live Concert Applications
- Switching keyboard patches with program changes.
- Syncing backing tracks and triggering lighting using MIDI clock and show control.
Common Uses of MIDI in the Music Industry
- Music production: writing, arranging, and editing songs of any genre.
- Film scoring: composers build mockups with virtual orchestras before live recording.
- Video game music: MIDI data drives adaptive soundtracks and interactive music systems.
- Live performance: keyboards, drum pads, and lighting controlled from one system.
- Education: piano learning apps and notation software use MIDI to show and check what students play.
- Sound design: MIDI controllers shape synthesizer parameters in real time.
Benefits and Limitations of MIDI
Advantages
- Highly editable and non-destructive
- Small file size and easy sharing
- Controls hardware and software at the same time
Disadvantages
- Cannot capture real sound by itself
- Sound depends on the playback instrument
- MIDI 1.0 has limited resolution
When to Use MIDI
Choose MIDI for keyboards, synths, drums, orchestral mockups, and any part you may want to edit or re-voice later.
When Audio Is a Better Choice
Choose audio for vocals, acoustic guitars, field recordings, and any performance where the exact sound and feel must be preserved.
Frequently Asked Questions About MIDI
What is MIDI in simple words?
MIDI is a language that lets musical devices and software communicate. It sends performance information, like notes and expression, rather than sound.
Is MIDI audio?
No. MIDI contains instructions, not sound. You need a synthesizer or virtual instrument to turn it into audio.
Do I need a MIDI keyboard to make music?
Not strictly. You can draw notes with a mouse in a DAW. But a MIDI keyboard is faster, more natural, and far more expressive.
Can I convert a MIDI file to MP3?
Yes. Play the MIDI through a virtual instrument or synth, then export or bounce the result as audio, and save it as MP3 or WAV.
Is MIDI 2.0 replacing MIDI 1.0?
No. MIDI 2.0 is built to coexist with MIDI 1.0, so existing gear continues to work while newer devices gain extra features.
Who invented MIDI, and when?
MIDI was developed by a group of instrument makers, led mainly by Dave Smith of Sequential Circuits and Ikutaro Kakehashi of Roland. The MIDI 1.0 specification was released in 1983, and it has stayed in use ever since.
How big is a MIDI file compared to an MP3?
A typical MIDI file is only a few kilobytes, even for a full song, because it stores instructions instead of sound. An MP3 at 128 kbps uses roughly 1 MB per minute of music.
How many notes can MIDI play at once?
MIDI itself has no fixed limit on simultaneous notes. The limit comes from the instrument or plugin receiving the data, which is called its polyphony. MIDI only defines 128 note numbers (0–127) and 16 channels in version 1.0.
Is middle C note 60 or something else?
Middle C is note number 60 in almost every system. The confusion is in the name. Some software and instruments call it C3, while others call it C4. If your octaves look shifted between two devices, this naming difference is usually the reason.
Does MIDI have latency?
Yes, but it is very small. A standard three-byte message over a 5-pin DIN cable takes roughly one millisecond to send. In most home studios, the audio buffer size in your DAW causes far more delay than MIDI does.
Do I need a MIDI interface?
Not if your keyboard or controller has USB. It connects straight to your computer. You only need a MIDI interface when you want to connect older gear with 5-pin DIN ports.
What is General MIDI (GM)?
General MIDI is a standard that fixes the instrument order, the drum map, and the use of channel 10 for drums. It makes sure a simple MIDI file sounds similar on any compatible device. Most professional production today uses custom sounds, so GM matters mainly for compatibility and quick playback.
Why does the same MIDI file sound different on different devices?
Because the file only contains instructions. Each device uses its own sounds to play them. A piano on a phone app and a piano in a high-end sample library will sound very different, even though the notes are identical.
What is a program change in MIDI?
A program change tells an instrument which sound to load, such as switching from piano to strings. Combined with bank select messages, it can reach thousands of sounds on modern synths.
What is the difference between MIDI clock and MIDI timecode?
MIDI clock sends 24 pulses per quarter note and follows the tempo, so it suits drum machines and sequencers. MIDI Timecode (MTC) carries real clock time in hours, minutes, seconds, and frames, so it is used for syncing music to video and film.
What is MPE (MIDI Polyphonic Expression)?
MPE gives each note its own channel, so every note can have its own pitch bend, pressure, and slide. It is used with expressive controllers and works with supported synths and plugins.
Can MIDI record guitar or vocals?
Not directly. You need a guitar-to-MIDI system or a pitch-to-MIDI tool that listens to the audio and converts it into notes. It works best with single-note lines and can make mistakes on fast or complex playing.
How do I open or play a MIDI file?
Open it in any DAW, notation program, or MIDI player. Importing it into a DAW lets you assign instruments and edit the notes. Double-clicking it on a computer may play it with a basic built-in sound set.
Are MIDI files of popular songs free to use?
The MIDI standard is free for manufacturers to implement, but that does not make the music free. A MIDI file of a copyrighted song still involves the song’s copyright, so check the license before using or sharing it.
Conclusion
MIDI is the quiet backbone of modern music making. It connects keyboards, drum pads, computers, and software through one simple, reliable language. Whether you are a beginner learning your first DAW or a professional scoring films, understanding MIDI gives you more control over your music.
More than forty years after its debut, MIDI remains an industry standard because it is open, flexible, and adaptable. With MIDI 2.0 and expressive controllers, its future looks just as strong as its past.