Re: Set GUI Controls to a Value - Halp?
Posted: Tue Apr 23, 2013 10:08 am
Hi, I just started experimenting with flowstone a few days ago. Could someone send me an example or explain how i reset a knob to a value via mouseLDouble or a mouse event component? Could only find help on synthmaker, but i want to use ruby, and most of all, understand what i'm doing. I dont really understand the talk in this thread 
Edit: Figured it out
def mouseLDouble x,y
@value = [[@value,0.5].min,0.5].max
output 0,@value
output 1,true
redraw
Edit: Figured it out
def mouseLDouble x,y
@value = [[@value,0.5].min,0.5].max
output 0,@value
output 1,true
redraw