Hi there,
I’m new to iPlug2, and over the past couple of weeks managed to build my first UI for a project I’m working on:
One of the features of this EQ UI is that the currently selected handle is stored in a parameter called “activeBandId”. The issue is that this is then available through the host when compiled as a VST3 plugin. I really don’t want it to be since then a user could mess with the operation of the GUI.
How could I create a parameter that is used by the UI but is not exposed to the DSP? The no parameter option also doesn’t really work since then it doesn’t take part in the main update cycles.
I don’t really want to hold such a parameter multiple times, since in the above interface the curve drawing is one custom IControl, the bottom section with 8 rounded boxes that change when you click, is another, and the 3 knobs to the left are another, and they all need to know what the currently active value is.
What do people do in iPlug2 to reliably track such state that is shared between multiple IControls, but is not exposed to the DSP and such that changing this value from one of multiple IControls, safely, and efficiently, notifies and updates all the other ones.
I’m thinking of extending this concept even further to have basically DSP-related parameters in one set, and UI-only parameters in another, but iPlug2 doesn’t really seem to have this as a concept, unless I’m missing something.
THANKS!