Dynamic ranges in an OTL

   3814   6   4
User Avatar
Member
124 posts
Joined: July 2005
Offline
I was wondering if there is a way to adjust the range of a parameter in an OTL based on another parameter. I just want to make it so that one parameter can't be moved outside the range of another parameter to safe gaurd against conflicting parameters. I thought maybe opparm might work but I can only get it to affect the value not the range.
Any ideas?
User Avatar
Member
696 posts
Joined: March 2006
Offline
maybe with using some clever if or fit expressions?
Stephen Tucker
VFXTD
User Avatar
Member
124 posts
Joined: July 2005
Offline
Is there some way to feed this back to the OTL parameters or do I just need to override it internaly. I would like to feed back to the visible parameters so the user can see what is going on if possible.
User Avatar
Member
1388 posts
Joined: July 2005
Online
I think you can't do any expression in range's fields of HDA, but you definitely can change what does mean 0-1 range by multiplying it with some dynamically evaluated channel, parameter, expression and using it, instead your param.
User Avatar
Staff
3397 posts
Joined: July 2005
Offline
and no, you can't send it back to update the parameters since they are built by the dialog script…changeing them would change the definition of your HDA
Michael Goldfarb | www.odforce.net
Senior Technical Director
SideFX
www.sidefx.com
User Avatar
Member
124 posts
Joined: July 2005
Offline
Thanks for the info. I think I will see if I can get SYmek's idea to work acceptably.
User Avatar
Member
321 posts
Joined: July 2005
Offline
SYmek
I think you can't do any expression in range's fields of HDA, but you definitely can change what does mean 0-1 range by multiplying it with some dynamically evaluated channel, parameter, expression and using it, instead your param.
I've done similar stuff by having the channel's range be somewhat greater than the largest expected value, and then in a callback, resetting the parameter value to the min/max of what's allowable.
Antoine Durr
Floq FX
antoine@floqfx.com
_________________
  • Quick Links