Implémentation MIDI
1. Receive Data (Sound Source Section)
Channel Voice Messages
Note off
Status
2nd byte
8nH
kkH
9nH
kkH
n = MIDI channel number:
0H - FH (ch.1 - 16)
kk = note number:
00H - 7FH (0 - 127)
vv = note off velocity:
00H - 7FH (0 - 127)
Note on
Status
2nd byte
9nH
kkH
n = MIDI channel number:
0H - FH (ch.1 - 16)
kk = note number:
00H - 7FH (0 - 127)
vv = note on velocity:
01H - 7FH (1 - 127)
Polyphonic Key Pressure
Status
2nd byte
AnH
kkH
n = MIDI channel number:
0H - FH (ch.1 - 16)
kk = note number:
00H - 7FH (0 - 127)
vv = Polyphonic Key Pressure: 00H - 7FH (0 - 127)
Control Change
Modulation (Controller number 1)
Status
2nd byte
BnH
01H
n = MIDI channel number:
0H - FH (ch.1 - 16)
vv = Modulation depth:
00H - 7FH (0 - 127)
Volume (Controller number 7)
Status
2nd byte
BnH
07H
n = MIDI channel number:
0H - FH (ch.1 - 16)
vv = Volume:
00H - 7FH (0 - 127)
* Controls the volume of the part that correspond to received MIDI channel number.
Panpot (Controller number 10)
Status
2nd byte
BnH
0AH
n = MIDI channel number:
0H - FH (ch.1 - 16)
vv = Panpot:
00H - 40H - 7FH (Left - Center - Right),
* Controls the panpot of the part that correspond to received MIDI channel number.
Hold 1 (Controller number 64)
Status
2nd byte
BnH
40H
n = MIDI channel number:
0H - FH (ch.1 - 16)
vv = Control value:
00H - 7FH (0 - 127) 0-63 = OFF, 64-127 = ON
* Controls the hold of the part that correspond to received MIDI channel number.
412
3rd byte
vvH
00H
3rd byte
vvH
3rd byte
vvH
3rd byte
vvH
3rd byte
vvH
3rd byte
vvH
3rd byte
vvH
Resonance (Controller number 71)
Status
2nd byte
BnH
47H
n = MIDI channel number:
0H - FH (ch.1 - 16)
vv= Resonance value (relative change):00H - 40H - 7FH (-64 - 0 - +63),
* Controls the resonance of the part that correspond to received MIDI channel number.
Release Time (Controller number 72)
Status
2nd byte
BnH
48H
n = MIDI channel number:
0H - FH (ch.1 - 16)
vv = Release Time value (relative change):00H - 40H - 7FH (-64 - 0 - +63),
* Controls the release time of the part that correspond to received MIDI channel number.
Attack time (Controller number 73)
Status
2nd byte
BnH
49H
n = MIDI channel number:
0H - FH (ch.1 - 16)
vv = Attack time value (relative change):00H - 40H - 7FH (-64 - 0 - +63),
* Controls the attack time of the part that correspond to received MIDI channel number.
Cutoff (Controller number 74)
Status
2nd byte
BnH
4AH
n = MIDI channel number:
0H - FH (ch.1 - 16)
vv = Cutoff value (relative change):00H - 40H - 7FH (-64 - 0 - +63)
* Controls the cutoff of the part that correspond to received MIDI channel number.
Effect 1 (Reverb Send Level) (Controller number 91)
Status
2nd byte
BnH
5BH
n = MIDI channel number:
0H - FH (ch.1 - 16)
vv = Reverb Send Level:
00H - 7FH (0 - 127)
* Controls the reverb send level of the part that correspond to received MIDI channel
number.
Effect 3 (Chorus Send Level) (Controller number 93)
Status
2nd byte
BnH
5DH
n = MIDI channel number:
0H - FH (ch.1 - 16)
vv = Chorus Send Level:
00H - 7FH (0 - 127)
* Controls the chorus send level of the part that correspond to received MIDI channel
number.
Program Change
Status
2nd byte
CnH
ppH
n = MIDI channel number:
0H - FH (ch.1 - 16)
pp = Program number:
00H - 7FH (prog.1 - prog.128)
* Program change that received each MIDI channel number will function as the patch
change.
3rd byte
vvH
3rd byte
vvH
3rd byte
vvH
3rd byte
vvH
3rd byte
vvH
3rd byte
vvH