Hi, I'm trying to extract data from a MIDI System Exclusive message.
I know I need to get the data into a form that lets me read the bytes I need, but first I need to capture the data.
There is a midi.getSysExArray function in the MIDI library, but there is no explanation on GitHub of how to use it. The only information is: const byte * MIDI_Class::getSysExArray ( ) const. Can someone explain what that means or point me to another source of information?
Thanks
1 Like
Hello
Try something like this
byte * arr = midi.getSysExArray();
size_t len = midi.getSysExArrayLength();
for ( size_t i = 0; i < len; i++ )
{
Serial.println( arr[i] );
}
Thank you for your reply, but I'm looking for an explanation of how to use the function.
What does the code you sent mean and what does it do?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.