I’m trying to command Resolume with Touchdesigner using absolute values but can’t figure out how to add spaces.
I’m using the OSCOUT dat but can’t figure it out… I’m using this…
op(‘oscout1’).sendOSC(‘/composition/master “a”’, [75])
Copy pasting this from Resolume ( OSC - Resolume )
Absolute values
“Hold up, Resolume. This whole type tag thing sounds needlessly complex. Why I gotta do all this math and looking up which blend mode is what number. And who in their right mind starts counting at 0 or writes a color by shifting bits? This is super geeky! Can’t I just say what I need like a normal person?”
Good point, and yes, you can. Well, you’re a VJ, so by definition you’re not a normal person. But yeah, you can just say what you need. Just not like a normal person.
For instance, for blend modes, you can just send the name of the blend mode you want to use as a string.
/composition/selectedlayer/video/mixer/blendmode “Alpha”
This will set the blend mode of the selected layer to alpha.
If the application that you use to send OSC will let you send multiple arguments, you can do a similar thing for absolute values.
This makes a lot of sense if you want to position a clip on a specific x and y pixel value. You can do this by first specifying that you want to use the absolute value. You do this by using “a” as the first argument after the address, followed by the absolute value itself.
/composition/layers/1/clips/1/video/effects/transform/positionx “a” 320
This will set clip 1 in layer 1 to 320 pixels along the x-axis.