None
None
spinner inchannel
spinner outchannel
combo output device
if (status == MIDI_NOTE_ON + (attr_inchannel - 1)) {
MidiSend3((midi_device_t)attr_device, MIDI_NOTE_ON + (attr_outchannel - 1),
data1, data2);
}
if (status == MIDI_NOTE_OFF + (attr_inchannel - 1)) {
MidiSend3((midi_device_t)attr_device, MIDI_NOTE_OFF + (attr_outchannel - 1),
data1, data2);
}
if (status == (attr_inchannel - 1) + MIDI_CONTROL_CHANGE) {
MidiSend3((midi_device_t)attr_device,
(attr_outchannel - 1) + MIDI_CONTROL_CHANGE, data1, data2);
}
if (status == MIDI_POLY_PRESSURE + (attr_inchannel - 1)) {
MidiSend3((midi_device_t)attr_device,
MIDI_POLY_PRESSURE + (attr_outchannel - 1), data1, data2);
}
if (status == MIDI_PROGRAM_CHANGE + (attr_inchannel - 1)) {
MidiSend3((midi_device_t)attr_device,
MIDI_PROGRAM_CHANGE + (attr_outchannel - 1), data1, data2);
}
if (status == MIDI_PITCH_BEND + (attr_inchannel - 1)) {
MidiSend3((midi_device_t)attr_device, MIDI_PITCH_BEND + (attr_outchannel - 1),
data1, data2);
}
if (status == MIDI_CHANNEL_PRESSURE + (attr_inchannel - 1)) {
MidiSend2((midi_device_t)attr_device,
MIDI_CHANNEL_PRESSURE + (attr_outchannel - 1), data1);
}