44 |
* MIDI channels |
* MIDI channels |
45 |
*/ |
*/ |
46 |
enum midi_chan_t { |
enum midi_chan_t { |
47 |
midi_chan_all = 0, |
midi_chan_1 = 0, |
48 |
midi_chan_1 = 1, |
midi_chan_2 = 1, |
49 |
midi_chan_2 = 2, |
midi_chan_3 = 2, |
50 |
midi_chan_3 = 3, |
midi_chan_4 = 3, |
51 |
midi_chan_4 = 4, |
midi_chan_5 = 4, |
52 |
midi_chan_5 = 5, |
midi_chan_6 = 5, |
53 |
midi_chan_6 = 6, |
midi_chan_7 = 6, |
54 |
midi_chan_7 = 7, |
midi_chan_8 = 7, |
55 |
midi_chan_8 = 8, |
midi_chan_9 = 8, |
56 |
midi_chan_9 = 9, |
midi_chan_10 = 9, |
57 |
midi_chan_10 = 10, |
midi_chan_11 = 10, |
58 |
midi_chan_11 = 11, |
midi_chan_12 = 11, |
59 |
midi_chan_12 = 12, |
midi_chan_13 = 12, |
60 |
midi_chan_13 = 13, |
midi_chan_14 = 13, |
61 |
midi_chan_14 = 14, |
midi_chan_15 = 14, |
62 |
midi_chan_15 = 15, |
midi_chan_16 = 15, |
63 |
midi_chan_16 = 16 |
midi_chan_all = 16 |
64 |
}; |
}; |
65 |
|
|
66 |
/** MIDI Port Parameter 'NAME' |
/** MIDI Port Parameter 'NAME' |
138 |
* @param Key - MIDI key number of the triggered key |
* @param Key - MIDI key number of the triggered key |
139 |
* @param Velocity - MIDI velocity of the triggered key |
* @param Velocity - MIDI velocity of the triggered key |
140 |
* @param MidiChannel - MIDI channel on which event occured on |
* @param MidiChannel - MIDI channel on which event occured on |
141 |
|
* (low level indexing, means 0..15) |
142 |
*/ |
*/ |
143 |
void DispatchNoteOn(uint8_t Key, uint8_t Velocity, uint MidiChannel); |
void DispatchNoteOn(uint8_t Key, uint8_t Velocity, uint MidiChannel); |
144 |
|
|
151 |
* @param Key - MIDI key number of the released key |
* @param Key - MIDI key number of the released key |
152 |
* @param Velocity - MIDI velocity of the released key |
* @param Velocity - MIDI velocity of the released key |
153 |
* @param MidiChannel - MIDI channel on which event occured on |
* @param MidiChannel - MIDI channel on which event occured on |
154 |
|
* (low level indexing, means 0..15) |
155 |
*/ |
*/ |
156 |
void DispatchNoteOff(uint8_t Key, uint8_t Velocity, uint MidiChannel); |
void DispatchNoteOff(uint8_t Key, uint8_t Velocity, uint MidiChannel); |
157 |
|
|
162 |
* |
* |
163 |
* @param Pitch - MIDI pitch value |
* @param Pitch - MIDI pitch value |
164 |
* @param MidiChannel - MIDI channel on which event occured on |
* @param MidiChannel - MIDI channel on which event occured on |
165 |
|
* (low level indexing, means 0..15) |
166 |
*/ |
*/ |
167 |
void DispatchPitchbend(int Pitch, uint MidiChannel); |
void DispatchPitchbend(int Pitch, uint MidiChannel); |
168 |
|
|
175 |
* @param Controller - MIDI controller number |
* @param Controller - MIDI controller number |
176 |
* @param Value - MIDI control change value |
* @param Value - MIDI control change value |
177 |
* @param MidiChannel - MIDI channel on which event occured on |
* @param MidiChannel - MIDI channel on which event occured on |
178 |
|
* (low level indexing, means 0..15) |
179 |
*/ |
*/ |
180 |
void DispatchControlChange(uint8_t Controller, uint8_t Value, uint MidiChannel); |
void DispatchControlChange(uint8_t Controller, uint8_t Value, uint MidiChannel); |
181 |
|
|