MIDI
implementation
1.
Re
ceived data
• Channel Voice Messages
•
Note
off
Status
BnH
2nd
by
te
kkH
n = MIDI channel
numbe
r:
kk
=
note
number:
w
~
note off vetocity:
•
Note
on
Stat
us
9nH
2nd byte
kkH
n
~
MID
t channel
num
ber:
kk
= nole number:
w =
nole
on
velocity:
•
Controt
Change
3rd byte
wH
OH-FH
(Ch
.1-16)
00H-7FH
(0-
127)
00H-7FH
(0-
127)
3rd byte
wH
OH-FH (Ch.1-16)
00H-7FH
(0-
127)
01H-7FH
(1-127)
• The
value
specified
by
a
Control
Change message
is
not
reset
by
a
Prog
r
am
Change, etc. .
O Ba
nk
Se
tect
(Controller number 0,
32)
Status
2nd
byte
BnH
OOH
BnH
20H
n
~
Mt
DI
channel number:
mm
~
Bank number MSB:
Il
~
Bank number LSB:
Only lor
Free
Bass.
".)
Ex
pre
ss
ion
(Contra
Il
er
numb
er
11
)
Status 2nd
byte
BnH
OBH
3rd byte
mmH
IIH
OH-FH (Ch.
1-16
)
00H-7FH
00H-7FH
3rd
byte
wH
n
~
MIDI
channet number: OH-FH
(C
h.1-
16)
w
~
Expression: 00H-7FH
(0-
127)
This
adjusts
the
volume
of
a Part.
II
can
be
used
independent
ly
from
Volume
(eCOl)
messages. Expression messages are used
for
mus
ica
l expression
with
in
a performanc8, 8.g., expression pedal movements, c
res
cendo
and
decrescendo.
O
Pr
o
gram
C
hang
e
Status
CnH
2nd byte
ppH
n =
MrD
I
channel
num ber:
pp
~
Program number:
OH-FH
(C
h.1
- 16)
See
"3.
Program
change messages
n
,
For the Sets, see "SET
RX"
on
p.
72
• System Realtime Messages
J
Acti
ve
Se
ns
ing
Status
FEH
When
Active
Sensing
is
received.
th
e
FR
-
3x
starts
monitoring
the
inte
rvals
ol
all
lurther messages. While
monitoring
,
if
the
interval
between
me
ssages exceeds
420
ms,
the
same
processing
will
be
carried o
ut
as
when
All
Sounds
Off,
All
Notes
Off
and
Reset All Controllers are received,
and
message
interval
mo
nitoring
will
be
halted.
2.
Transmitted data
• Channel Voice Messages
•
Note
off
Status
BnH
2nd
by
te
kkH
n = MIDI channel
number:
kk
=
note
numbe
r:
vv
= nole
off
velocily:
•
Note
on
Status
9nH
2
nd
byte
kkH
n
~
Mt
Dt
channel number:
kk
=
note
number:
w = n
ote
on
velocity:
•
Control
Change
3rd
byte
vvH
OH-FH
(Ch.
1-16
)
00H-7FH
(0-
127)
00H-7FH
(0-
127)
3rd byte
wH
O
H-FH
(Ch.1-
16
)
OOH-7FH
(0-
127)
01H-7FH (1-127)
J
Bank
Sel
ect (Contra
Il
er
numb
er 0, 32)
Status 2nd byte
BnH
OOH
BnH
20H
n = MIDI channel
number:
mm
=
Bank
number
MSB:
Il
~
Bank number LSB:
3rd
byte
mmH
IIH
OH-FH (Ch.1-16)
00H-7FH
00H-7FH
O
Mdulation number (Controller
numb
er
01)
Status
2nd
byte 3rd
byte
BnH
01H vvH
n
= M
IDI
channel number:
vv
~
Modulation depth:
')
Expre
ss
ion (Controller
num
ber
11
)
Status
2nd
byte
BnH
OBH
OH-FH (Ch. 1-16)
OOH-7FH
(0-127)
3rd byte
vv
H
n
~
MIDI channel number: OH-FH
(Ch.
1-16
)
vv
~
Expression: 00H-7FH (0-127)
V-A
ccordiol1 Roland
Mf
Of
i
mplem
e
ntation
This
adj
u
sts
the
volume
of
a
Part
.
Expression
messages are used
for
musical
ex-
pression
within
a performance, e.g., expression pedal movements, crescendo
and
decrescendo.
O Program
Chang
e
Status
CnH
2nd
byte
ppH
OH-FH
(Ch.
1-16)
n
~
MI
DI
channel number:
pp
~
Program number: 00H-7FH: program
no.
1-128
O Pitch
Bend
Chang
e
Status
2nd
byte
EnH
IIH
3rd byte
mmH
OH-FH (Ch
.t-16
) n = MIDI channel number:
mm,
II~
Pilch Bend value 00
00H-40
00H-7F 7FH (-8192
-0-+B
191
)
• System Realtime Messages
:J
Acli
ve Sens
ing
Status
FEH
Transmilled about every 250ms.
')
St
a
rt
Status
FAH
J
Stop
~
FCH
This
message
is
transmitted
when
the
1J
,IET
RoNo
r
"J
rE!
switch
is
pressed after
assigning
the
"2
" o
ption
to
the
"M
Fn
" parameter.
This
message
is
transmitted
when
the
IM
ET
RONO
MEI
switch
is
pressed after
assigning
the
"2"
optio
n
to
the
"MF
n" parameter.
3.
Program change messages
CCOO
CC32
Prog
r
am
R
eg
iste r
N
ame
Chan
ge
TREBLE REGtSTER TXlRX
O
O
1 1 B
assoo
n
O O 2
2a
Ba
nd
on
O O 3
2b
Ce
llo
O O
4
3
Ha
r
mo
n
O O 5
4
Or
ga
n
D O 6
5a
Acco
rd
O O 8
5b
Mas
ter
O O
11
6a
T
remolo
O O 9
6b
Muse
tte
O O 7 7
Violin
O O
13
8
Oboe
O O
12
9a
Cla
ri
ne
t
O O
10
9b
Ce
l
este
O O
14
O
Pi
ccolo
OR
C
HE
S
TRA
(
Tr
eble) T
XJ
RX
O O 1 1
Tr
om
bone
O
O
2 2 Tru
mpe
t
O
O
3 3 T
Sax
O O 4
4 A
Sax
D O 5 5
Clarinet
O O 7 6
Harmo n
ica
O
O
9 7 Vio
li
n
O O
11
8 F
lute
O O
26 9 EI.
Piano
D D
20
O
St
rin
gs
OR
GA
N
(Treb
l
e)
TX/RX
(w
ith
o
ut
rot
ary
effee
t)
O O
27
1
Pere
Jazz
O O
28
2
Jazz
Ba
ll
ad
O O
29
3
Dist
ort
Organ
O O
30
4 Full
Orga
n
D O
31
5
Overd
r
Orga
n
O O
32
6
Po
p
ular
Or
gan
O O
33
7
Ligh
Jazz
O O
34
8
Bossa
O O
35
9
Latin
O
O
36
O
Light
Latin