Is there a way to get the RAW incoming data instead of doing this?
// MIDI message, defined by these 5 numbers (except SysEX)
type = USBhostMIDI[LCXL1.port].getType(); // MIDI message, 128-255
channel = USBhostMIDI[LCXL1.port].getChannel(); // MIDI channel, 1-16
data1 = USBhostMIDI[LCXL1.port].getData1(); // first data byte, 0-127
data2 = USBhostMIDI[LCXL1.port].getData2(); // second data byte, 0-127
cable = USBhostMIDI[LCXL1.port].getCable(); // which virtual cable with MIDIx8, 0-7
I much rather would get rid of this layer of confusion that abstracts the understanding of the actual data.
// MIDI message, defined by these 5 numbers (except SysEX)
type = USBhostMIDI[LCXL1.port].getType(); // MIDI message, 128-255
channel = USBhostMIDI[LCXL1.port].getChannel(); // MIDI channel, 1-16
data1 = USBhostMIDI[LCXL1.port].getData1(); // first data byte, 0-127
data2 = USBhostMIDI[LCXL1.port].getData2(); // second data byte, 0-127
cable = USBhostMIDI[LCXL1.port].getCable(); // which virtual cable with MIDIx8, 0-7
I much rather would get rid of this layer of confusion that abstracts the understanding of the actual data.