EMAIL ME AT THE LAB




| UPDATES | ABOUT ME | CV | WORK | LINKS |

work > MIDI AND STUDIO RECORDING:

_

MIDI basics: decimal, binary & hexadecimal

Computers and synthesizers communicate in the binary number system. Binary numbers consists of ones and zeros.



A single zero or one is called a bit. Computer CPU chips are optimized to process data in 8 bit units (bytes), 16 bit units (words), and 32 bit units (longs). Normal people use the decimal system (base 10) to relate to numbers. Computer programmers use the hexadecimal system (base 16) to relate to numbers. Base sixteen was chosed because it represents multiples of 8 bits that the computer uses to process data.

A comparison of the decimal, binary and hexadecimal systems is shown in the following table.


BINARY
DECIMAL HEXADECIMAL

0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

0H
1H
2H
3H
4H
5H
6H
7H
8H
9H
AH
BH
CH
DH
EH
FH




<PREV 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 NEXT>