Roland JUNO-STAGE Mode D'emploi page 242

Table des Matières

Publicité

Implémentation MIDI
IExample of an Exclusive Message and
Calculating a Checksum
Roland Exclusive messages (RQ1, DT1) are transmitted with a checksum at the end (before
F7) to make sure that the message was correctly received. The value of the checksum is
determined by the address and data (or size) of the transmitted Exclusive message.
GHow to calculate the checksum
(hexadecimal numbers are indicated by "H")
The checksum is a value derived by adding the address, size, and checksum itself and
inverting the lower 7 bits.
Here's an example of how the checksum is calculated. We will assume that in the Exclusive
message we are transmitting, the address is aabbccddH and the data or size is eeffH.
aa + bb + cc + dd + ee + ff = sum
sum ÷ 128 = quotient ... remainder
128 - remainder = checksum
<Example> Setting CHORUS TYPE of PERFORMANCE COMMON to
DELAY (DT1)
According to the Parameter Address Map (p. 226), the start address of Temporary
Performance is 10 00 00 00H, the offset address of CHORUS at PERFORMANCE COMMON
is 04 00H, and the address of CHORUS TYPE is 00 00H. Therefore the address of CHORUS
TYPE of PERFORMANCE COMMON is;
10 00 00 00H
04 00H
+)
00 00H
10 00 04 00H
DELAY has the value of 02H.
So the system exclusive message should be sent is;
F0
41
10
00 00 25
12
(1)
(2)
(3)
(4)
(5)
(1) Exclusive Status
(2) ID (Roland)
(4) Model ID (JUNO-STAGE)
(5) Command ID (DT1)
Then calculate the checksum.
10H + 00H + 04H + 00H + 02H = 16 + 0 + 4 + 0 + 2 = 22 (sum)
22 (sum) ÷ 128 = 0 (quotient) ... 22 (remainder)
checksum = 128 - 22 (remainder) = 106 = 6AH
This means that F0 41 10 00 00 25 12 10 00 04 00 02 6A F7 is the message should be sent.
242
10 00 04 00
02
??
address
data
checksum
(3) Device ID (17)
(6) End of Exclusive
IThe Scale Tune Feature (address: 40 1x 40)
The scale tune feature allows you to finely adjust the individual pitch of the notes from C
through B. Though the settings are made while working with one octave, the fine
adjustments will affect all octaves. By making the appropriate Scale Tune settings, you can
obtain a complete variety of tuning methods other than equal temperament. As examples,
three possible types of scale setting are explained below.
* The scale tune value received by the part 1 is used in Patch mode and Piano mode.
HEqual Temperament
This method of tuning divides the octave into 12 equal parts. It is currently the most widely
used form of tuning, especially in occidental music. On the JUNO-STAGE, the default
settings for the Scale Tune feature produce equal temperament.
HJust Temperament (Tonic of C)
The principal triads resound much more beautifully than with equal temperament, but this
benefit can only be obtained in one key. If transposed, the chords tend to become
ambiguous. The example given involves settings for a key in which C is the keynote.
HArabian Scale
By altering the setting for Scale Tune, you can obtain a variety of other tunings suited for
ethnic music. For example, the settings introduced below will set the unit to use the Arabian
Scale.
Example Settings
Note name
C
C#
D
Eb
E
F
F#
F7
G
(6)
G#
A
Bb
B
The values in the table are given in cents. Convert these values to hexadecimal, and transmit
them as Exclusive data.
For example, to set the tune (C-B) of the Part 1 Arabian Scale, send the following data:
F0 41 10 42 12 40 11 40 3A 6D 3E 34 0D 38 6B 3C 6F 40 36 0F 76 F7
IASCII Code Table
Patch Name and Performance Name, etc., of MIDI data are described the ASCII
code in the table below.
+——————+——————+——————++——————+——————+——————++——————+——————+——————+
|
D
|
+——————+——————+——————++——————+——————+——————++——————+——————+——————+
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |
+——————+——————+——————++——————+——————+——————+
D: decimal
H: hexadecimal
* "SP" is space.
Equal Temperament
Just Temperament (Key-tone C) Arabian Scale
0
0
0
0
0
0
0
0
0
0
0
0
H
| Char ||
D
|
H
| Char ||
20H |
SP
||
64 |
40H |
21H |
!
||
65 |
41H |
22H |
"
||
66 |
42H |
23H |
#
||
67 |
43H |
24H |
$
||
68 |
44H |
25H |
%
||
69 |
45H |
26H |
&
||
70 |
46H |
27H |
`
||
71 |
47H |
28H |
(
||
72 |
48H |
29H |
)
||
73 |
49H |
2AH |
*
||
74 |
4AH |
2BH |
+
||
75 |
4BH |
2CH |
,
||
76 |
4CH |
2DH |
||
77 |
4DH |
2EH |
.
||
78 |
4EH |
2FH |
/
||
79 |
4FH |
30H |
0
||
80 |
50H |
31H |
1
||
81 |
51H |
32H |
2
||
82 |
52H |
33H |
3
||
83 |
53H |
34H |
4
||
84 |
54H |
35H |
5
||
85 |
55H |
36H |
6
||
86 |
56H |
37H |
7
||
87 |
57H |
38H |
8
||
88 |
58H |
39H |
9
||
89 |
59H |
3AH |
:
||
90 |
5AH |
3BH |
;
||
91 |
5BH |
3CH |
<
||
92 |
5CH |
3DH |
=
||
93 |
5DH |
3EH |
>
||
94 |
5EH |
3FH |
?
||
95 |
5FH |
0
-6
-8
+45
+4
-2
+16
-12
-14
-51
-2
-8
-10
+43
+2
-4
+14
+47
-16
0
+14
-10
-12
-49
D
|
H
| Char |
@
||
96 |
60H |
`
|
A
||
97 |
61H |
a
|
B
||
98 |
62H |
b
|
C
||
99 |
63H |
c
|
D
||
100 |
64H |
d
|
E
||
101 |
65H |
e
|
F
||
102 |
66H |
f
|
G
||
103 |
67H |
g
|
H
||
104 |
68H |
h
|
I
||
105 |
69H |
i
|
J
||
106 |
6AH |
j
|
K
||
107 |
6BH |
k
|
L
||
108 |
6CH |
l
|
M
||
109 |
6DH |
m
|
N
||
110 |
6EH |
n
|
O
||
111 |
6FH |
o
|
P
||
112 |
70H |
p
|
Q
||
113 |
71H |
q
|
R
||
114 |
72H |
r
|
S
||
115 |
73H |
s
|
T
||
116 |
74H |
t
|
U
||
117 |
75H |
u
|
V
||
118 |
76H |
v
|
W
||
119 |
77H |
w
|
X
||
120 |
78H |
x
|
Y
||
121 |
79H |
y
|
Z
||
122 |
7AH |
z
|
[
||
123 |
7BH |
{
|
\
||
124 |
7CH |
|
|
]
||
125 |
7DH |
}
|
^
||——————+——————+——————+
_
|

Publicité

Table des Matières
loading

Table des Matières