Urgent help needed: how does the osc parameter for /layer1/video/positionx/values (Float 0.0 - 1.0) range (-16384.0 - 16384.0) has to look like ????
Need to have absolute Pixel position and no float. (resolution too low)
Tried to send:
/layer1/video/positionx/values ,f -336.0 to 3283.0
and
/layer1/video/positionx/range ,f -336.0 to 3283.0
Osc connection is working but no reaction of resolume...sending as integer is difficult...
OSC PositionX Pixel Control ?
-
- Posts: 199
- Joined: Wed Sep 20, 2006 20:49
- Location: Germany,Bielefeld
Re: OSC PositionX Pixel Control ?
It requires a float 0.0 - 1.0, so you just need to normalize your value.
So, for instance, if your value is -383 and the range is from X=-16384 to x=16384 then the normalized value would be (16384-383)/16384*2=0.4883117676. This also means that f=0.5 would be the center of the range and X=0 and anything from f=0 to f<0.5 would be left of center and f>0.5 to 1 would be right of center.
Then you would send the following command: /layer1/video/positionx/values 0.4883117676
Does that make sense?
So, for instance, if your value is -383 and the range is from X=-16384 to x=16384 then the normalized value would be (16384-383)/16384*2=0.4883117676. This also means that f=0.5 would be the center of the range and X=0 and anything from f=0 to f<0.5 would be left of center and f>0.5 to 1 would be right of center.
Then you would send the following command: /layer1/video/positionx/values 0.4883117676
Does that make sense?
Re: OSC PositionX Pixel Control ?
With Resolume 6 you can send absolute values via OSC too.
For this you need to set the OSC message first argument to "a" for absolute, then the second argument should be the value you want to set to.
Currently this is a bit buggy: it works fine for positive values, but not for negative. We have a ticket for this.
For this you need to set the OSC message first argument to "a" for absolute, then the second argument should be the value you want to set to.
Currently this is a bit buggy: it works fine for positive values, but not for negative. We have a ticket for this.
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu