287
MIDI Implementation
Appendices

Scale/Octave Tuning Adjust

Status Data byte Status
F0H 7EH,7FH,08H,08H,ffH,ggH,hhH,ssH... F7H
Byte Explanation
F0H Exclusive status
7EH ID number (Universal Non-realtime Message)
7FH Device ID (Broadcast)
08H Sub ID#1 (MIDI Tuning Standard)
08H Sub ID#2 (scale/octave tuning 1-byte form)
ffH Channel/Option byte1
bits 0 to 1 = channel 15 to 16
bit 2 to 6 = Undefined
ggH Channel byte2
bits 0 to 6 = channel 8 to 14
hhH Channel byte3
bits 0 to 6 = channel 1 to 7
ssH 12 byte tuning offset of 12 semitones from C to B
00H = -64 [cents]
40H = 0 [cents] (equal temperament)
7FH = +63 [cents]
F7H EOX (End Of Exclusive)

Key-Based Instrument Controllers

Status Data byte Status
F0H 7FH,7FH,0AH,01H,0nH,kkH,nnH,vvH... F7H
Byte Explanation
F0H Exclusive status
7FH ID number (universal realtime message)
7FH Device ID (Broadcast)
0AH Sub ID#1 (Key-Based Instrument Control)
01H Sub ID#2 (Controller)
0nH MIDI Channel (00 - 0F)
kkH Key Number
nnH Control Number
vvH Value
F7 EOX (End Of Exclusive)
nn=07H Level
vv = 00H - 7FH 0 - 200% (Relative)
nn=0AH Pan
vv = 00H - 7FH Left - Right (Absolute)
nn=5BH Reverb Send
vv = 00H - 7FH 0 - 127 (Absolute)
nn=5D Chorus Send
vv = 00H - 7FH 0 - 127 (Absolute)
* This parameter affects drum instruments only.
Sample Dump Standard
* Received only in Sample Dump mode.

Dump Request

Status Data byte Status
F0H 7EH, dev, 03H, ssH, ssH F7H
Byte Explanation
F0H Exclusive status
7EH ID number (Universal Non-realtime Message)
dev Device ID (dev: 00H - 1FH (1 - 32), the initial value is 10H (17).)
03H Sub ID (Dump Request)
ssH Requested sample lower byte
ssH Requested sample upper byte
F7 EOX (End Of Exclusive)

Dump Header

Status Data byte Status
F0H 7EH, dev, 01H, ssH, ssH, eeH, ffH, ffH, ffH, ggH, F7H
ggH, ggH, hhH, hhH, hhH, iiH, iiH, iiH, jjH
Byte Explanation
F0H Exclusive status
7EH ID number (Universal Non-realtime Message)
dev Device ID (dev: 00H - 1FH (1 - 32), the initial value is 10H (17).)
01H Sub ID (Dump Header)
ssH Sample number lower byte
ssH Sample number upper byte
eeH Sample format
ffH Sample period lower byte
ffH Sample period middle byte
ffH Sample period upper byte
ggH Sample length lower byte
ggH Sample length middle byte
ggH Sample length upper byte
hhH Loop start point lower byte
hhH Loop start point middle byte
hhH Loop start point upper byte
iiH Loop end point lower byte
iiH Loop end point middle byte
iiH Loop end point upper byte
jjH Loop type
F7 EOX (End Of Exclusive)

Data Packet

Status Data byte Status
F0H 7EH, dev, 02H, kkH, aaH, ... bbH, sum F7H
Byte Explanation
F0H Exclusive status
7EH ID number (Universal Non-realtime Message)
dev Device ID (dev: 00H - 1FH (1 - 32), the initial value is 10H (17).)
02H ID number (Data Packet)
kkH Packet number
aaH Data (120 byte)
: :
bbH Data
sum checksum
F7H EOX (End Of Exclusive)

ACK

Status Data byte Status
F0H 7EH, dev, 7FH, ppH F7H
Byte Explanation
F0H Exclusive status
7EH ID number (Universal Non-realtime Message)
dev Device ID (dev: 00H - 1FH (1 - 32), the initial value is 10H (17).)
7FH ID number (ACK)
ppH Packet number
F7H EOX (End Of Exclusive)

NAK

Status Data byte Status
F0H 7EH, dev, 7EH, ppH F7H
Byte Explanation
F0H Exclusive status
7EH ID number (Universal Non-realtime Message)
dev Device ID (dev: 00H - 1FH (1 - 32), the initial value is 10H (17).)
7EH ID number (NAK)
ppH Packet number
F7H EOX (End Of Exclusive)

Cancel

Status Data byte Status
F0H 7EH, dev, 7DH, ppH F7H
Byte Explanation
F0H Exclusive status
7EH ID number (Universal Non-realtime Message)
dev Device ID (dev: 00H - 1FH (1 - 32), the initial value is 10H (17).)
7DH ID number (Cancel)
ppH Packet number
F7H EOX (End Of Exclusive)

Wait

Status Data byte Status
F0H 7EH, dev, 7CH, ppH F7H
Byte Explanation
F0H Exclusive status