Set default parameter values for source plugin
Posted: Thu Dec 30, 2010 00:11
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:
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,
marc
Code: Select all
_branchSpeed = 15.0;
addFloatParameter( "Speed", &_branchSpeed, 1.0f, 50.0f );
Thanks in advance for your help,
marc