MIDI Table

This table defines some messages that are legal for MIDIMESSAGE.

Command NameStatus ByteData Byte 1Data Byte 2
Note Off128 + Channel0-127 Pitch0-127 Velocity
Note On144 + Channel0-127 Pitch0-127 Velocity
Poly Pressure160 + Channel0-127 Pitch0-127 Pressure
Control Change176 + Channel0 Undefined0-127 MSB
Control Change176 + Channel1 Modulation Wheel0-127 MSB
Control Change176 + Channel2 Breath Controller0-127 MSB
Control Change176 + Channel3 After Touch0-127 MSB
Control Change176 + Channel4 Foot Controller0-127 MSB
Control Change176 + Channel5 Portamento Time0-127 MSB
Control Change176 + Channel6 Data Entry0-127 MSB
Control Change176 + Channel7 Main Volume0-127 MSB
Control Change176 + Channel8-31 Undefined0-127 MSB
Control Change176 + Channel32-63 LSB of 0-310-127 MSB
Control Change176 + Channel64 Damper Pedal0:off 127:on
Control Change176 + Channel65 Portamento0:off 127:on
Control Change176 + Channel66 Sostenuto0:off 127:on
Control Change176 + Channel67 Soft Pedal0:off 127:on
Control Change176 + Channel68-92 Undefined0:off 127:on
Control Change176 + Channel93 Chorus0:off 127:on
Control Change176 + Channel94 Celeste0:off 127:on
Control Change176 + Channel95 Phaser0:off 127:on
Control Change176 + Channel96 Data Entry + 10:off 127:on
Control Change176 + Channel97 Data Entry - 10:off 127:on
Control Change176 + Channel98-121 Undefined0:off 127:on
Control Change176 + Channel122 Local Control0-127
Control Change176 + Channel123 All Notes Off0
Control Change176 + Channel124 Omni Mode off0-15
Control Change176 + Channel125 Omni Mode on0
Control Change176 + Channel126 Mono on/Poly off0
Control Change176 + Channel127 Poly on/Mono off0
Program Change192 + Channel0-127 ProgramNot used
Channel Pressure208 + Channel0-127 PressureNot used
Pitch Wheel224 + Channel0-127 LSB0-127 MSB
System Exclusive2400-127 Id CodeAny number of bytes
Undefined241Not usedNot used
Song Position2420-127 LSB0-127 MSB
Song Select2430-127 SongNot used
Undefined244Not usedNot used
Undefined245Not usedNot used
Tune Request246Not usedNot used
End of Exclusive247Not usedNot used
Timing Clock248Not usedNot used
Undefined249Not usedNot used
Start250Not usedNot used
Continue251Not usedNot used
Stop252Not usedNot used
Undefined253Not usedNot used
Active Sensing254Not usedNot used
System Reset255Not usedNot used


SourceForge.net Logo