Peavey PC1600X User Manual page 52

Midi command station
Table of Contents

Advertisement

But how is the value of binary numbers determined? Check out the chart above, and then look at the sample
below:
0000 0000 = 0
0000 0001 = 1
0000 0010 = 2
0000 0100 = 4
0000 1000 = 8
0000 1111 = 15
1111 1111 = 256 (128 + 64 + 32 + 16 + 8 + 4 + 2 + 1)
You might have noticed that there are 256 possible values from a byte (all "On" = 256, all "Off" = 0). By
the way, 4 bits or half a byte is known as a "nibble" (see, computer folks have a sense of humor). How many
values are possible with a nibble: you got it 16! (all "On" = 15, all "Off" = 0).
simply adding or subtracting them is problematic. Converting decimal to binary isn't much fun either.
Quick...
what's the binary letter for 148 see what I mean? (BTW.. 1001 0100 (128+16+41).
Fortunately there is a number system that makes dealing with binary much easier:
Hexadecimal
With hexadecimal, you can work with one nibble at a time, which greatly simplifies conversion. Instead of
the ten values used in decimal notation, hexadecimal uses sixteen. Hmm, That should ring a bell... yes, a
nibble can represent up to 16 values. After the familiar 0 thru 9, hexadecimal uses the letters A thru F to
represent 10 thru 15, Check out the chart featuring hex and s=decimal equivalents.
Hexadecimal:
0
1
2
3
0
1
2
3
Decimal:
Hexadecimal:
10
11
12
13
16
17
18
19
Decimal:
So...
20 (TWENTY) IN DECIMAL IS EQUIVALENT TO 14 (ONE-FOUR) IN HEX! Keep in mind that the
largest hex number available from two digits is FF (255). Note: it is common to use symbols to identify
hexadecimal numbers.
Examples:
7F include:
7Fh, 7FH, $7F, 0x7F
4
5
6
7
4
5
6
7
14
15
16
17
20
21
22
232 24
Peavey PC1600X User Manual (rev-h)
8
9
A
B
8
9
10
11
18
19
1A
1B
25
26
27
52
C
D
E
F
12
13
14
15
1C
1D
1E
1F
28
29
30
31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents