B-4
SysEx Control of KDFX
MSB and LSB
HereÕs an example, which sets a value of 50% for the Wet/Dry mix of the effect on the Aux bus.
WeÕve included both hexadecimal and decimal values.
MSB and LSB
The K2600 can accept either unsigned (positive only) or signed (positive and negative) values.
Unsigned values can range from 0 to 255, and signed values can range from -128 to 127. Both of
these ranges require eight bits of MIDI information. Since each byte of MIDI information
contains only 7 meaningful bits, you need two bytes to send eight bits of information. The K2600
interprets these bytes as a two-byte pair and not as unrelated bytes. The Þrst byte, called the
most-signiÞcant byte (MSB) sets the general range of the value, while the second byte (the least-
signiÞcant byte or LSB) sets the speciÞc range. The following table shows several decimal values
and the corresponding MSB-LSB hexadecimal values.
Start
Manufacturer ID
Unit ID
Product ID
Message Type
Device Selection
Parameter Selection
Value MSB
Value LSB
End
HexF00700781B2A000032F7
Dec 240 7 0 120 27 42 0 0 50 247
Decimal Value
Corresponding
Hexadecimal Value
Corresponding SysEx Command
MSB LSB
255 00FF 01 7F
192 00C0 01 40
128 0080 01 00
127 007F 00 7F
64 0040 00 40
0 0000 00 00
-1 FFFF 7F 7F
-64 FFC0 7F 40
-127 FF81 7F 01
-128 FF80 7F 00