MIDI-Datenformat
1.
MIDI Receive
1.1.
Reception Data and Conditions
MIDI IN
<SW1>
<SW2>
<SW3>
<SW4>
<SW5>
<SW6>
<SW7>
<SW8>
Note:
<SW1>
Drum voice or bass voice Send/Receive channel.
<SW2>
Ignored if the pad is not set to Note Driven.
<SW3>
Main volume control message.
<SW4>
Expression control message.
<SW5>
Program change channel.
<SW6>
Bulk dump is only possible when the RY20 is in Pattern or Song
Select Mode.
<SW7>
Only received in Song Play Mode.
<SW8>
MIDI Sync is active.
1.2.
Reception Data
1) System Real-time Messages
Timing Clock
11111000
Start
11111010
Continue
11111011
Stop
11111100
Active Sensing
11111110
2) Channel Messages
Note Off
Status
1001nnnn
1000nnnn
Note Number
0kkkkkkk
Velocity
0vvvvvvv
Note:
Note Off messages are only received by voices that have Note Driven set.
The bass voice will not receive Note Off messages if the drum and bass send/receive
channels are set to the same channel number.
The bass voice will respond to Note Numbers throughout a five octave range.
Note On
Status
1001nnnn
Note Number
0kkkkkkk
Velocity
0vvvvvvv
Note:
The bass voice will not sound if the drum and bass send/receive channels are set to
the same channel number.
The bass voice will respond to Note Numbers throughout a five octave range.
Control Change
Status
1011nnnn
Control Number
00001110
00001011
Control Value
0vvvvvvv
Program Change
Status
1100nnnn
Program Number
0ppppppp
Note:
When a Program Change message is received, the RY20 changes to the drum kit
corresponding to the received program number.
3) System Common Messages
Song Position Pointer
Status
11110010
Value
0lllllll
Value
0hhhhhhh
Note:
Only received in Song Play Mode.
Song Select
Status
11110011
Song Number
00ssssss
Note:
Only received in Song Play Mode.
8nH
Note Off
9nH
Note On
BnH (07H)
Control Change
BnH (0BH)
CnH
Program Change
F0H
Bulk Dump
F2H
Song Position Pointer
F3H
Song Select
F8H
Timing Clock
FAH
Start
FBH
Continue
FCH
Stop
FEH
Active Sensing
(F8H)
(FAH)
(FBH)
(FCH)
(FEH)
n = 0~15 Voice Channel Number
(9nH)
(8nH)
k = 0 (C-2)~127(G8)
(9nH)
n = 0~15 Voice Channel Number
k = 0 (C-2)~127(G8)
Note On v = 1~127
n = 0~15 Voice Channel Number
(BnH)
(07H)
Main Volume
Expression
(0BH)
v = 0~127
(CnH)
n = 0~15 Voice Channel Number
p = 0~127
(F2H)
l = 0~127 Least Significant
h = 0~127 Most Significant
(F3H)
s = 0~49
4) System Exclusive Messages
Bulk Dump
0
11110000
1
01000011
2
00000000
3
01111110
4
00000100
5
00001010
6
01001100
7
01001101
8
00100000
9
00100000
10
00110000
11
00110001
12
00110101
13
00110011
14
01000001
15
01001100
16
0ddddddd
...
17
0sssssss
...
18
11110111
Note:
The RY20 can only receive bulk data while it is in Pattern or Song Select Mode.
A block consists of the Byte Count, the data bytes, and the Checksum. A number
of blocks are repeatedly transferred. The number of blocks transmitted or received
depends on the quantity of pattern and song data.
One byte of data is divided into 4bits MSB and 4bits LSB. It is then converted to
ASCII data for transfer.
A bulk dump consists of the following data:
System data
MIDI set-up data
Drum kit data
Pattern data
Song data
2.
MIDI Transmit
2.1.
Transmission Data and Conditions
Note On/Off
9nH
Bulk Dump
F0H
Song Position Pointer
F2H
Song Select
F3H
Timing Clock
F8H
Start
FAH
Continue
FBH
Stop
FCH
Active Sensing
FEH
Note:
<SW1>
Drum voice or bass voice Send/Receive
channel.
<SW2>
Only sent in Song Play Mode.
<SW3>
Transmits the Internal Sync.
2.2.
Transmission Data
1) System Real-time Messages
Timing Clock
11111000
Start
11111010
Continue
11111011
Stop
11111100
Active Sensing
11111110
2) Channel Messages
Note On/Off
Status
1001nnnn
Note Number
0kkkkkkk
Velocity
0vvvvvvv
00000000
3) System Common Messages
Song Position Pointer
Status
11110010
Value
0lllllll
Value
0hhhhhhh
Note:
Only active in Song Play Mode. A "part" or a "measure" may be transmitted.
Song Select
Status
11110011
Song Number
00ssssss
Note:
Only transmitted in Song Play Mode. The song number is transmitted when
selected.
4) System Exclusive Messages
Bulk Dump
The data is the same as that for reception. The RY20 can only transmit bulk
data when it is in Pattern or Song Select Mode.
(F0H)
(43H)
(00H)
Device Number (00H fixed)
(7EH)
Byte Count (MSB)
(04H)
(0AH)
Byte Count (LSB)
ASCII "L"
(4CH)
ASCII "M"
(4DH)
ASCII " "
(20H)
(20H)
ASCII " "
ASCII "0"
(30H)
ASCII "1"
(31H)
(35H)
ASCII "5"
ASCII "3"
(33H)
ASCII "A"
(41H)
(4CH)
ASCII "L"
Data
Checksum
EOX
(F7H)
MIDI OUT
<SW1>
<SW2>
<SW2>
<SW3>
(F8H)
(FAH)
(FBH)
(FCH)
(FEH)
(9nH)
n = 0~15 Voice Channel Number
k = 0 (C-2)~127(G8)
Note On v = 1~127
Note Off
(F2H)
l = 0~127 Least Significant
h = 0~127 Most Significant
(F3H)
s = 0~49
129