In the EqualizerExample, there are two convenient ToggleButton enables for the input and output spectral displays. The editor support for them is apparently added via
inputAnalysing.attachToValue (magicState.getPropertyAsValue ("analyser:input")); outputAnalysing.attachToValue (magicState.getPropertyAsValue ("analyser:output"));
These show up as ToggleButton “value” choices analyser / input and analyser / output, right under the “parameter” choice, which is empty.
I see that “input” and “output” are the names of the analysers defined, but the “analyser” prefix is not defined anywhere I can find. Is “analyser:” an arbitrary “directory name” for the property list in the GUI editor? Could we also say something like “analyser:spectrum:input” etc.? I assume the last path element has to be a uniquely defined name, or could the property be created that way?
I assume the parameter path is created by this call, even though it says “getProperty…”, or is there some automatic analyser pathname mechanism I missed?
My guess is that a “parameter” is always an AudioProcessorParameter, while a “value” is more simply any juce::Value that can be used by the plugin for GUI configuration etc. without burdening the audio processing parameter tree.
I assume it works to drive two toggles in parallel if we set both the value and the parameter fields.
Please let me know if I am off on any of this.