View Single Post
Old 11-15-2013, 03:28 PM   #12
Human being with feelings
jnif's Avatar
Join Date: Dec 2008
Posts: 2,090

For this project the EEL2 syntax was extended slightly, via the use of a preprocessor, so that you can specify format strings for OSC. For example, you can tell REAPER to set a track's volume via:

oscfmt0 = trackindex;
oscsend(destination, { "/track/%.0f/volume" }, 0.5);

Internally, { xyz } is stored to a string table and inserted as a magic number which refers to that string table entry. It is cheap, but it works.
Any plans to support text strings in JS plugins?
It would be much more convenient than the current single character text support.

jnif is offline   Reply With Quote