I'm trying create a set of FreeFrame source plugins using OpenFrameworks and ofxFFGL and I've been trying to figure out if it is possible to set default values for parameters shared between the host and the plugin. At the moment, it looks like Resolume automatically chooses default values for my plugin parameters when the plugin is first loaded. However, these values do not represent what I want users to first see. For example, in the constructor of one of my plugins I have the following:
Code: Select all
_branchSpeed = 15.0;
addFloatParameter( "Speed", &_branchSpeed, 1.0f, 50.0f );
Even though I have initialized the parameter's value to 15, Resolume re-sets it to either the min or max parameter value. Is there anything I can do about this?
Thanks in advance for your help,