ofxMidi LSB and MSB values?

I am using danomatika’s ofxMidi to get midi inputs.

ofxMidiMessage appears to return an array something like


For pitchbend or other functions that return LSB/MSB values (like Song Position Pointer), are those combined into a single value in the ofxMidiMessage data?

Also - what are the bytes returned from ofxMidiMessage? Is this the raw status bytes + data bytes?

the bytes vector is the actual raw data of the message.
Look at the following as for how the LSB and MSB are extracted.

1 Like