Page 1 of 1
incr or decr by an amount other than 1
Posted: 18 Nov 2017 19:06
by Imza
Hey all. I have a slider with an OSC range of 1 to 10,000 and I have set a hidden fader to capture this range, and a monitor for it. I want to increment x by .0001 instead of by 1. How do I tell it to do this?
Fader.x+.0001; does not work
Re: incr or decr by an amount other than 1
Posted: 22 Nov 2017 10:54
by Macciza
Try this for size ...
Forget the capture fader, just use the monitor object
make a script in the monitor executing On_OSC with address as needed...
value = OSC_ARGS*0.0001;
this makes the 'value of the Monitor show the incoming OSC value times 0.0001
Adjust the 'Precision' (number of decimal values) as needed
Cheers