[SOLVED] RTAS GetDefaultValue


#1

Is it possible to set a parameter to a default value other than 0? I've tried this in PT10 (OS X) and it appears to be ignored, the parameter always defaults to 0 on instantiation.

 

Thanks,

Alan


#2

I've resolved this with an addition to the RTAS wrapper...

 

 JucePluginControl (AudioProcessor* const juceFilter_, const int index_)
            : juceFilter (juceFilter_),
              index (index_)
        {
            // Set the default value
            CPluginControl::SetValue ( GetDefaultValue () );
        }

#3

Thanks Alan, this seems like a good idea, we'll get it sorted out right away!