Roland SH-201 Midi Implementation Manual page 8

Roland sh-201: supplementary guide
Hide thumbs Also See for SH-201:
Table of Contents

Advertisement

SH-201 MIDI Implementation
<Example2> Getting the data (RQ1) of PATCH DELAY in USER
PATCH:003
According to the "Parameter Address Map" (p. 4), the start address of PATCH:003 is 20 02
00 00H, and the offset address of PATCH MFX is 00 02 00H.
Therefore the start address of PATCH DELAY in USER PATCH:003 is;
20 02 00 00H
+)
00 03 00H
20 02 03 00H
As the size of PATCH DELAY is 00 00 00 05H, the system exclusive message should be sent
is;
F0
41
10
00 00 16
11
(1)
(2)
(3)
(4)
(5)
(1) Exclusive Status
(2) ID (Roland)
(4) Model ID (SH-201)
(5) Command ID (RQ1)
Then calculate the checksum.
20H + 02H + 02H + 00H + 00H + 00H + 01H + 04H = 32 + 2 + 3 + 0 + 0 + 0 + 0 + 5 = 42 (sum)
42 (sum) ÷ 128 = 0 (quotient) ... 42 (remainder)
checksum = 128 - 42 (remainder) = 86 = 56H
This means that F0 41 10 00 00 16 11 20 02 03 00 00 00 00 05 56 F7 is the message should be
sent.
<Example3> Getting Temporary Patch data (RQ1)
According to the "Parameter Address Map" (p. 4), the start address of Temporary Patch is
assigned as following:
10 00 00 00
The offset address of Patch is also assigned as follows:
00 00 00
:
00 01 00
:
00 02 00
:
00 03 00
:
00 04 00
:
00 05 00
:
00 06 00
:
00 15 00
As the data size of Patch Arpeggio Pattern is 00 00 00 42H, summation of the size and the
start address of Temporary Patch Arpeggio Pattern (Note 16) will be;
10 00 00 00H
00 00 15 00H
+) 00 00 00 42H
10 00 15 42H
And the size that have to be got should be;
10 00 15 42H
-) 10 00 00 00H
00 00 15 42H
Therefore the system exclusive message should be sent is;
F0
41
10
00 00 16
11
(1)
(2)
(3)
(4)
(5)
(1) Exclusive Status
(2) ID (Roland)
(4) Model ID (SH-201)
(5) Command ID (RQ1)
Calculating the checksum as shown in <Example 2>, we get a message of F0 41 10 00 00 16
11 10 00 00 00 00 00 15 42 19 F7 to be transmitted.
8
20 02 03 00 00 00 00 05
??
address
data
checksum
(3) Device ID (17)
(6) End of Exclusive
Temporary Patch
Patch Common
Patch Tone (1:Upper)
Patch Tone (2:Lower)
Patch Delay
Patch Reverb
Patch Arpeggio Common
Patch Arpeggio Pattern (Note 1)
Patch Arpeggio Pattern (Note 16)
10 00 00 00 00 00 15 42
??
address
data
checksum
(3) Device ID (17)
(6) End of Exclusive
■ ASCII Code Table
Patch Name and Performance Name, etc., of MIDI data are described the ASCII
code in the table below.
+——————+——————+——————++——————+——————+——————++——————+——————+——————+
|
D
|
H
| Char ||
+——————+——————+——————++——————+——————+——————++——————+——————+——————+
|
32 |
20H |
|
33 |
21H |
|
34 |
22H |
|
35 |
23H |
|
36 |
24H |
|
37 |
25H |
|
38 |
26H |
|
39 |
27H |
|
40 |
28H |
|
41 |
29H |
F7
|
42 |
2AH |
(6)
|
43 |
2BH |
|
44 |
2CH |
|
45 |
2DH |
|
46 |
2EH |
|
47 |
2FH |
|
48 |
30H |
|
49 |
31H |
|
50 |
32H |
|
51 |
33H |
|
52 |
34H |
|
53 |
35H |
|
54 |
36H |
|
55 |
37H |
|
56 |
38H |
|
57 |
39H |
|
58 |
3AH |
|
59 |
3BH |
|
60 |
3CH |
|
61 |
3DH |
|
62 |
3EH |
|
63 |
3FH |
+——————+——————+——————++——————+——————+——————+
D: decimal
H: hexadecimal
* "SP" is space.
F7
(6)
D
|
H
| Char ||
SP
||
64 |
40H |
@
||
!
||
65 |
41H |
A
||
"
||
66 |
42H |
B
||
#
||
67 |
43H |
C
||
$
||
68 |
44H |
D
||
%
||
69 |
45H |
E
||
&
||
70 |
46H |
F
||
`
||
71 |
47H |
G
||
(
||
72 |
48H |
H
||
)
||
73 |
49H |
I
||
*
||
74 |
4AH |
J
||
+
||
75 |
4BH |
K
||
,
||
76 |
4CH |
L
||
||
77 |
4DH |
M
||
.
||
78 |
4EH |
N
||
/
||
79 |
4FH |
O
||
0
||
80 |
50H |
P
||
1
||
81 |
51H |
Q
||
2
||
82 |
52H |
R
||
3
||
83 |
53H |
S
||
4
||
84 |
54H |
T
||
5
||
85 |
55H |
U
||
6
||
86 |
56H |
V
||
7
||
87 |
57H |
W
||
8
||
88 |
58H |
X
||
9
||
89 |
59H |
Y
||
:
||
90 |
5AH |
Z
||
;
||
91 |
5BH |
[
||
<
||
92 |
5CH |
\
||
=
||
93 |
5DH |
]
||
>
||
94 |
5EH |
^
||——————+——————+——————+
?
||
95 |
5FH |
_
|
D
|
H
| Char |
96 |
60H |
`
|
97 |
61H |
a
|
98 |
62H |
b
|
99 |
63H |
c
|
100 |
64H |
d
|
101 |
65H |
e
|
102 |
66H |
f
|
103 |
67H |
g
|
104 |
68H |
h
|
105 |
69H |
i
|
106 |
6AH |
j
|
107 |
6BH |
k
|
108 |
6CH |
l
|
109 |
6DH |
m
|
110 |
6EH |
n
|
111 |
6FH |
o
|
112 |
70H |
p
|
113 |
71H |
q
|
114 |
72H |
r
|
115 |
73H |
s
|
116 |
74H |
t
|
117 |
75H |
u
|
118 |
76H |
v
|
119 |
77H |
w
|
120 |
78H |
x
|
121 |
79H |
y
|
122 |
7AH |
z
|
123 |
7BH |
{
|
124 |
7CH |
|
|
125 |
7DH |
}
|

Advertisement

Table of Contents
loading

Table of Contents