Msb And Lsb - Kurzweil K2661 Musician’s Reference Manual

Hide thumbs Also See for K2661:
Table of Contents

Advertisement

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.
Hex
Dec
MSB and LSB
The K2661 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 K2661
interprets these bytes as a two-byte pair and not as unrelated bytes. The first byte, called the
most-significant byte (MSB) sets the general range of the value, while the second byte (the least-
significant byte or LSB) sets the specific range. The following table shows several decimal values
and the corresponding MSB-LSB hexadecimal values.
Decimal Value
B-4
F0
07
00
240
7
0
Corresponding
Hexadecimal Value
255
00FF
192
00C0
128
0080
127
007F
64
0040
0
0000
-1
FFFF
-64
FFC0
-127
FF81
-128
FF80
78
1B
2A
120
27
42
Corresponding SysEx Command
MSB
LSB
01
01
01
00
00
00
7F
7F
7F
7F
00
00
32
0
0
50
7F
40
00
7F
40
00
7F
40
01
00
F7
247

Advertisement

Table of Contents
loading

Table of Contents