Supplementary Material; Decimal And Hexadecimal Table - Roland FP-4 Midi Implementation Manual

Roland fp-4: supplementary guide
Hide thumbs Also See for FP-4:
Table of Contents

Advertisement

MIDI Implementation
●Bulk Dump Parameters [FP-4]
Setup
These messages are transmitted when Bulk Dump SETUP function is executed.
Data set 1 DT1
Status
Data byte
F0H
41H, dev, 00H, 60H, 12H, aaH, bbH, F7H
ccH, ddH, eeH, ... ffH, sum
Byte
Explanation
F0H
Exclusive status
41H
ID number (Roland)
dev
Device ID (dev: 00H - 1FH, Initial value is 10H)
00H
Model ID #1 (FP-5)
00H
Model ID #2 (FP-5)
1BH
Model ID #2 (FP-5)
12H
Command ID (DT1)
aaH
Address MSB: upper byte of the starting address of the data to be sent
bbH
Address: upper middle byte of the starting address of the data to be sent
ccH
Address: lower middle byte of the starting address of the data to be sent
ddH
Address LSB: lower byte of the starting address of the data to be sent.
eeH
Data: the actual data to be sent. Multiple bytes of data are transmitted in
order starting from the address.
: :
ffH
Data
sum
Checksum
F7H
EOX (End Of Exclusive)
+.................................................................+
| Offset
|
| Address
| Description
|...........+.....................................................|
| 30 00 00
| Setup 1
| 30 01 00
| Setup 2
| 30 02 00
| Setup 3
| 30 03 00
| Setup 4
| 30 04 00
| Setup 5
| 30 05 00
| Setup 6
| 30 06 00
| Setup 7
| 30 00 00
| Setup 8
| 30 00 00
| Setup 9
| 30 00 00
| Setup 10
| 30 00 00
| Setup 11
| 30 00 00
| Setup 12
| 30 00 00
| Setup 13
| 30 00 00
| Setup 14
| 30 00 00
| Setup 15
| 30 00 00
| Setup 16
| 30 00 00
| Setup 17
| 30 00 00
| Setup 18
| 30 00 00
| Setup 19
| 30 00 00
| Setup 20
| 30 00 00
| Setup 21
| 30 00 00
| Setup 22
| 30 00 00
| Setup 23
| 30 00 00
| Setup 24
+...........+.....................................................+
14
Status
|
| Size
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |
| 00 00 00 |

4. Supplementary material

●Decimal and Hexadecimal table
In MIDI documentation, data values and addresses/sizes of exclusive messages etc. are
expressed as hexadecimal values for each 7 bits.
The following table shows how these correspond to decimal numbers.
+——————+——————++——————+——————++——————+——————++——————+——————+
| Dec. | Hex. || Dec .| Hex. || Dec. | Hex. || Dec. | Hex. |
+——————+——————++——————+——————++——————+——————++——————+——————+
|
0 |
00H ||
|
1 |
01H ||
|
2 |
02H ||
|
3 |
03H ||
|
4 |
04H ||
|
5 |
05H ||
|
6 |
06H ||
|
7 |
07H ||
|
8 |
08H ||
|
9 |
09H ||
|
10 |
0AH ||
|
11 |
0BH ||
|
12 |
0CH ||
|
13 |
0DH ||
|
14 |
0EH ||
|
15 |
0FH ||
|
16 |
10H ||
|
17 |
11H ||
|
18 |
12H ||
|
19 |
13H ||
|
20 |
14H ||
|
21 |
15H ||
|
22 |
16H ||
|
23 |
17H ||
|
24 |
18H ||
|
25 |
19H ||
|
26 |
1AH ||
|
27 |
1BH ||
|
28 |
1CH ||
|
29 |
1DH ||
|
30 |
1EH ||
|
31 |
1FH ||
|
+——————+——————++——————+——————++——————+——————++——————+——————+
|
* Decimal values such as MIDI channel, bank select, and program change are listed as one
(1) greater than the values given in the above table.
* A 7-bit byte can express data in the range of 128 steps. For data where greater precision
is required, we must use two or more bytes. For example, two hexadecimal numbers aa
bbH expressing two 7-bit bytes would indicate a value of aa x 128 + bb.
* In the case of values which have a +/- sign, 00H = -64, 40H = +/- 0, and 7FH = +63, so
that the decimal expression would be 64 less than the value given in the above chart. In
the case of two types, 00 00H = -8192, 40 00H = +/- 0, and 7F 7FH = +8191. For example if
aa bbH were expressed as decimal, this would be aa bbH - 40 00H = aa x 128 + bb - 64 x
128.
* Data marked "nibbled" is expressed in hexadecimal in 4-bit units. A value expressed as a
2-byte nibble 0a 0bH has the value of a x 16 + b.
<Example1> What is the decimal expression of 5AH ?
From the preceding table, 5AH = 90
<Example2> What is the decimal expression of the value 12 34H given as
hexadecimal for each 7 bits?
From the preceding table, since 12H = 18 and 34H = 52
18 x 128 + 52 = 2356
<Example3> What is the decimal expression of the nibbled value 0A 03
09 0D ?
From the preceding table, since 0AH = 10, 03H = 3, 09H = 9, 0DH = 13
((10 x 16 + 3) x 16 + 9) x 16 + 13 = 41885
<Example4> What is the nibbled expression of the decimal value 1258?
16) 1258
---------
16)
78... 10
---------
16)
4... 14
---------
0...
4
Since from the preceding table, 0 = 00H, 4 = 04H, 14 = 0EH, 10 = 0AH, the answer is 00 04 0E
0AH.
32 |
20H ||
64 |
40H ||
33 |
21H ||
65 |
41H ||
34 |
22H ||
66 |
42H ||
35 |
23H ||
67 |
43H ||
36 |
24H ||
68 |
44H ||
37 |
25H ||
69 |
45H ||
38 |
26H ||
70 |
46H ||
39 |
27H ||
71 |
47H ||
40 |
28H ||
72 |
48H ||
41 |
29H ||
73 |
49H ||
42 |
2AH ||
74 |
4AH ||
43 |
2BH ||
75 |
4BH ||
44 |
2CH ||
76 |
4CH ||
45 |
2DH ||
77 |
4DH ||
46 |
2EH ||
78 |
4EH ||
47 |
2FH ||
79 |
4FH ||
48 |
30H ||
80 |
50H ||
49 |
31H ||
81 |
51H ||
50 |
32H ||
82 |
52H ||
51 |
33H ||
83 |
53H ||
52 |
34H ||
84 |
54H ||
53 |
35H ||
85 |
55H ||
54 |
36H ||
86 |
56H ||
55 |
37H ||
87 |
57H ||
56 |
38H ||
88 |
58H ||
57 |
39H ||
89 |
59H ||
58 |
3AH ||
90 |
5AH ||
59 |
3BH ||
91 |
5BH ||
60 |
3CH ||
92 |
5CH ||
61 |
3DH ||
93 |
5DH ||
62 |
3EH ||
94 |
5EH ||
63 |
3FH ||
95 |
5FH ||
96 |
60H |
97 |
61H |
98 |
62H |
99 |
63H |
100 |
64H |
101 |
65H |
102 |
66H |
103 |
67H |
104 |
68H |
105 |
69H |
106 |
6AH |
107 |
6BH |
108 |
6CH |
109 |
6DH |
110 |
6EH |
111 |
6FH |
112 |
70H |
113 |
71H |
114 |
72H |
115 |
73H |
116 |
74H |
117 |
75H |
118 |
76H |
119 |
77H |
120 |
78H |
121 |
79H |
122 |
7AH |
123 |
7BH |
124 |
7CH |
125 |
7DH |
126 |
7EH |
127 |
7FH |

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp-7

Table of Contents