I want to have some audio processor parameters that is not automatable.
And I read many threads about that subject. But can’t find simply solution.
Some people say the solution is to create own class inherited from
AudioProcessorValueTreeState::Parameter and override method
iaAutomatable() to make it return always false. But other people say
isAutomatable() is not supported by some hosts.
So for my non automatable parameters I tried to avoid using
AudioProcessorValueTreeState::Parameter and instead I use just simply variables for example
But then the problem is how to update slider value from
setStateInformation() when I want to recall saved parameters. Or from other methods. Of course I can create pointer to my slider and then update that slider by that pointer. But then the next problem is when I open let’s say Logic Pro X project and my plugin is loaded but by default it’s closed, then my pointer to slider would be
So I need also create in editor some reference to my parameter, which allows me to update slider properly always I open the editor.
But now it starts to look like some mess. I feel it’s not smart solution. So I want to ask for advice how you solve such issues?
For any help thanks in advance.