Thread: Notation API
View Single Post
Old 06-02-2017, 03:11 AM   #34
reddiesel41264
Human being with feelings
 
reddiesel41264's Avatar
 
Join Date: Jan 2012
Location: North East UK
Posts: 493
Default

Quote:
Originally Posted by juliansader View Post
The API help is bit incomplete:


REAPER uses a non-standard "type" for its notation text events, namely 0x0F, which is not mentioned in the help.

To find the appropriate bytestr for a notation text event, insert the notation the usual way, and then View -> Raw MIDI data.

In the case of the dynamic marker fff, for example, the code would be:
Code:
reaper.MIDI_InsertTextSysexEvt(take, selected, muted, ppqpos, 0x0F, "TRAC dynamic fff")
Aha! thank you, I didn't realise we had that option to view the raw data, very helpful
__________________
http://librewave.com - Freedom respecting instruments and effects
http://xtant-audio.com/ - Purveyor of fine sample libraries (and Kontakt scripting tutorials)
reddiesel41264 is offline   Reply With Quote