Appendix b: midi protocol specification, Midi message formats – Leprecon LP-X24 Manual v3.2 User Manual
Page 215
LP-X24 and LP-X48 Users Manual
Appendix B:
MIDI Protocol Specification
MIDI Message Formats
MIDI System Reset Message
Message Type
Function Byte 1
SYSTEM RESET
0xff (255)
MIDI Controller Channel Messages
Because MIDI restricts the Controller Channels to a range of 0-127, and the LP-X has
channels with values greater than 127, the LP-X extends the channel range by defining
a Controller Channel message that sets the high order channel. This High Controller
Channel message need only be sent after a SYSTEM RESET message or when the
high order channel changes. The LP-X saves the high order channel and uses it with
subsequent Controller Channel messages to create the referenced Extended Controller
Channel. A Controller Channel value of 127 in Byte 2 indicates a High Controller
Channel message and the byte 3 value of the message is the new High Order Channel.
The Controller Channel message sets the value of the referenced Extended Controller
Channel.
Message
Type
Function Byte 1
Controller Channel Byte 2
Value Byte 3
Controller
Channel
0xB0 (176) +
MIDI Channel (0-15)
0-126 = Low order controller
channel
0-127 =
value / 2
High
Controller
Channel
0xB0 (176) +
MIDI Channel (0-15)
127 = Set High Order Channel
0-127 = High
order channel
Note: After the LP-X receives a System Reset message it clears its High Order Channel
value and will send an High Controller Channel message before sending the first
Controller Channel message. The sending MIDI Controller should send a High Controller
Channel message before sending the first Controller Channel message.
The Controller Channel (byte 2) is the low order channel value. The actual extended
controller channel referenced by the message is:
Extended Channel = ((Last High Order Channel) * 127) + Low Order Channel)