View Single Post
Old 07-31-2018, 03:02 AM   #1
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 18,082
Default Parsing project chunks in ReaScripts

Here are a couple of anomalies in the project file chunkss, making parsing in ReaScripts awkward.

Quote:
<VST "VST: MEqualizer (MeldaProduction)" MEqualizer.dll 0 "" 1296131379
vs
<JS "IX/MIDI_KeyMap II" ""
Parsing to extract the FX name traditionally looks for a space then another space followed by an opening bracket (; neither are present in the JS FX string

and
Quote:
PARMLEARN 12 12976 2
vs
PARMLEARN 5:wet 14000 2
Parsing to extract the data traditionally relies on the second element being numeric (it is the parameter number). The Bypass and Wet parameters added by Reaper to every FX have a text suffix.
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is offline   Reply With Quote