From JSFX you should be able to read the notation data using midirecv_str. REAPER-specific notation data will have the first two bytes 0xFF, 0xF. (This is outside the official MIDI spec but still in-band for MIDI text meta-events.)
From other API clients, MIDI_GetTextSysexEvt should work.
Note that very little of the interoperability has been tested, and the notation spec will very likely change over the short term!
|