A structured introduction to Musical Instrument Digital Interface (MIDI): fundamentals, history, musical sequencing, performance control, hardware, software, MIDI 2.0, and expressive techniques.
MIDI Files & Formats
MIDI files store performances as instructions, not audio: which notes, when, how hard, and on which instrument. Knowing the formats keeps your work portable between DAWs, hardware and decades.
Formats
Standard MIDI Files (SMF, .mid)
Time-stamped MIDI events include meta-events such as tempo, time signature, key, and track names: Type 0 merges everything into one track; Type 1 preserves simultaneous tracks; Type 2 contains independent patterns.
A standard program map of 128 instrument sounds plus a percussion layout on MIDI channel 10 helps compatible devices reproduce MIDI arrangements with approximately corresponding instruments.
System Exclusive (SysEx, .syx)
Manufacturer-specific messages beginning with F0 and ending with F7 can store synthesizer patches, settings, and other device data, often exchanged using MIDI librarian software.
MIDI Clip File (SMF2) / Universal MIDI Packet
The MIDI 2.0-era clip-file format stores Universal MIDI Packets so a file can hold both MIDI 1.0 and MIDI 2.0 messages.
Understanding MIDI files (Ableton)
A plain-language explanation of Type 0 files (everything on one track) versus Type 1 files (each part on its own track), and how DAWs import them.
MIDI Clip File Specification (MIDI 2.0)
The 2023 file format that stores MIDI 1.0 and MIDI 2.0 data as Universal MIDI Packets, the successor to the Type 0 Standard MIDI File.
The 1999 extension of General MIDI with more sounds, drum kits and standardized controllers, so files play back more consistently across devices.
The standard file format for exchanging sheet music between notation programs. Unlike a MIDI file, it keeps notation details such as clefs, beams, ties and lyrics.
The MIDI specification for sending microtunings and alternate scales to instruments, often saved and shared as SysEx (.syx) files.
Scala scale file format (.scl)
The widely used text format for tuning files, supported by many synths and plugins for microtonal and historical tunings.
Reading and writing MIDI files with Mido (Python)
Documentation for opening, editing and saving Standard MIDI Files from Python, with a clear look at tracks, messages and delta times.
Videos — Formats
Practice
Import/export exercise
Export a performance as a Type 1 MIDI file, import it into a second DAW, and compare the tempo map, track names, program changes, and controller data.
Back up a synth over SysEx
Request a patch dump from a hardware synthesizer, save it as a .syx file, and send it back using a MIDI librarian.
