|
|
@ -1732,9 +1732,15 @@ void send_sysex_voice(uint8_t midi_channel, uint8_t* data) |
|
|
|
|
|
|
|
|
|
|
|
void send_sysex_bank(uint8_t midi_channel, uint8_t* bank_data) |
|
|
|
void send_sysex_bank(uint8_t midi_channel, uint8_t* bank_data) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
#ifdef MIDI_DEVICE_DIN |
|
|
|
midi_serial.sendSysEx(4104, bank_data); // Send to DIN MIDI
|
|
|
|
midi_serial.sendSysEx(4104, bank_data); // Send to DIN MIDI
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#ifdef MIDI_DEVICE_USB |
|
|
|
midi_usb.sendSysEx(4104, bank_data); // Send to USB MIDI
|
|
|
|
midi_usb.sendSysEx(4104, bank_data); // Send to USB MIDI
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#ifdef MIDI_DEVICE_USB_HOST |
|
|
|
usbMIDI.sendSysEx(4104, bank_data); // Send to USB-HOST MIDI
|
|
|
|
usbMIDI.sendSysEx(4104, bank_data); // Send to USB-HOST MIDI
|
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void send_sysex_param(uint8_t midi_channel, uint8_t var, uint8_t val, uint8_t param_group) |
|
|
|
void send_sysex_param(uint8_t midi_channel, uint8_t var, uint8_t val, uint8_t param_group) |
|
|
@ -1755,9 +1761,15 @@ void send_sysex_param(uint8_t midi_channel, uint8_t var, uint8_t val, uint8_t pa |
|
|
|
} |
|
|
|
} |
|
|
|
s[4] = val & 0x7f; |
|
|
|
s[4] = val & 0x7f; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef MIDI_DEVICE_DIN |
|
|
|
midi_serial.sendSysEx(5, s); // Send to DIN MIDI
|
|
|
|
midi_serial.sendSysEx(5, s); // Send to DIN MIDI
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#ifdef MIDI_DEVICE_USB |
|
|
|
midi_usb.sendSysEx(5, s); // Send to USB MIDI
|
|
|
|
midi_usb.sendSysEx(5, s); // Send to USB MIDI
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#ifdef MIDI_DEVICE_USB_HOST |
|
|
|
usbMIDI.sendSysEx(5, s); // Send to USB-HOST MIDI
|
|
|
|
usbMIDI.sendSysEx(5, s); // Send to USB-HOST MIDI
|
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#endif // MIDI_DEVICES_H
|
|
|
|
#endif // MIDI_DEVICES_H
|
|
|
|