How to make two dials behave as inpoint/outpoint min/max
I'd like to have two dials. One dial sets the inpoint of a sound and the second dial sets the outpoint. The problem is I need the inpoint dial to never be greater than the outpoint dial. How can I do this ? I'm currently using live.dials but I could use normal dials if required.
Something along these lines?
That helped a ton ! Thanks.
This is what I ended up with since I needed floats
Actually, the resolution of the normal dial is pretty low. Any chance you could figure out a way to do it with live.dial ? (they don't support max/min attributes)
You're welcome, Troy.
Just glad I could actually help someone for once, instead of only using the forum to *get* help (like CK's currently helping me in another thread). Merry Christmas!
I figured it out !
Ha! You're way too fast for me. Trying to write a response and you've already figured it out. :-)
I just wish the if object would support the @triggers attribute so I didn't have to use two separate if objects.
Just encapsulate 'em and they'll look like one object. ;-)
[clip] is your friend
@Troy: check out bondo; it will probably solve your triggers scenario.
Problems that can be solved with an if-then can usually be solved with either gate or switch. This can be helpful because it gets you used to doing this at signal rate (selector~ and gate~) where there is no if-then type object. (Though it's doable in gen~)
FWIW, I'd probably do it this way.