These are the General MIDI instrument patch numbers. Remember that the 128 GM instruments must be zero based (0-127) in MIDI messages.
Use velocity (data byte 2) to create individual note accents and to create rhythmic drive that defines the metre.
Use the Expression Control (CC 11) to create dynamics (crescendo - decrescend0) within phrases (groups of notes) for a single instrument (MIDI channel). This should be your primary means of creating dynamics in a single track.
Use the Volume Control (CC 7) to balance the relative volume of of each track. Volume messages should always appear at the beginning of every track and may be used sparingly later.
Message | Status | Data 1 | Data 2 | Notes |
NOF (Note Off) | $80 + channel | 0-127 MIDI Note Number |
0-127 Velocity |
Use zero. Preferred NOF message. |
NON (Note On) | $90 + channel | 0-127 MIDI Note Number |
0-127 Velocity |
0 ( alternative NOF message) 127 is fff |
Volume | $B0 + channel | 7 Control Message for Volume |
0-127 Volume level |
0 is silence 127 is fff |
Expression | $B0 + channel | 11 Control Message for Expression |
0-127 | 0 is silence 127 is fff |
Pan | $B0 + channel | 10 Control Message for right left stereo Pan |
0-127 | 0 is hard left 64 is center 127 is hard right |
Sustain Pedal | $B0 + channel | 64 Control Message for Sustain |
0-127 | Use 0 for Off |
Reset All Controllers | $B0 + channel | 121 Control Message for Reset All Controllers |
0 | Upon receipt of Reset All Controllers message (Controller #121) the following actions are taken for the specified MIDI channel: Set Expression (#11) to 127 |
All Sound Off | $B0 + channel | 120 | 0 | |
All Notes Off | $B0 + channel | 123 | 0 | |
Patch Change | $C0 + channel | 0-127 General MIDI Instrument Numbers |
MIDIDisplay = 0 SMF = not present |
MIDIDisplay does it wrong. It was easier to program if data 2 = 0. The MIDI Standard defines the Patch Change command as using only the status and data1 bytes. In a SMF data2 should not be used. |
Refer to Unit 4, Unit 5, Unit 6, and the Reference page for more information.
page for additional references.
Revised John Ellinger, January - September 2013