Page 1 of 1

knob default on interface open cannot be set to 0??

Posted: 03 Jun 2012 05:27
by drewboles
Hey all -
Has anybody noticed that if you put knobs in an interface, and then try to save the interface with them set to 0, they do not reopen on this setting? I can do this with other controllers (i.e. faders, multisliders), but when I try to do this with knobs, every time I open the interface, any knobs set to 0 on save default to the same x values knobs have when you drag them into your template. Does anybody know why this is? An obvious and easy workaround is to save the knob at .01, but it would be nice to just drag it to 0, save, and have it reopen properly.
Maybe it's just a current bug with the knob object. But I'd love anybody's thoughts on this.

Drew

Re: knob default on interface open cannot be set to 0??

Posted: 03 Jun 2012 11:51
by Macciza
Hi
I think the best way to ensure values is to set up init functions that are called OnLoad to set default values.

Cheers
MM

Re: knob default on interface open cannot be set to 0??

Posted: 05 Jun 2012 00:37
by drewboles
Well, I hear ya, but I actually disagree that that is the best way to accomplish default values.
For example, if you're using Lemur for a session, and decide you need to tweak the default values, it is far easier to simply make those changes and be able to save it, rather than going into an "on load" script and entering in the new values.
Currently, you can use this quick-save method for any controller, at any value, EXCEPT for the knobs at value 0. This certainly seems like a bug to me, unless there is something about the functionality of the knob that I am not perceiving.

Re: knob default on interface open cannot be set to 0??

Posted: 05 Jun 2012 07:03
by Macciza
Yep, fair call,
Was not sure what context you were talking -
In general it is best to initialise values rather than expect them to be any particular value ie 0
and yes there does seem something astray there with Knob compared to other objects, I will pass it on.

Cheers
MM