
Not every extension to MIDI is about new messages. The two covered here, Standard MIDI Files and General MIDI, standardize how MIDI data is saved and what it sounds like, which is what makes a MIDI file portable from one program or instrument to another.
In 1988, prompted by an explosion of different types of MIDI software, the MIDI Manufacturers Association (MMA) adopted a standard, transportable file format for saving MIDI sequences and opening them in other programs. Today, for example, a composer may save a Standard MIDI File (the familiar .mid file) created by a notation program and open it in a DAW, which will understand the various parameters of the file, such as track names, tempo changes, etc. In the early days of the web, SMFs were commonplace on web pages (particularly in online greeting cards), since the files were tiny and any computer's sound card could play them. Also, tens of thousands of playable or downloadable SMF performances are available from sites like Classical Archives.
There are three types of Standard MIDI Files, and most programs will give the user a choice when saving as an SMF. Not every program reads all three types, however (Type 2 is rarely supported), so know the capabilities of the programs you are saving for.
Because SMFs are intended to be as universal as possible, they not only contain note information but also include the number of ticks that elapse between events; the file's header sets how many ticks make up a quarter note, so the actual time depends on the tempo. Each event is preceded by this count, its delta-time, which takes one to four bytes, seven bits in each, enough to count past 268 million ticks. Meta-events embedded in a Standard MIDI File hold such things as track names, instrument names, tempo changes, time and key signatures, and lyrics (which allow many karaoke machines to read and display them—seriously!). An SMF can even carry system exclusive data.
Standard MIDI Files remain the common currency for moving music between notation programs, DAWs and hardware. For MIDI 2.0, The MIDI Association and its Japanese counterpart, AMEI, published the MIDI Clip File in 2023, a new format for MIDI 2.0 data that plays the role of a Type 0 file; a companion MIDI Container File is designed to play the role of Type 1.
The fact that users could share Standard MIDI Files did not guarantee that those files would be played back with the same sort of timbres they were made with, whether on instruments, sound cards or computers. So in 1991 the MMA and the Japan MIDI Standards Committee (JMSC) adopted a standard they called General MIDI System Level 1 (or just General MIDI or GM). Each of its 128 program numbers calls up a specific instrument or sound effect, so program 41 is a violin on every GM instrument or sound card.
GM-compliant keyboards and sound cards (and now plug-ins) must also meet other requirements. They need to have a minimum of 24 voices, 16 MIDI channels of variable polyphony, percussion assigned to MIDI channel 10, all 128 programs (selected by Program Change data byte values 0–127) and have support for controllers #1, 7, 10, 11, 64, 121 and 123, velocity, channel pressure and pitch bend (with a default range of ±2 semitones), along with the registered parameters for pitch-bend range and tuning. In addition, percussion maps (which drum sound plays on which key number) were standardized, so if your instrument has several GM drum kits, each follows the GM Percussion Key Map further down this page.
The 128 programs fall into 16 families of eight. Numbers run 1–128, as most instruments display them; the Program Change data byte that selects them runs 0–127, so Violin (41) is sent as 40.
| General MIDI Level 1 Instrument Patch Map with Families | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Piano | Organ | Bass | Ensemble | Reed | Synth Lead | Synth Effects | Percussive | ||||||||
| 1. | Acoustic Grand Piano | 17. | Drawbar Organ | 33. | Acoustic Bass | 49. | String Ensemble 1 | 65. | Soprano Sax | 81. | Lead 1 (square) | 97. | FX 1 (rain) | 113. | Tinkle Bell |
| 2. | Bright Acoustic Piano | 18. | Percussive Organ | 34. | Electric Bass (finger) | 50. | String Ensemble 2 | 66. | Alto Sax | 82. | Lead 2 (sawtooth) | 98. | FX 2 (soundtrack) | 114. | Agogo |
| 3. | Electric Grand Piano | 19. | Rock Organ | 35. | Electric Bass (pick) | 51. | SynthStrings 1 | 67. | Tenor Sax | 83. | Lead 3 (calliope) | 99. | FX 3 (crystal) | 115. | Steel Drums |
| 4. | Honky-tonk Piano | 20. | Church Organ | 36. | Fretless Bass | 52. | SynthStrings 2 | 68. | Baritone Sax | 84. | Lead 4 (chiff) | 100. | FX 4 (atmosphere) | 116. | Woodblock |
| 5. | Electric Piano 1 | 21. | Reed Organ | 37. | Slap Bass 1 | 53. | Choir Aahs | 69. | Oboe | 85. | Lead 5 (charang) | 101. | FX 5 (brightness) | 117. | Taiko Drum |
| 6. | Electric Piano 2 | 22. | Accordion | 38. | Slap Bass 2 | 54. | Voice Oohs | 70. | English Horn | 86. | Lead 6 (voice) | 102. | FX 6 (goblins) | 118. | Melodic Tom |
| 7. | Harpsichord | 23. | Harmonica | 39. | Synth Bass 1 | 55. | Synth Voice | 71. | Bassoon | 87. | Lead 7 (fifths) | 103. | FX 7 (echoes) | 119. | Synth Drum |
| 8. | Clavi | 24. | Tango Accordion | 40. | Synth Bass 2 | 56. | Orchestra Hit | 72. | Clarinet | 88. | Lead 8 (bass + lead) | 104. | FX 8 (sci-fi) | 120. | Reverse Cymbal |
| Chromatic Percussion | Guitar | Strings | Brass | Pipe | Synth Pad | Ethnic | Sound Effects | ||||||||
| 9. | Celesta | 25. | Acoustic Guitar (nylon) | 41. | Violin | 57. | Trumpet | 73. | Piccolo | 89. | Pad 1 (new age) | 105. | Sitar | 121. | Guitar Fret Noise |
| 10. | Glockenspiel | 26. | Acoustic Guitar (steel) | 42. | Viola | 58. | Trombone | 74. | Flute | 90. | Pad 2 (warm) | 106. | Banjo | 122. | Breath Noise |
| 11. | Music Box | 27. | Electric Guitar (jazz) | 43. | Cello | 59. | Tuba | 75. | Recorder | 91. | Pad 3 (polysynth) | 107. | Shamisen | 123. | Seashore |
| 12. | Vibraphone | 28. | Electric Guitar (clean) | 44. | Contrabass | 60. | Muted Trumpet | 76. | Pan Flute | 92. | Pad 4 (choir) | 108. | Koto | 124. | Bird Tweet |
| 13. | Marimba | 29. | Electric Guitar (muted) | 45. | Tremolo Strings | 61. | French Horn | 77. | Blown Bottle | 93. | Pad 5 (bowed) | 109. | Kalimba | 125. | Telephone Ring |
| 14. | Xylophone | 30. | Overdriven Guitar | 46. | Pizzicato Strings | 62. | Brass Section | 78. | Shakuhachi | 94. | Pad 6 (metallic) | 110. | Bag pipe | 126. | Helicopter |
| 15. | Tubular Bells | 31. | Distortion Guitar | 47. | Orchestral Harp | 63. | SynthBrass 1 | 79. | Whistle | 95. | Pad 7 (halo) | 111. | Fiddle | 127. | Applause |
| 16. | Dulcimer | 32. | Guitar harmonics | 48. | Timpani | 64. | SynthBrass 2 | 80. | Ocarina | 96. | Pad 8 (sweep) | 112. | Shanai | 128. | Gunshot |
On MIDI channel 10, each MIDI note number ("Key #") corresponds to a different drum sound, as shown below. GM-compatible instruments must have these sounds on these keys. While many current instruments also have additional sounds above or below the range shown here, and may even have additional "kits" with variations of these sounds, only these 47 sounds are guaranteed on every General MIDI Level 1 device.
GM Level 1 percussion on MIDI channel 10, keys 35–81, highest at the top as in a DAW's drum editor, colored by drum family.
Laid out on a keyboard, the map's logic is easier to see: bass drums and snares sit at the bottom, the three hi-hat sounds share the black keys 42, 44 and 46 (F♯, G♯ and A♯), and the six toms climb the white keys around them, from Low Floor Tom (41) to High Tom (50). The table below gives the same map with each key's pitch.
| General MIDI Level 1 Percussion Key Map (Key # and Pitch; 60 = middle C) | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 35 | B | Acoustic Bass Drum | 45 | A | Low Tom | 55 | G | Splash Cymbal | 65 | F | High Timbale | 75 | D♯ | Claves |
| 36 | C | Bass Drum 1 | 46 | A♯ | Open Hi-Hat | 56 | G♯ | Cowbell | 66 | F♯ | Low Timbale | 76 | E | Hi Wood Block |
| 37 | C♯ | Side Stick | 47 | B | Low-Mid Tom | 57 | A | Crash Cymbal 2 | 67 | G | High Agogo | 77 | F | Low Wood Block |
| 38 | D | Acoustic Snare | 48 | C | Hi-Mid Tom | 58 | A♯ | Vibraslap | 68 | G♯ | Low Agogo | 78 | F♯ | Mute Cuica |
| 39 | D♯ | Hand Clap | 49 | C♯ | Crash Cymbal 1 | 59 | B | Ride Cymbal 2 | 69 | A | Cabasa | 79 | G | Open Cuica |
| 40 | E | Electric Snare | 50 | D | High Tom | 60 | C | Hi Bongo | 70 | A♯ | Maracas | 80 | G♯ | Mute Triangle |
| 41 | F | Low Floor Tom | 51 | D♯ | Ride Cymbal 1 | 61 | C♯ | Low Bongo | 71 | B | Short Whistle | 81 | A | Open Triangle |
| 42 | F♯ | Closed Hi Hat | 52 | E | Chinese Cymbal | 62 | D | Mute Hi Conga | 72 | C | Long Whistle | |||
| 43 | G | High Floor Tom | 53 | F | Ride Bell | 63 | D♯ | Open Hi Conga | 73 | C♯ | Short Guiro | |||
| 44 | G♯ | Pedal Hi-Hat | 54 | F♯ | Tambourine | 64 | E | Low Conga | 74 | D | Long Guiro | |||
The Roland Corporation created a superset of GM Level 1 called GS. GM files will play on a GS instrument or sound card, but GS files may use additional banks of sounds that more specifically capture what a composer had in mind. On a GM-only instrument, a GS file falls back to the standard GM patches. The ubiquitous Roland Sound Canvas modules, beginning with the SC-55 in 1991, were GS instruments; Roland's companion Sound Brush (SB-55) was a floppy-disk SMF player with no sounds of its own. Yamaha answered in 1994 with its own superset, XG, and General MIDI Level 2 later drew on both.
In 1999, the MMA came out with a significant extension of GM called General MIDI Level 2 (or just GM2), which uses Bank Select to reach 256 instrument sounds, adds more drum kits and controllers, and requires 32 voices. The MIDI Association's GM2 page has a complete summary (free membership required to download the specification).
General MIDI in MIDI 2.0
General MIDI had a blind spot: a sequence could send a "GM System On" message (a universal SysEx command), but nothing told it whether the instrument had actually switched to GM. MIDI 2.0's two-way communication fixes that with Profiles, agreed sets of behavior that a device can confirm it supports. In 2024 General MIDI 2 became a pair of Profiles, one for a whole multichannel instrument and one for a single channel, and a Default Drum Note Map Profile, adopted in 2025, carries the GM percussion layout forward. MIDI 2.0 also folds Bank Select into the Program Change message itself, and through Property Exchange an instrument can send its list of patch names to a DAW, so you can pick sounds by name instead of looking up numbers in a chart like the one above.
Related standards followed in the late 1990s and early 2000s: DLS (Downloadable Sounds), a format for loading sampled instruments into a synthesizer so a piece can bring its own sounds, and GM Lite, SP-MIDI (Scalable Polyphony MIDI) and XMF (Extensible Music Format), several of them written for the ringtones of early mobile phones. For these, updated charts and newer additions, check with The MIDI Association; membership is free.
General MIDI is still with us. Windows and macOS each include a built-in GM synthesizer (on Windows, the Microsoft GS Wavetable Synth) whose sound set was licensed from Roland's GS library, which is why a downloaded .mid file plays on almost any computer without extra software. Notation programs also still write GM program numbers into the MIDI files they export, so the right instruments come back on playback.