3
SH-201 MIDI Implementation
❍
Data set 1 DT1 (12H)
Status
Data byte Status
F0H 41H, dev, 00H, 00H, 16H, 12H, aaH, bbH, F7H
ccH, ddH, eeH, ... ffH, sum
Byte Explanation
F0H Exclusive status
41H ID number (Roland)
dev Device ID (dev: 00H - 17H, 7FH)
00H Model ID #1 (SH-201)
00H Model ID #2 (SH-201)
16H Model ID #3 (SH-201)
12H Command ID (DT1)
aaH Address MSB: upper byte of the starting address of the data to be sent
bbH Address: upper middle byte of the starting address of the data to be sent
ccH Address: lower middle byte of the starting address of the data to be sent
ddH Address LSB: lower byte of the starting address of the data to be sent.
eeH Data: the actual data to be sent. Multiple bytes of data are transmitted in
order starting from the address.
: :
ffH Data
sum Checksum
F7H EOX (End Of Exclusive)
* The amount of data that can be transmitted at one time depends on the type of data, and
data will be transmitted from the specified starting address and size. Refer to the address
and size given in “Parameter Address Map” (p. 4).
* Data larger than 256 bytes will be divided into packets of 256 bytes or less, and each
packet will be sent at an interval of about 20 ms.
* Regarding the checksum, please refer to (p. 7)
Status
Data byte Status
F0H 41H, dev, 42H, 12H, aaH, bbH, ccH, F7H
ddH, ... eeH, sum
Byte Explanation
F0H Exclusive status
41H ID number (Roland)
dev Device ID (dev: 10H - 1FH, 7FH)
42H Model ID (GS)
12H Command ID (DT1)
aaH Address MSB: upper byte of the starting address of the transmitted data
bbH Address: middle byte of the starting address of the transmitted data
ccH Address LSB: lower byte of the starting address of the transmitted data
ddH Data: the actual data to be transmitted. Multiple bytes of data are
transmitted starting from the address.
: :
eeH Data
sum Checksum
F7H EOX (End Of Exclusive)
* The amount of data that can be transmitted at one time depends on the type of data, and
data will be transmitted from the specified starting address and size. Refer to the address
and size given in “Parameter Address Map” (p. 4).
* Data larger than 256 bytes will be divided into packets of 256 bytes or less, and each
packet will be sent at an interval of about 20 ms.
* Regarding the checksum, please refer to (p. 7)
2. Data Transmission
■
Channel Voice Messages
●
Note off
Status
2nd byte 3rd byte
8nH kkH vvH
n = MIDI channel number: 0H - FH (ch.1 - 16)
kk = note number: 00H - 7FH (0 - 127)
vv = note off velocity: 00H - 7FH (0 - 127)
●
Note on
Status
2nd byte 3rd byte
9nH kkH vvH
n = MIDI channel number: 0H - FH (ch.1 - 16)
kk = note number: 00H - 7FH (0 - 127)
vv = note on velocity: 01H - 7FH (1 - 127)
●
Control Change
❍
Bank Select (Controller number 0, 32)
Status
2nd byte 3rd byte
BnH 00H mmH
BnH 20H llH
n = MIDI channel number: 0H - FH (ch.1 - 16)
mm, ll = Bank number: 87 00H - 87 20H (bank.17281, bank.17313)
* These messages are transmitted when Patch is selected. But not transmitted when
PROGRAM CHANGE TRANSMIT SWITCH or BANK SELECT TRANSMIT SWITCH
parameter (SYSTEM COMMON MIDI) is OFF.
* The Patches corresponding to each Bank Select are as follows.
BANK SELECT | PROGRAM | PATCH
MSB | LSB | NUMBER | NUMBER
-----+-----------+-----------+------------------
087 | 000 | 001 - 032 | PRESET A-1 - D-8
| 020 | 001 - 032 | USER A-1 - D-8
❍
Modulation (Controller number 1)
Status
2nd byte 3rd byte
BnH 01H vvH
n = MIDI channel number: 0H - FH (ch.1 - 16)
vv = Modulation depth: 00H - 7FH (0 - 127)
❍
Volume (Controller number 7)
Status
2nd byte 3rd byte
BnH 07H vvH
n = MIDI channel number: 0H - FH (ch.1 - 16)
vv = Volume: 00H - 7FH (0 - 127)
❍
Panpot (Controller number 10)
Status
2nd byte 3rd byte
BnH 0AH vvH
n = MIDI channel number: 0H - FH (ch.1 - 16)
vv = Panpot: 00H - 40H - 7FH (Left - Center - Right),
❍
Expression (Controller number 11)
Status
2nd byte 3rd byte
BnH 0BH vvH
n = MIDI channel number: 0H - FH (ch.1 - 16)
vv = Expression: 00H - 7FH (0 - 127)
❍
Hold 1 (Controller number 64)
Status
2nd byte 3rd byte
BnH 40H vvH
n = MIDI channel number: 0H - FH (ch.1 - 16)
vv = Control value: 00H - 7FH (0 - 127) 0-63 = OFF, 64-127 = ON
●
Program Change
Status
2nd byte
CnH ppH
n = MIDI channel number: 0H - FH (ch.1 - 16)
pp = Program number: 00H - 1FH (prog.1 - prog.32)
* These messages are transmitted when Patch is selected. But not transmitted when
PROGRAM CHANGE TRANSMIT SWITCH parameter (SYSTEM COMMON MIDI) is
OFF.