Navira
1
Hi i need disable automation.
I try override
bool AudioProcessorParameter::isAutomatable() const { return true; }
class FloatParameter : public AudioProcessorParameter
{
public:
.....
bool AudioProcessorParameter::isAutomatable() const { return false; }
}
FloatParameter *param;
create new param
addParameter(param= new FloatParameter(0.99f, "paramname"));
But param stil automatable, where I made a mistake? This function is not for this?
Not all hosts will care about that. What host and plugin format are you testing with?
Navira
3
Ohh... it is sad
Vsti tested in Reaper
Can I hide the parameters? or any other way of doing this?
jules
4
No, that flag is available for the host to check whether a parameter is automatable, but it's entirely up to the host whether it chooses to ignore it.
chkn
5
Can I hide the parameters? or any other way of doing this?
Don't add the parameter to the parameter list, simply as that (save values via state)