MIDI Reference

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

MIDI Reference

Table of Contents
MIDI Functions .................................................................................... 2
MIDI Transmit/Receive Channel Selection ................................................... 2
Local Control ON/OFF .................................................................................. 2
Program Change ON/OFF ............................................................................ 3
Control Change ON/OFF .............................................................................. 3

MIDI Data Format................................................................................. 4

MIDI Implementation Chart................................................................. 7

EN
MIDI Functions
You can make detailed adjustments to MIDI settings.

MIDI Transmit/Receive Channel Selection


In any MIDI control setup, the MIDI channels of the transmitting and receiving devices must be matched NOTE
for proper data transfer. In Dual, Voice 1 data is transmitted on its
specified channel and Voice 2 data is
This parameter enables you to specify the channel on which the instrument transmits or receives MIDI transmitted on the next greater channel
data. number relative to the specified channel.
In this case, no data is transmitted if the
transmit channel is set to “OFF.”
Setting the Transmit Channel
NOTE
While holding down the [DEMO] button, press and hold the [METRONOME ON/OFF] button,
ALL:
then press one of the C1–E2 keys. “Multi-timbre” Receive. This allows
simultaneous reception of different parts
on all 16 MIDI channels, enabling the
Setting the Receive Channel
instrument to play multi-channel song
data received from a music computer or
While holding down the [DEMO] button, press and hold the [METRONOME ON/OFF] button,
sequencer.
then press one of the C4–F5 keys. 1+2:
“1+2” Receive. This allows simultaneous
reception on channels 1 and 2 only,
NP-31 enabling the instrument to play 1 and 2
E2 F5
NP-11 channel song data received from a music
computer or sequencer.

NOTE
Program change and other like channel
C1 C4
messages received will not affect the
2 4 7 9 11 14 16 2 4 7 9 11 14 16 panel settings of the instrument or the
notes you play on the keyboard.

NOTE
Data for the demo song and piano preset
1 3 5 6 8 10 12 13 15 OFF 1 3 5 6 8 10 12 13 15 1+2 ALL songs cannot be transmitted via MIDI.

Transmit Channel Receive Channel


(C1–E2) (C4–F5)

Local Control ON/OFF


“Local Control” refers to the fact that, normally, the keyboard of the instrument controls its internal tone generator, allowing the inter-
nal voices to be played directly from the keyboard. This situation is “Local Control On,” since the internal tone generator is controlled
locally by its own keyboard. Local control can be turned OFF, however, so that the the keyboard of the instrument does not play the
internal voices, but the appropriate MIDI information is still transmitted via the MIDI OUT terminal when notes are played on the key-
board. At the same time, the internal tone generator responds to MIDI information received via the MIDI IN terminal.

While holding down the [DEMO] button, press and hold the [METRONOME ON/OFF] button, NOTE
then press one of the A#5 key. Pressing the A#5 key repeatedly toggles between Local Control On Default setting: ON

and Off.

NP-31
NP-11
A#5

2 NP-31/NP-11 MIDI Reference


MIDI Functions

Program Change ON/OFF


Normally the instrument will respond to MIDI program change numbers received from an external keyboard or other MIDI device,
causing the same numbered voice to be selected on the corresponding channel (the keyboard voice does not change). The instrument
will normally also send a MIDI program change number whenever one of its voices is selected, causing the same numbered voice or
program to be selected on the external MIDI device if the device is set up to receive and respond to MIDI program change numbers.
This function makes it possible to cancel program change number reception and transmission so that voices can be selected on the
instrument without affecting the external MIDI device.

While holding down the [DEMO] button, press and hold the [METRONOME ON/OFF] button, NOTE
then press one of the B5 key. Pressing the B5 key repeatedly toggles between Program Change On For information on program change num-
bers for each of the Voices of the instru-
and Off. ment, refer to page 4.

NP-31 NOTE
NP-11
Default setting: ON
B5

Control Change ON/OFF


Normally the instrument will respond to MIDI control change data received from an external MIDI device or keyboard, causing the
voice on the corresponding channel to be affected by pedal and other “control” settings received from the controlling device (the key-
board voice is not affected). The instrument also transmits MIDI control change information when the pedal or other appropriate con-
trols are operated. This function makes it possible to cancel control change data reception and transmission so that, for example, the
pedal of the instrument and other controls can be operated without affecting an external MIDI device.

While holding down the [DEMO] button, press and hold the [METRONOME ON/OFF] button, NOTE
then press one of the C6 key. Pressing the C6 key repeatedly toggles between Control Change On For information on control changes that
can be used with the instrument, refer to
and Off. page 4.

NP-31
NOTE
NP-11
C6 Default setting: ON

NP-31/NP-11 MIDI Reference 3


MIDI Data Format
If you’re already very familiar with MIDI, or are using a computer to control your music hardware with computer-generated MIDI
messages, the data provided in this section can help you to control the NP-31 NP-11.

1. NOTE ON/OFF (2) Reset All Controllers


Data format: [9nH] -> [kk] -> [vv] ccH Parameter Data Range (vvH)
9nH = Note ON/OFF event (n = channel number) 79H Reset All Controllers 00H
kk = Note number (Transmit: 09H–78H = A-2–C8 / Resets controllers as follows.
Receive: 00H–7FH = C-2–G8) Controller Value
vv = Velocity (Key ON = 01H–7FH, Key OFF = 00H) Expression 127 (max)
Sustain Pedal 0 (off)
Data format: [8nH] -> [kk] -> [vv] (reception only)
Sostenuto 0 (off)
8nH = Note OFF event (n = channel number)
Soft Pedal 0 (off)
kk = Note number: 00H–7FH = C-2–G8)
vv = Velocity (3) Local Control (reception only)
ccH Parameter Data Range (vvH)
2. CONTROL CHANGE 7AH Local Control 00H (off), 7FH (on)
Data format: [BnH] -> [cc] -> [vv] (4) All Notes Off
BnH = Control change (n = channel number) ccH Parameter Data Range (vvH)
cc = Control number 7BH All Notes Off 00H
vv = Data Range Switches OFF all the notes that are currently ON on the specified
(1) Bank Select channel. Any notes being held by the sustain or sostenuto pedal
ccH Parameter Data Range (vvH) will continue to sound until the pedal is released.
00H Bank Select MSB 00H:Normal (5) Omni Off (reception only)
20H Bank Select LSB 00H...7FH ccH Parameter Data Range (vvH)
Bank selection processing does not occur until receipt of next Pro- 7CH Omni Off 00H
gram Change message. Same processing as for All Notes Off.
(2) Main Volume (6) Omni On (reception only)
ccH Parameter Data Range (vvH) ccH Parameter Data Range (vvH)
07H Volume 00H...7FH 7DH Omni On 00H
(3) Expression (reception only) Same processing as for All Notes Off.
ccH Parameter Data Range (vvH) (7) Mono (reception only)
0BH Expression 00H...7FH ccH Parameter Data Range (vvH)
(4) Sustain 7EH Mono 00H
ccH Parameter Data Range (vvH) Same processing as for All Sound Off.
40H Sustain 00H...7FH (8) Poly (reception only)
(5) Sostenuto (reception only) ccH Parameter Data Range (vvH)
ccH Parameter Data Range (vvH) 7FH Poly 00H
42H Sostenuto 00H...3FH:off, 40H...7FH:on Same processing as for All Sound Off.

(6) Soft Pedal (reception only) • When Control Change is turned OFF, Control Change messages
ccH Parameter Data Range (vvH) will not be transmitted or received.
43H Soft Pedal 00H...3FH:off, 40H...7FH:on • Local on/off, OMNI on/off are not transmitted. (The appropriate note
off number is supplied with “All Note Off” transmission).
(7) Effect1 Depth (Reverb Send Level) • When a voice bank MSB/LSB is received, the number is stored in
ccH Parameter Data Range (vvH) the internal buffer regardless of the received order, then the stored
5BH Effect1 Depth 00H...7FH value is used to select the appropriate voice when a program
Adjusts the reverb send level. change message is received.
(8) Effect4 Depth (Variation Effect Send Level) • Poly mode is always active. This mode will not change when the
ccH Parameter Data Range (vvH) instrument receives a MONO/POLY mode message.
5EH Effect4 Depth 00H...7FH
4. PROGRAM CHANGE
(9) RPN
Data format: [CnH] -> [ppH]
65H RPN MSB
CnH = Program event (n = channel number)
64H RPN LSB
ppH = Program change number
06H Data Entry MSB
P.C.#=Program Change number
26H Data Entry LSB
60H Data Increment NP-31 NP-11 MSB LSB P.C.#
61H Data Decrement Grand Piano 1 0 122 1
* Parameters that are controllable with RPN: Grand Piano 2 0 112 1
• Coarse Tune E. Piano 1 0 122 6
• Fine Tune E. Piano 2 0 122 5
• Pitch Bend Range Pipe Organ 1 0 123 20
Pipe Organ 2 0 122 20
3. MODE MESSAGES Strings 0 122 49
Data format: [BnH] -> [cc] -> [vv] Vibraphone 0 122 12
BnH = Control event (n = channel number)
Harpsichord 1 0 122 7
cc = Mode Message number
Harpsichord 2 0 123 7
vv = Data Range
• When program change reception is turned OFF, no program change
(1) All Sound Off data is transmitted or received.
ccH Parameter Data Range (vvH) • When you specify a program change as a number in the range of
78H All Sound Off 00H 0–127, specify a number that is one less than the program change
number listed above. For example, to specify program change num-
ber 1, you would specify a value of 0.

4 NP-31/NP-11 MIDI Reference


MIDI Data Format

5. Pitch Bend Change (reception only) When the General MIDI mode ON message is received, the MIDI
[EnH] -> [ccH] -> [ddH] system will be reset to its default settings.
ccH = LSB This message requires approximately 50ms to execute, so suffi-
ddH = MSB cient time should be allowed before the next message is sent.

6. SYSTEM REALTIME MESSAGES 8. SYSTEM EXCLUSIVE MESSAGES (XG Standard)


[rrH] (1) XG Native Parameter Change
F8H: Timing clock Data format: [F0H] -> [43H] -> [1nH] -> [4CH] -> [hhH] -> [mmH] ->
FAH: Start [llH] -> [ddH] -> [F7H]
FCH: Stop F0H = Exclusive status
FEH: Active sensing 43H = YAMAHA ID
1nH = When received, n=0–F.
When transmitted, n=0.
Data Transmission Reception
4CH = Model ID of XG
F8H Transmitted every Received as 96-clock tempo timing
hhH = Address High
96 clocks when MIDI clock is set to External.
mmH = Address Mid
FAH Song start Song start
llH = Address Low
Not received when the MIDI clock is set
ddH = Data
to Internal.
|
FCH Song stop Song stop F7H = End of Exclusive
Not received when the MIDI clock is set Data size must match parameter size (2 or 4 bytes).
to Internal. When the XG System On message is received, the MIDI system
FEH Transmitted every If a signal is not received via MIDI for will be reset to its default settings.
200 milliseconds more than 400 milliseconds, the same The message requires approximately 50ms to execute, so suffi-
processing will take place for All Sound cient time should be allowed before the next message is sent.
Off, All Notes Off and Reset All Control-
lers as when those signals are (2) XG Native Bulk Data (reception only)
received. Data format: [F0H] -> [43H] -> [0nH] -> [4CH] -> [aaH] -> [bbH] ->
[hhH] -> [mmH] -> [llH] ->[ddH] ->...-> [ccH] -> [F7H]
• If an error occurs during MIDI reception, the Sustain, Sostenuto,
F0H = Exclusive status
and Soft effects for all channels are turned off and an All Note Off
43H = YAMAHA ID
occurs.
0nH = When received, n=0–F.
When transmitted, n=0.
7. SYSTEM EXCLUSIVE MESSAGES 4CH = Model ID of XG
(Universal System Exclusive) aaH = ByteCount
(1) Universal Realtime Message bbH = ByteCount
Data format: [F0H] -> [7FH] -> [XnH] -> [04H] -> [01H] -> [llH] -> hhH = Address High
[mmH] -> [F7H] mmH = Address Mid
llH = Address Low
MIDI Master Volume ddH = Data
• Simultaneously changes the volume of all channels. | |
• When a MIDI master volume message is received, the volume only | |
has affect on the MIDI receive channel, not the panel master vol- ccH = Check sum
ume. F7H = End of Exclusive
F0H = Exclusive status • Receipt of the XG SYSTEM ON message causes reinitialization of
7FH = Universal Realtime relevant parameters and Control Change values. Allow sufficient
7FH = ID of target device time for processing to execute (about 50 msec) before sending the
04H = Sub-ID #1=Device Control Message NP-31 NP-11 another message.
01H = Sub-ID #2=Master Volume • XG Native Parameter Change message may contain two or four
llH = Volume LSB bytes of parameter data (depending on the parameter size).
mmH = Volume MSB • For information about the Address and Byte Count values, refer to
F7H = End of Exclusive Table 1 below. Note that the table’s Total Size value gives the size of
or a bulk block. Only the top address of the block (00H, 00H, 00H) is
F0H = Exclusive status valid as a bulk data address.
7FH = Universal Realtime
XnH = When received, n=0–F. 9. SYSTEM EXCLUSIVE MESSAGES
X = irrelevant
(Digital Piano MIDI Format)
04H = Sub-ID #1=Device Control Message
Data format: [F0H] -> [43H] -> [73H] -> [01H] -> [nnH] -> [F7H]
01H = Sub-ID #2=Master Volume
F0H = Exclusive status
llH = Volume LSB
43H = Yamaha ID
mmH = Volume MSB
73H = Digital Piano ID
F7H = End of Exclusive
01H = Product ID (digital piano common)
(2) Universal Non-Realtime Message (GM On) nnH = Substatus
General MIDI Mode On 02H Internal MIDI clock
Data format: [F0H] -> [7EH] -> [XnH] -> [09H] -> [01H] -> [F7H] 03H External MIDI clock
F0H = Exclusive status F7H = End of Exclusive
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

NP-31/NP-11 MIDI Reference 5


MIDI Data Format

10. SYSTEM EXCLUSIVE MESSAGES (Special Control) 11. SYSTEM EXCLUSIVE MESSAGES (Others)
Data format: [F0H] -> [43H] -> [73H] -> [7FH] -> [4BH] -> [11H] -> Data format: [F0H] -> [43H] -> [1nH] -> [27H] -> [30H] -> [00H] ->
[0nH] -> [ccH] -> [vvH] -> [F7H] [00H] -> [mmH] -> [llH] -> [ccH] -> [F7H]
F0H = Exclusive status Master Tuning (XG and last message priority) simultaneously
43H = Yamaha ID changes the pitch of all channels.
73H = Digital Piano ID F0H = Exclusive Status
7FH = Extended Product ID 43H = Yamaha ID
4BH = Product ID (NP-11 : 4BH, NP-31/31S : 4BH) 1nH = When received, n=0–F.
11H = Special control When transmitted, n=0.
0nH = Control MIDI change (n=channel number) 27H = Model ID of TG100
cc = Control number 30H = Sub ID
vv = Value 00H =
F7H = End of Exclusive 00H =
mmH = Master Tune MSB
Control Channel ccH vvH
llH = Master Tune LSB
Channel Detune ch: 00H–0FH 43H (Sets the Detune value for
ccH = irrelevant (under 7FH)
each channel)
F7H = End of Exclusive
00H–7FH
Voice Reserve ch: 00H–0FH 45H 00H : Reserve off
7FH : on*
* When Volume, Expression is received for Reserve On, they will
be effective from the next Key On. Reserve Off is normal.

<Table 1>
MIDI Parameter Change table (SYSTEM)
Address (H) Size (H) Data (H) Parameter Description Default value (H)
00 00 00 4 020C–05F4(*1) MASTER TUNE -50–+50[cent] 00 04 00 00
01 1st bit 3–0 -> bit 15–12 400
02 2nd bit 3–0 -> bit 11–8
03 3rd bit 3–0 -> bit 7–4
4th bit 3–0 -> bit 3–0
04 1 00–7F MASTER VOLUME 0–127 7F
7E 00 XG SYSTEM ON 00=XG sytem ON
7F 00 RESET ALL PARAMETERS 00=ON (receive only)
TOTAL SIZE 07
*1: Values lower than 020CH select -50 cents. Values higher than 05F4H select +50 cents.

<Table 2>
MIDI Parameter Change table (EFFECT 1)
Refer to the “Effect MIDI Map” for a complete list of Reverb, Chorus and Variation type numbers.

Address (H) Size (H) Data (H) Parameter Description Default value (H)
02 01 00 2 00–7F REVERB TYPE MSB Refer to Effect MIDI Map 01 (=HALL1)
00–7F REVERB TYPE LSB 00 : basic type 00

02 01 40 2 00–7F VARIATION TYPE MSB Refer to Effect MIDI Map 00 (=Effect off)
00–7F VARIATION TYPE LSB 00 : basic type 00
• “VARIATION” refers to the EFFECT on the panel.

• Effect MIDI Map


REVERB
MSB LSB
ROOM 02H 10H
HALL 1 01H 10H
HALL 2 01H 11H
STAGE 03H 10H
OFF 00H 00H

EFFECT
MSB LSB
CHORUS 42H 10H
PHASER 48H 10H
TREMOLO 46H 10H
ROTARY SP 47H 10H
OFF 00H 00H

6 NP-31/NP-11 MIDI Reference


MIDI Implementation Chart
YAMAHA [ Digital Keyboard ] Date : 11, Nov 2010
Model NP-31 NP-11 MIDI Implementation Chart Version : 1.0

Function Transmitted Recognized Remarks

Basic Default 1 1 - 16
Channel Changed 1 - 16 1 - 16

Mode Default 3 3
Messages x x
Altered ************** x

Note 0 - 127 0 - 127


Number : True voice ************** 0 - 127

Velocity Note ON o 9nH,v=1-127 o 9nH,v=1-127


Note OFF x x

After Key's x x
Touch Ch's x x

Pitch Bend x o 0 - 24 semi

Control 0,32 o o Bank Select


Change 1 x o Modulation
7 o o Main Volume
10 x o Panpot
11 o o Expression
6,38 x o Data Entry
64 o o Sustain
66,67 x o
84 x o Portamento Control
91,94 o o Effect Depth
96-97 x o RPN Inc,Dec
100-101 x o RPN LSB,MSB

Prog o 0 - 127 o 0 - 127


Change : True # **************

System Exclusive o o

Common : Song Pos. x x


: Song Sel. x x
: Tune x x

System : Clock o o
Real Time : Commands o o
: All Sound Off o o (120,126,127)
Aux : Reset All Cntrls o o (121)
: Local ON/OFF x o (122)
Mes- : All Notes OFF o o (123-125)
sages: Active Sense o o
: Reset x x
Notes:

Mode 1 : OMNI ON , POLY Mode 2 : OMNI ON ,MONO o : Yes


Mode 3 : OMNI OFF, POLY Mode 4 : OMNI OFF,MONO x : No

U.R.G., Digital Musical Instruments Division


©2011 Yamaha Corporation
103PO-01A
NP-31/NP-11 MIDI Reference 7

You might also like