General MIDI
From Wikipedia, the free encyclopedia
- This article is about the Synthesizer Specification. For the British DJ, see General Midi (DJ)
General MIDI or GM is a specification for synthesizers which imposes several requirements beyond the more abstract MIDI standard. While MIDI itself provides a protocol which ensures that different instruments can interoperate at a fundamental level (e.g. that pressing keys on a MIDI keyboard will cause an attached MIDI sound module to play musical notes), General MIDI (or GM) goes further in two ways: it requires that all GM-compatible instruments meet a certain minimal set of features, such as being able to play at least 24 notes simultaneously (polyphony), and it attaches certain interpretations to many parameters and control messages which were left unspecified in MIDI, such as defining instrument sounds for each of 128 program numbers.
General MIDI was first standardised in 1991 by the MIDI Manufacturers Association (MMA) and the Japan MIDI Standards Committee (JMSC), and has since been adopted as an addendum to the main MIDI standard. It has largely become a synonym for the acclaimed Roland Sound Canvas module.
Other companies have created their own extensions to the original General MIDI standard, notably Roland GS extensions and Yamaha's XG. GM itself was later revised to become GM Level 2 in 1999 and included some features common to GS and XG.
Contents[hide] |
[edit] Minimal feature requirements
General MIDI Level 1 compatible instruments are required to be able to:
- Allow 24 voices to be active simultaneously (including at least 16 melodic and 8 percussive voices)
- Respond to note velocity
- Support all 16 channels simultaneously (with channel 10 reserved for percussion)
- Support polyphony (multiple simultaneous notes) on each channel
[edit] Parameter interpretations
GM Instruments must also obey the following conventions for program and controller events:
[edit] Program change events
This table shows which instrument sound corresponds to each program change number:
[edit] Melodic sounds
Piano: |
Reed: |
[edit] Percussion notes
Channel 10 is reserved for percussion under General MIDI; this channel always sounds as percussion regardless of whatever program change numbers it may be sent, and different note numbers are interpreted as different instruments:
35 Bass Drum 2 |
59 Ride Cymbal 2 |
[edit] Controller events
GM also specifies which operations should be performed by several controllers:[1][2]
1 Modulation
6 Data Entry MSB
7 Volume
10 Pan
11 Expression
38 Data Entry LSB
64 Sustain
100 RPN LSB
101 RPN MSB
121 Reset all controllers
123 All notes off
[edit] RPN
Setting Registered Parameters requires sending (numbers are decimal):
1) two Control Change messages using Control Numbers 101 and 100 to select the parameter, followed by
2) any number of Data Entry messages of one or two bytes (MSB = Controller #6, LSB = Controller #38), and finally
3) an "End of RPN" message
The following global Registered Parameter Numbers (RPNs) are standardised [1] (the parameter is specified by RPN LSB/MSB pair and the value is set by Data Entry LSB/MSB pair):
0,0 Pitch bend range
1,0 Channel Fine tuning
2,0 Channel Coarse tuning
3,0 Tuning Program Change
4,0 Tuning Bank Select
5,0 Modulation Depth Range
127,127 RPN Null
For example: RPN control sequence to set coarse tuning to A440 (parm 2, value 64):
101:0, 100:2, 6:64, 101:127, 100:127
[edit] System Exclusive messages
Two GM System Exclusive ("SysEx") messages are defined: one to enable and disable General MIDI compatibility, on devices which also allow modes which are not GM-compatible; and the other to modify an instrument's master volume.
[edit] GS extensions
The first GM synthesizer in Roland Sound Canvas line featured a set of extensions to General MIDI standard. The most apparent addition was the ability to address multiple banks of sounds by using additional pair of controllers, cc#0 (Bank Select MSB) and cc#32 (Bank Select LSB), to specify up to 65536 'variation' sounds.
Other most notable features were 9 Drum kits with 14 additional drum sounds each, Control Change messages for controlling the send level of sound effect blocks (cc#91-94), entering additional parameters (cc#98-101), portamento, sostenuto, soft pedal (cc#65-67), and model-specific SysEx messages for setting various parameters of the synth engine.
[edit] General MIDI Level 2
In 1999, the standard was once again updated to include more controllers, patches, RPNs and SysEx messages. Here's a quick overview of the changes in comparison to GM/GS:
- Number of Notes - minimum 32 simultaneous notes
- Simultaneous Percussion Kits - up to 2 (Channels 10/11)
- Additional 128 melodic sounds are included in variation banks, for a total of 256
- 9 GS Drum kits are included
- Additional Control Change messages
- Filter Resonance (Timbre/Harmonic Intensity) (cc#71)
- Release Time (cc#72)
- Brightness/Cutoff Frequency (cc#74)
- Decay Time (cc#75)
- Vibrato Rate (cc#76)
- Vibrato Depth (cc#77)
- Vibrato Delay (cc#78)
- Registered Parameter Numbers (RPNs)
- Modulation Depth Range (Vibrato Depth Range)
- Universal SysEx messages
- Master Volume, Fine Tuning, Coarse Tuning
- Reverb Type, Time
- Chorus Type, Mod Rate, Mod Depth, Feedback, Send to Reverb
- Controller Destination Setting
- Scale/Octave Tuning Adjust
- Key-Based Instrument Controllers
- GM2 System On
Additional melodic instruments can be accessed by setting CC#32 to 121 and then using CC#0 to select the bank before a Program Change. The most expanded group is Acoustic Pianos.