Troubleshooting

incr or decr by an amount other than 1

Started by Imza on .

Sign in or create an account to join the conversation.

2 posts

Topic starter
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
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