Chapter 11: Reference Section
251
SYSEX TUTORIAL
• 14-bit Signed 2's Complement Numbers
If the data value is negative, you must first take the 2's complement of
the number: In the case of a 14-bit number this is equivalent to add-
ing 16384 to the original negative value.
To fit the 7-bit MIDI protocol, numbers must be “nibble-ized”.
To get the 14-bit nibble-ized value (of a positive value or a 2's
complemented negative value):
msb = value DIV 128 (divide and ignore the remainder)
lsb = value MOD 128 (divide and use only the remainder)
To go the other way (convert 14 bit signed 2's complement to a signed
real number)
raw Value = (msb*128) + lsb (gives you the unsigned raw value)
if raw Value
≥
8192
(8192 = 2^13)
then signed Value = raw value - 16384
(16384 = 2^14)
Example:
To find the “nibble-ized” Hex value of -127:
1)
-127 + 16384 =
16257
2)
16257
÷
128 =
127 r-1
3)
127 in Hex =
7F
= msb
4)
1 in Hex =
01
= lsb
5)
Parameter value would be transmitted as
01 7F
Example:
To find the “nibble-ized” Hex value of parameter number
257:
1)
257
÷
128 =
2 r-1
2)
2 in Hex =
02
= msb
3)
1 in Hex =
01
= lsb
4)
Parameter number would be transmitted as
01 02
00000000 00000000
{
{
data bits
data bits
Status
Bit
Status
Bit
Status Bit MUST be “0”
in MIDI data bytes.
Summary of Contents for MORPHEUS
Page 10: ...1 Chapter 1 Basic Setup INTRODUCTION BASIC SETUP ...
Page 11: ...Morpheus Operation Manual 2 ...
Page 19: ...Morpheus Operation Manual 10 ...
Page 20: ...Chapter 2 Basic Operation 11 BASIC OPERATION ...
Page 26: ...Chapter 3 Master Menu 17 MASTER MENU ...
Page 27: ...Morpheus Operation Manual 18 ...
Page 30: ...Chapter 3 Master Menu 21 MASTER MENU GLOBAL VELOCITY CURVES ...
Page 36: ...Chapter 4 Midimap Menu 27 MIDIMAP MENU ...
Page 37: ...Morpheus Operation Manual 28 ...
Page 46: ...Chapter 5 Effects Section 37 EFFECTS SECTION ...
Page 47: ...Morpheus Operation Manual 38 ...
Page 66: ...Chapter 6 Hyperpreset Menu 57 HYPERPRESET MENU ...
Page 67: ...Morpheus Operation Manual 58 ...
Page 76: ...Chapter 7 Preset Programming 67 PRESET PROGRAMMING PRESET PROGRAMMING ...
Page 77: ...Morpheus Operation Manual 68 PRESET PROGRAMMING ...
Page 93: ...Chapter 7 Preset Programming 83 PRESET PROGRAMMING ...
Page 109: ...Chapter 8 Preset Menu 99 PRESET MENU ...
Page 110: ...Morpheus Operation Manual 100 ...
Page 138: ...Morpheus Operation Manual 128 ...
Page 139: ...Chapter 9 Copy Menu 129 COPY MENU COPY MENU ...
Page 140: ...Morpheus Operation Manual 130 COPY MENU ...
Page 147: ...Chapter 10 Step by Step 137 STEP BY STEP STEP BY STEP ...
Page 148: ...Morpheus Operation Manual 138 STEP BY STEP ...
Page 171: ...Chapter 11 Reference Section 161 REFERENCE SECTION ...