MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
6 #define USB_MIDI_NUMBER_OF_CABLES MIDI_NUM_CABLES
7 #elif defined(USB_MIDI4_SERIAL) || defined(USB_MIDI4)
8 #define USB_MIDI_NUMBER_OF_CABLES 4
9 #elif defined(USB_MIDI16_AUDIO_SERIAL) || defined(USB_MIDI16_SERIAL) || \
12 #define USB_MIDI_NUMBER_OF_CABLES 16
14 #define USB_MIDI_NUMBER_OF_CABLES 1
29 uint8_t
getCN()
const override {
return CN; }
T * end()
Get a pointer to the memory beyond the array.
void startSysEx(uint8_t CN)
void endSysEx(uint8_t CN)
Array< SysExBuffer, 1 > sysexbuffers
#define BEGIN_CS_NAMESPACE
bool receivingSysEx(uint8_t CN) const
SysExMessage getSysEx() const override
Get the latest SysEx message.
bool addSysExByte(uint8_t CN, uint8_t data)
MIDI_read_t parse(uint8_t *packet)
An array wrapper for easy copying, comparing, and iterating.
uint8_t getCN() const override
Get the cable number of the latests MIDI message.