arduino_midi_library
arduino_midi_library copied to clipboard
not sure how to use the handle system exclusive function
Hello and thanks so much for this library. The MidiUSB library has no documentation on how to handle system exclusive messages so this is why I'm trying to use this library.
I added the following line to my program, but I'm not sure how to serial print the actual received system exclusive message's data. How would I do that? Is this because returned value is an array and I guess I have to iterate over it or use some other technique to display array content? Thanks for the help.
void handleSystemExclusive(byte* array, unsigned size) { Serial.println(what do I put here to print contents of the system exclusive message?); }
Sysex messages are not standardised in its contents like other messages. They are device / manufacturer specific. So you may check the midi implementation chart of the device that sent the sysex data and provide a dedicated display routine on that, if you want to show what was inside the message. Otherwise you will have to fallback to a simple hex display.....