std :: audio::midi
Function std::midi_message_length
int midi_message_length(int status)Expected length of a message starting with 'status': 1..3, 0 for sysex (variable), -1 for a data byte (< 0x80) or an undefined status.
std :: audio::midi
int midi_message_length(int status)Expected length of a message starting with 'status': 1..3, 0 for sysex (variable), -1 for a data byte (< 0x80) or an undefined status.