asb2m10 / jsusfx

Opensource Jesusonic FX implementation
Other
70 stars 13 forks source link

spl(channelindex) syntax missing #19

Closed marcel303 closed 6 years ago

marcel303 commented 6 years ago

Currently any script which uses the "spl(channelindex)" syntax fails to compile. This makes many jsfx fail to work.

Reaper documentation, http://reaper.fm/sdk/js/vars.php#js_specialvars

spl(channelindex) -- REAPER 2.018+ Context: @sample only If you wish to programmatically choose which sample to access, use this function (rather than splX). This is slightly slower than splX, however has the advantage that you can do spl(variable) (enabling easily configurable channel mappings). Valid syntaxes include:

spl(channelindex)=somevalue; spl(5)+=spl(3);

marcel303 commented 6 years ago

This issue is addressed in the pull request I just made, so we can close it when merged. :-)