danomatika / ofxMidi

(maintained) Midi addon for openFrameworks
Other
262 stars 72 forks source link

Song Position Pointer not implemented? #26

Closed DamnJack closed 7 years ago

DamnJack commented 10 years ago

SPP message shows status of same, but the value itself is not set; it always returns a 0. Easy workaround in the meantime -- switch statement on (ofxMidiMessage msg).status:

case MIDI_SONG_POS_POINTER:

        midibeat = msg.bytes[2] << 7 | msg.bytes[1];

        break;
danomatika commented 7 years ago

I've added parsing the value for SPP messages into the ofxMidiMessage.value variable. Can you test?