Page 1 of 1

OSC Command...

Posted: Sun May 25, 2014 20:43
by lonestar
can anyone help me.
i use touch osc for control resolume.
for scale is the correct command

/composition/video/scale/values
i will create a button for reset the scale to 100
i cannot insert range in touch osc. can only create the float 0 or 1
what is the correct command line?
i use the touch osc editor. what other editors for osc available.

thanks

Re: OSC Command...

Posted: Mon May 26, 2014 16:18
by Joris
The value for scale runs from 0% to 1000%. For use with OSC, these values are normalised to the 0...1 range. This means that sending 0 gives 0% scale, sending 1 gives 1000%, 0.7 gives 700% etc etc.

So for 100% scale, you need to send an OSC value of 0.1. For a 'reset to 100%' button, simply create a push button, and set both the min and max values to 0.1.

Attached is a simple example that resets layer 1 to 100% scale.

Hope that makes things a bit clearer.