AMX AXB-MIDI Instruction Manual page 14

Axlink bus controllers
Hide thumbs Also See for AXB-MIDI:
Table of Contents

Advertisement

Programming
SEND_STRING MIDI,"$B0 + (MIDI_CHANNEL - 1), CONTROLLER, VALUE"
Specific example set volume to 50% on MIDI ch 5:
MIDI_CHANNEL = 5
5 - 1 = 4
$B0 + 4 = $B4,
The standard MIDI Volume controller is 7,
127 * 50% = 64 (approximately), thus the send string,
SEND_STRING MIDI,"$B4, 7, 64"
Selected MIDI controller numbers:
BANK SELECT MSB
VOLUME
PAN
EXPRESSION
GENERAL PURPOSE CONTROLLER # 1
GENERAL PURPOSE CONTROLLER # 2
GENERAL PURPOSE CONTROLLER # 3
GENERAL PURPOSE CONTROLLER # 4
BANK SELECT LSB
HOLD
REVERB SEND
EFFECTS 2 DEPTH
CHORUS SEND
EFFECTS 4 DEPTH
EFFECTS 5 DEPTH
ALL SOUND OFF
RESET ALL CONTROLLERS
The Control change is denoted by status byte $B0 (for MIDI channel 1) through status byte $BF (for MIDI
channel 16), followed by two data bytes.
PRGM EX. 4
MIDI_CHANNEL = 6
6 - 1 = 5
$90 + 5 = $95
Note = 60
Velocity = 96, thus the send string,
SEND_STRING MIDI,"$95,60,96"
To turn the same note off:
SEND_STRING MIDI,"$95,60,0"
Specific example, Middle C (Note #60) on, on MIDI ch 6. If you're not sure what velocity to use try some-
thing between 64 (half) and 127(full), how about 96?
PRGM EX. 5
10
= 0
= 7
= 10
= 11
(* A SECOND VOLUME CONTROL *)
= 16
= 17
= 18
= 19
= 32
= 64
(* 2nd data byte of 63 or less = OFF,
64 or greater = ON *)
= 91
= 92
= 93
= 94
= 95
= 120 (* 2nd data byte is always "0" *)
= 121 (* 2nd data byte is always "0" *)
AXB-MIDI MIDI Interface

Advertisement

Table of Contents
loading

Table of Contents