Roland R-8 MK II Owner's Manual page 219

Table of Contents

Advertisement

V
Example
of
actual
MIDI
messagss
<
EXAMPLE
!
>
99
24
5F
"9n"
is
a status
of
a
Note
On
message,
and
"n"
Is
a MIDI
channel
number.
The
second
byte
is
the
Note number,
and
the
third
byle
is
Velocity.
9H
=
9,
24H
=
36,
5FH
= 95
So,
this
is
a Note
On
message
of
MIDI
channel =
10,
Note
number
=
36
(C2)
and
Velocity
=
95.
<
EXAMPLE
2
> To
request the
setting of
ROLL
RESOLUTION.
The
Address
of
"ROLL RESOLUTION"
is
00 08
00
OIH. and
the
size
is
00 00 00
OIH.
So.
the
message
should be
;
FO 41 09 5E
11
00 08 QO 01
00
00 00 01
??
FT
(1)
(E)(3)
(4)
(5}
address
size
cliecksua
(5)
Chackium
of
Roland
Systam
Excluitve
mBiBagai
Roland
System
Exclusive
messages
(RQl and
DTI)
have
a
Checksum
at
the
end
of
the data
{before
EOX)
to
be
able
to
check
for
communication
errors.
The Checksum
results
from address
and
data
(or size)
included
in
the
message.
OHow
to
calculate
Checksums
("H"
indicates
Hexadecimal.)
The
error
checking
process uses
a
Checksum
and
provides
a
hit
pattern
where
the
last
significant 7
bits
art zero
when
values
for
an
address, data
(or
size)
and
the
Checksum
are
summed.
if
the
address
is
"aa
bb ccH"- and
the
data
(
or the
size)
is
"dd ee ftH"
aa
-
bb T
cc
+ dd +
ee
--
ff
=
sum
sum
-f
128
=
quotient
remainder
128
-
remainder =
checksum
(1)
Exclusive Status
(2)
ID
(Roland)
(3)
Device ID
(9)
(4)
Model
ID
(R-BMKl!)
(5)
Command
ID
(RQJ)
(6)
End
of Exclusive
The Checksum
is
:
OOH + 08H
+
OOH
f
OIH
+
OOH - OOH
-^
OOH
+
OIH
=
+
8
+
0-
1+0+0
+
0+1
=
10
(sum)
10
(sum)
+
128 =
(quotient)
-
10
(remainder)
checksum
= 128
-
10
(remainder)
=
118
=
76H
Therefore, the
message
to
send
is
:
FO
41
09 5E
11
00
08
00
01
00
00 00
01
76
F7.
<
EXAMPLE
I
>
Set the Pitch of the
instrument
number
10
(Flop
Kick)
to
-
100
cent.
It
is
assumed
that the
tiasic
channel
(receive
channel
of
Instrument
section)
is
10.
Basic
channel
is
10
so
Device !D
is
09H
[basic
channel
minus
1).
According
to
the
Parameter Address
Map,
the
Address
of
SOUND
PARAMETER
is
00
00
00 OOH,
The
lop
address
of the instrument
number
10
is
00 00 00
OOH
T-
10
X
(insts
:
10
-
1)
=
00
00 00
5AH.
The
offset
address
of pitch
is
00 OOH.
So
the
address
is
00
00 00
SMI
^
00
OOH
=
00
00
00
5AH.
The
actual value
is
-
10 because
the pitch
is
set
in
10 cent
steps.
The
absolute value
~
10
is
OAH.
Sign
is
minus.
So, the
message
should be
;
FO
41
03
IZ
00 00 DO
dA CA
00
00
0!
??
FT
(1)
(Z) (3)
(4) (5)
address
data
checksua
(G)
(1)
Exclusive
Status
(2)
ID
(Roland)
(3)
Device
ID
(9)
(4)
Model
ID
(R-8MKII)
(5)
Command
ID
(DTD
(6)
End
of Exclusive
The
Checksum
is
:
OOH
-r-
OOH
-
OOH
-
5AH
-
OAH
+ OOH
-^
OOH
-^
OIH
=
0*0+0*
90
-^
10
+
+
0-1
=
101 (sum)
101
(sum)
+ 128 =
(quotient)
101
(remainder)
checksum
=
128 -
101
(remainder)
=
27
=
IBH
Therefore,
the
message
to
send
is
:
FO
41
09
5E
12
00
00
00
5A OA
00
00
01
ID
F7.
205

Advertisement

Table of Contents
loading

Table of Contents