![background image](http://html.mh-extra.com/html/e-mu/ultraproteus/ultraproteus_operation-manual_518577298.webp)
277
Chapter 11: Reference Section
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 adding 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 r1
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
r1
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.
Содержание Ultraproteus
Страница 1: ......
Страница 11: ...Chapter 1 Basic Setup 1 UltraProteus INTRO BASIC SETUP ...
Страница 12: ...UltraProteus Operation Manual 2 ...
Страница 20: ...UltraProteus Operation Manual 10 ...
Страница 21: ...11 Chapter 2 Basic Operation UltraProteus BASIC OPERATION ...
Страница 27: ...27 Chapter 4 Midimap Menu UltraProteus MIDIMAP MENU ...
Страница 28: ...28 UltraProteus Operation Manual ...
Страница 37: ...37 Chapter 5 Effects Section UltraProteus EFFECTS SECTION ...
Страница 38: ...38 UltraProteus Operation Manual ...
Страница 57: ...37 Chapter 5 Effects Section UltraProteus EFFECTS SECTION ...
Страница 58: ...38 UltraProteus Operation Manual ...
Страница 77: ...57 Chapter 6 Hyperpreset Menu UltraProteus HYPERPRESET MENU ...
Страница 78: ...58 UltraProteus Operation Manual ...
Страница 87: ...83 Chapter 7 Preset Programming PRESET PROGRAMMING ...
Страница 103: ...67 Chapter 7 Preset Programming PRESET PROGRAMMING UltraProteus PRESET PROGRAMMING ...
Страница 104: ...68 UltraProteus Operation Manual PRESET PROGRAMMING ...
Страница 120: ...99 Chapter 8 Preset Menu UltraProteus PRESET MENU ...
Страница 121: ...100 UltraProteus Operation Manual ...
Страница 149: ...128 UltraProteus Operation Manual ...
Страница 150: ...129 Chapter 9 Copy Menu COPY MENU UltraProteus COPY MENU ...
Страница 151: ...130 UltraProteus Operation Manual COPY MENU ...
Страница 158: ...137 Chapter 10 Step by Step STEP BY STEP UltraProteus STEP BY STEP ...
Страница 159: ...138 UltraProteus Operation Manual STEP BY STEP ...
Страница 307: ...286 UltraProteus Operation Manual NOTES ...