9nH = Note ON/OFF event (n = channel number)
kk =Note number (Transmit: 09H–78H = A-2–C8 /
Receive: 00H–7FH = C-2–G8)
vv =Velocity (Key ON = 01H–7FH, Key OFF = 00H)
Data format: [8nH] -> [kk] -> [vv] (reception only)
8nH = Note OFF event (n = channel number)
kk =Note number: 00H–7FH = C-2–G8
vv =Velocity
2. CONTROL CHANGE
Data format: [BnH] -> [cc] -> [vv]
BnH = Control change (n = channel number)
cc =Control number
vv =Data Range
(1) Bank Select
ccHParameterData Range (vvH)
00HBank Select MSB00H:Normal
20HBank Select LSB00H...7FH
Bank selection processing does not occur until receipt of next
Program Change message.
(2) Modulation (reception only)
ccHParameterData Range (vvH)
01HModulation00H...7FH
(3) Main Volume
ccHParameterData Range (vvH)
07HVolume MSB00H...7FH
(4) Panpot
ccHParameterData Range (vvH)
0AHPanpot00H...7FH
(5) Expression
ccHParameterData Range (vvH)
0BHExpression MSB00H...7FH
(6) Damper Pedal/Sustain
ccHParameterData Range (vvH)
40HSustain MSB00H...7FH
(7) Sostenuto
ccH ParameterData Range (vvH)
42H Sostenuto00H...3FH:off, 40H...7FH:on
(8) Soft Pedal
ccHParameterData Range (vvH)
43H Soft Pedal00H...3FH:off, 40H...7FH:on
(9) Effect1 Depth (Reverb Send Level)
ccHParameterData Range (vvH)
5BHEffect1 Depth00H...7FH
Adjusts the reverb send level.
(10) Effect3 Depth (Chorus Send Level)
ccHParameterData Range (vvH)
5DHEffect3 Depth00H...7FH
(11) RPN
65HRPNMSB
64HRPNLSB
06HData EntryMSB
26HData EntryLSB
60HDataIncrement
61HDataDecrement
* Parameters that are controllable with RPN:
• Coarse Tune
• Fine Tune
• Pitch Bend Range
3. MODE MESSAGES
Data format: [BnH] -> [cc] -> [vv]
BnH = Control event (n = channel number)
cc =Control number
vv =Data Range
(1) All Sound Off
ccHParameterData Range (vvH)
78HAll Sound Off00H
(2) Reset All Controllers
ccHParameterData Range (vvH)
79HReset All Controllers 00H
Resets controllers as follows.
ControllerValue
Pitch bend±0
Modulation0 (OFF)
Expression127 (Max)
Sustain0 (OFF)
Portamento ControlCancels the Portamento Source
Key Number that was received.
RPNNumber not specified; internal data
will not change.
(3) Local Control (reception only)
ccHParameterData Range (vvH)
7AHLocal Control00H (off), 7FH (on)
(4) All Notes Off
ccHParameterData Range (vvH)
7BHAll Notes Off00H
Switches OFF all the notes that are currently ON on the specified
channel. Any notes being held by the sustain or sostenuto pedal
will continue to sound until the pedal is released.
(5) Omni Off (reception only)
ccHParameterData Range (vvH)
7CHOmni Off00H
Same processing as for All Notes Off.
(6) Omni On (reception only)
ccHParameterData Range (vvH)
7DHOmni On00H
Same processing as for All Notes Off.
(7) Mono (reception only)
ccHParameterData Range (vvH)
7EHMono00H
Same processing as for All Sound Off.
(8) Poly (reception only)
ccHParameterData Range (vvH)
7FHPoly00H
Same processing as for All Sound Off.
• Local on/off, OMNI on/off are not transmitted. (The appropriate note
off number is supplied with “All Note Off” transmission).
• When a voice bank MSB/LSB is received, the number is stored in
the internal buffer regardless of the received order, then the stored
value is used to select the appropriate voice when a program
change message is received.
• Poly mode is always active. This mode will not change when the
instrument receives a MONO/POLY mode message.
YDP-103 MIDI Reference
2
Page 3
MIDI Data Format
4. PROGRAM CHANGE
Data format: [CnH] -> [ppH]
CnH = Program event (n = channel number)
ppH = Program change number
Voice NameMSBLSBP.C.#
GRAND PIANO 110801
GRAND PIANO 210822
E. PIANO 110815
E. PIANO 210806
PIPE ORGAN 1108120
PIPE ORGAN 2108020
STRINGS108049
HARPSICHORD 110807
HARPSICHORD 210817
VIBRAPHONE108012
• When program change reception is turned OFF, no program change
data is transmitted or received.
• When you specify a program change as a number in the range of
0–127, specify a number that is one less than the program change
number listed above. For example, to specify program change number 1, you would specify a value of 0.
P.C.#=Program Change number
5. Pitch Bend Change (reception only)
[EnH] -> [ccH] -> [ddH]
ccH = LSB
ddH = MSB
6. SYSTEM REALTIME MESSAGES
[rrH]
F8H: Timing clock
FAH : S t ar t
FCH: Stop
FEH: Active sensing
DataTransmissionReception
F8HTransmitted every
96 clocks
FAHSong start
(transmission
only)
FCHSong stop
(transmission
only)
FEHTransmitted every
200 milliseconds
• If an error occurs during MIDI reception, the Sustain, Sostenuto,
and Soft effects for all channels are turned off and an All Note Off
occurs.
Received as 96-clock tempo timing when MIDI clock is set to
External.
Song start
Not received when the MIDI clock
is set to Internal.
Song stop
Not received when the MIDI clock
is set to Internal.
If a signal is not received via MIDI
for more than 400 milliseconds,
the same processing will take
place for All Sound Off, All Notes
Off and Reset All Controllers as
when those signals are received.
7. SYSTEM EXCLUSIVE MESSAGES
(Universal System Exclusive)
F0H = Exclusive status
7EH = Universal Non-Realtime
7FH = ID of target device
09H = Sub-ID #1=General MIDI Message
01H = Sub-ID #2=General MIDI On
F7H = End of Exclusive
or
F0H = Exclusive status
7EH = Universal Non-Realtime
XnH = When received, n=0–F.
X = irrelevant
09H = Sub-ID #1=General MIDI Message
01H = Sub-ID #2=General MIDI On
F7H = End of Exclusive
When the General MIDI mode ON message is received, the MIDI
system will be reset to its default settings.
This message requires approximately 50ms to execute, so sufficient time should be allowed before the next message is sent.
[llH] -> [ddH] -> [F7H]
F0H = Exclusive status
43H = YAMAHA ID
1nH = When received, n=0–F.
When transmitted, n=0.
4CH = Model ID of XG
hhH = Address High
mmH = Address Mid
llH = Address Low
ddH = Data
|
F7H = End of Exclusive
Data size must match parameter size (2 or 4 bytes).
When the XG System On message is received, the MIDI system
will be reset to its default settings.
The message requires approximately 50ms to execute, so sufficient time should be allowed before the next message is sent.
[hhH] -> [mmH] -> [llH] ->[ddH] ->...-> [ccH] -> [F7H]
F0H = Exclusive status
43H = YAMAHA ID
0nH = When received, n=0–F.
When transmitted, n=0.
4CH = Model ID of XG
aaH = Byte Count
bbH = Byte Count
hhH = Address High
mmH = Address Mid
llH = Address Low
ddH = Data
| |
| |
ccH = Check sum
F7H = End of Exclusive
• Receipt of the XG SYSTEM ON message causes reinitialization of
relevant parameters and Control Change values. Allow sufficient
time for processing to execute (about 50 msec) before sending the
instrument another message.
• XG Native Parameter Change message may contain two or four
bytes of parameter data (depending on the parameter size).
• For information about the Address and Byte Count values, refer to
Table 1 below. Note that the table’s Total Size value gives the size of
a bulk block. Only the top address of the block (00H, 00H, 00H) is
valid as a bulk data address.
[00H] -> [mmH] -> [llH] -> [ccH] -> [F7H]
Master Tuning (XG and last message priority) simultaneously
changes the pitch of all channels.
F0H = Exclusive Status
43H = Yamaha ID
1nH = When received, n=0–F.
When transmitted, n=0.
27H =
30H = Sub ID
00H=
00H=
mmH = Master Tune MSB
llH = Master Tune LSB
ccH = irrelevant (under 7FH)
F7H = End of Exclusive
9. SYSTEM EXCLUSIVE MESSAGES (reception only)
(Digital Piano MIDI Format)
F0H = Exclusive status
43H = Yamaha ID
73H = Digital Piano ID
01H = Product ID (digital piano common)
nnH = nn=02 (Internal MIDI clock), nn=03 (External MIDI clock)
F7H = End of Exclusive
YDP-103 MIDI Reference
4
Page 5
<Table 1>
MIDI Parameter Change table (SYSTEM)
Address (H) Size (H)Data (H)ParameterDescriptionDefault value (H)