MIDI Implementation
Copyright © 2010 ROLAND CORPORATION
All rights reserved. No part of this publication may be reproduced in any form without the written permission of ROLAND CORPORATION.
1. Receive data
■Channel Voice Messages
●Note off
Status
2nd byte
3rd byte
8nH
kkH
vvH
9nH
kkH
00H
n = MIDI channel number:
0H-FH (ch.1-ch.16)
kk = note number:
00H-7FH (0-127)
vv = note off velocity:
00H-7FH (0-127)
* For Drum Parts, these messages are received when Rx.NOTE OFF = ON for
each Instrument.
●Note on
Status
2nd byte
3rd byte
9nH
kkH
vvH
n = MIDI channel number:
0H-FH (ch.1-ch.16)
kk = note number:
00H-7FH (0-127)
vv = note on velocity:
01H-7FH (1-127)
* Not received when Rx.NOTE MESSAGE = OFF. (Initial value is ON)
* For Drum Parts, not received when Rx.NOTE ON = OFF for each Instrument.
●Polyphonic Key Pressure
Status
2nd byte
3rd byte
AnH
kkH
vvH
n = MIDI channel number:
0H-FH (ch.1-ch.16)
kk = note number:
00H-7FH (0-127)
vv = key pressure:
00H-7FH (0-127)
* Not received when Rx.POLY PRESSURE (PAf) = OFF. (Initial value is ON)
* The resulting effect is determined by System Exclusive messages. With the
initial settings, there will be no effect.
●Control Change
* When Rx.CONTROL CHANGE = OFF, all control change messages except
for Channel Mode messages will be ignored.
* The value specified by a Control Change message will not be reset even by a
Program Change, etc.
○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-ch.16)
mm, ll = Bank number:
00H, 00H-7FH, 7FH (bank.1-bank.16384), Initial
Value = 00 00H (bank.1)
* Not received when Rx.BANK SELECT = OFF.
* "Rx.BANK SELECT" is set to OFF by "GM1 System On," and Bank Select
message will be ignored.
* "Rx.BANK SELECT" is set to ON by "GM2 System On."
* "Rx.BANK SELECT" is set to ON by power-on Reset or by receiving "GS
RESET."
* When Rx.BANK SELECT LSB = OFF, Bank number LSB (llH) will be handled
as 00H regardless of the received value. However, when sending Bank Select
messages, you have to send both the MSB (mmH) and LSB (llH, the value
should be 00H) together.
* Bank Select processing will be suspended until a Program Change message
is received.
* The GS format "Variation number" is the value of the Bank Select MSB
(Controller number 0) expressed in decimal.
* Some other GS devices do not recognize the Bank Select LSB (Controller
number 32).
○Modulation (Controller number 1)
Status
2nd byte
BnH
01H
n = MIDI channel number: 0H-FH (ch.1-ch.16)
vv = Modulation depth:
00H-7FH (0-127)
* Not received when Rx.MODULATION = OFF. (Initial value is ON)
* The resulting effect is determined by System Exclusive messages. With the
initial settings, this is Pitch Modulation Depth.
○Portamento Time (Controller number 5)
Status
2nd byte
BnH
05H
n = MIDI channel number: 0H-FH (ch.1-ch.16)
vv = Portamento Time:
00H-7FH (0-127), Initial value = 00H (0)
* This adjusts the rate of pitch change when Portamento is ON or when using
the Portamento Control. A value of 0 results in the fastest change.
○Data Entry (Controller number 6, 38)
Status
2nd byte
BnH
06H
BnH
26H
n = MIDI channel number: 0H-FH (ch.1-ch.16)
mm, ll = the value of the parameter specified by RPN/NRPN
mm = MSB, ll = LSB
○Volume (Controller number 7)
Status
2nd byte
BnH
07H
n = MIDI channel number: 0H-FH (ch.1-ch.16)
vv = Volume: 00H-7FH (0-127), Initial Value = 64H (100)
* Volume messages are used to adjust the volume balance of each Part.
* Not received when Rx.VOLUME = OFF. (Initial value is ON)
○Pan (Controller number 10)
Status
2nd byte
BnH
0AH
n = MIDI channel number: 0H-FH (ch.1-ch.16)
vv = pan:
00H-40H-7FH (Left-Center-Right), Initial Value = 40H (Center)
* For Rhythm Parts, this is a relative adjustment of each Instrument's pan
setting.
* Some Tones are not capable of being panned all the way to the left or right.
* Not received when Rx.PANPOT = OFF. (Initial value is ON)
1
Model:
DP990F, HP302, HP305,
HP307, HPi-6F, HPi-7F,
LX-10F, RG-1F, RG-3F
Date:
Sep.1,2010
Version:
1.00
3rd byte
vvH
3rd byte
vvH
3rd byte
mmH
llH
3rd byte
vvH
3rd byte
vvH