MidiMessageCollector/MidiBuffer and handlePartialSysexMessag


#1

Are those compatible, i mean can i pass the partial data that comes in handlePartialSysexMessage to a MidiBuffer or to a MidiMessageCollector, i know that for MidiMessage that won’t work cause you do some checking for validity of the raw data passed in to the MidiMessage, so i was wondering do i need to implement some form of MemoryBlockCollector for this ?


#2

No - none of the classes that manipulate midi data are designed to handle partial data - the only stage where you see any partial data is in the input callback, and you should treat it as a special case.