101
MIDI Implementation
Appendices
❍Hold 2 (Controller number 69)
status 2nd byte 3rd byte
BnH 45H xxH
❍Portamento control (Controller number 84)
status 2nd byte 3rd byte
BnH 54H kkH
*
For the functions of other controller numbers, refer to
“Table of Transmitted Data” (p. 76).
●Program Change
status 2nd byte
CnH ppH
pp=Program number: 00H - 7FH (prog.1 - prog.128)
* This message is not transmitted when the Tx Program Change Switch parameter is OFF.
■System Realtime messages
●Active Sensing
status
FEH
* Transmitted at intervals of approximately 250ms.
■System Exclusive messages
●Universal Non-realtime System Exclusive Messages
Identity Reply
Status Data byte Status
F0H 7EH, dev, 06H, 02H, 41H, 0BH, 01H, F7H
03H, 00H, 00H, 03H, 00H, 00H
Byte Explanation
F0H Exclusive status
7EH ID number (universal non-realtime message)
dev Device ID (dev:10H(17)-1FH(32))
06H Sub ID#1 (General Information)
02H Sub ID#2 (Identity Reply)
41H ID number (Roland)
0BH 01H Device family code
03H 00H Device family number code
00H 03H 00H 00H Software revision level
F7H EOX (End of Exclusive)
* When Identity Request is received, Identity Reply message will be transmitted.
●Data Set 1 DT1
status data byte status
F0H 41H, dev, 00H, 0BH, 12H, aaH, bbH, F7H
ccH, ddH, eeH, ... ffH, sum
Byte Remarks
F0H Exclusive status
41H ID number (Roland)
dev device ID (dev: 10H–1FH)
00H model ID (D2)
0BH model ID (D2)
12H command ID (DT1)
aaH address MSB
bbH address
ccH address
ddH address LSB
eeH data: The actual data to be transmitted. Multi-byte data is transmitted
in the order of the address.
::
ffH data
sum checksum
F7H EOX (End Of Exclusive)
* For the address, size, and checksum, refer to “Examples of system exclusive messages
and calculating the checksum” (p. 107).
* Data whose size is greater than 128 bytes should be divided into packets of 128 bytes or
less and transmitted. Successive “Data Set 1” messages should have at least 20 ms of
time interval between them.
●Data Set 1 DT1
status data byte status
F0H 41H, dev, 3AH, 12H, aaH, F7H
bbH, ccH, ddH, sum
Byte Remarks
F0H Exclusive status
41H ID number (Roland)
dev device ID (dev: 10H–1FH)
3AH model ID (D2 Quick)
12H command ID (DT1)
aaH address (Status/Channel)
bbH address/Data H
ccH Data L
ddH Data E
sum checksum
F7H EOX (End Of Exclusive)
* For the address, size, and checksum, refer to “Examples of system exclusive messages
and calculating the checksum” (p. 107).
* Transmission of consecutive addresses is not possible.
3. Data reception (Sequencer section)
3.1 Messages recorded during recording
■Channel voice messages
●Note Off
status 2nd byte 3rd byte
8nH kkH vvH
9nH kkH 00H
●Note On
status 2nd byte 3rd byte
9nH kkH vvH
vv=Note On velocity: 01H - 7FH (1 - 127)
●Polyphonic Aftertouch
status 2nd byte 3rd byte
AnH kkH vvH
●Control Change
status 2nd byte 3rd byte
BnH kkH vvH
kk=control number: 00H–78H (0–120)
●Program Change
status 2nd byte
CnH ppH
pp=Program number: 00H–7FH (prog.1–prog.128)
●Channel Aftertouch
status 2nd byte
DnH vvH
●Pitch Bend Change
status 2nd byte 3rd byte
EnH llH mmH
mm,ll=Pitch Bend value: 00 00H–40 00H–7F 7FH (-8192–0–+8191)
■Channel Mode messages
●All Sound Off (Controller number 120)
status 2nd byte 3rd byte
BnH 78H 00H
●Reset All Controllers (Controller number 121)
status 2nd byte 3rd byte
BnH 79H 00H