After a long pause I finished a new instrument and exported it as VST3. After loading the plugin into REAPER, at first everything seemed to work perfectly. Selection of presets, automation of parameters etc. But when I saved the .rpp file and loaded it later to continue working it lost all parameter settings. Upon reloading the REAPER project parameters always fall back to the defaults in the range() commands. The .csd file is attached together with some presets.
I tried several things:
- I removed the preset/combobox mechanism. No change.
- I went back to the non-queue guiMode. No change.
- I exported an earlier instrument (Gauss) with the same version of Cabbage. The newly generated VST3 works correctly as the one made half a year ago.
At that point I also saw that I don’t understand how the setting of the sliders works in a VTS3 export. If I start from cabbage it is clear that all sliders are set to the range()-defaults and changed as soon as I select a preset from the combobox. But what happens when I start it from within a DAW? At what time will the parameters saved by the DAW overwrite the defaults? There is one thing in this instrument which I never tried before, ksmps=1. Could this affect the timing?