Hi!
According to this page (https://resolume.com/support/en/osc) you can get the Blendmode for layer 1 by sending the following to Avenue/Arena:
/composition/layers/1/video/mixer/blendmode "?"
I managed to do this using a "Write OSC" node connected to an "OSC Out" node, where I send a ? as STRING. I listen to the answer coming on the same address using an "OSC In" node connected to Print (to view the result in the log).
--begin-wire-patch--
1028.3ocuV0zaaiCD8uhgNaoH9MUtr0IsFn6glEHKPOrwnfVhxlsxhdonbZ1.+eeGJ4Hq.m5FzrXygXxQCmY368lQ5wnbacsN2ar0MQW9WOFU5rafEDLcZjs0us0GsXZj21YKcZzNUUqNZw9oibMCbsI+neDvOSc2Q2u3vxabEZWefASazdUzkOFoZ8qsf4neWkaWN41uYW03CgcZTtxqWYcO.OTWVBkHXqPusx9vFcs+OUtUZeHDKcp570fWvyqUazvpOabZX2NsqAtWAm1n9ZHMBHyl5vJDaZzVkObvz86CQtI2Y1567ODpBSy1J0CepOh2t1duyZ2LYG5KLB7XSATDlRS3NEgyY37BjJljJTwTQYYrBmohQzRAWkwPEoYvYpL455F8bSktOGGLbHGfgMJSEr5qAv3cMOAFIMgai0YVYpUUu4aN+427+tUUY7.LSvRF7LmtwV05Ob70Zyp0P1PoRfTu2T3gygxvovIaT6z+WWM90saVV2CCvQacGVrSWWzITt85IytJB7rV+c+mrE5OV.kNAAFfMMgj.5zNsk26LKa88FM0Mdn.623eXan9L0fDCXvmT0Wh1eXYbuGCd18yfacp8P0tz1VWzLFmBEx.JAZruC+BXWRljmQjTAmwwfY.t4LJNgyoLVpPhvLHb4Upl9hEtSQBAOSf4r34ylwio3qkwR7bDHx3Hzr2OCyI7wnKtKB17uAmcGnOsglHaUGpUB+wUoocl5PBeWhzNW34C2ykVa0w6YoppQCQsz51n7ibCjkl5Ui.j+.16ubRz9ASC9FvpAq0sUUAfaso.ZffwAGpfgb7L7e5HVawfppKWQijJeYmowrLzT4csg5Elwbp.nrxd+nxpa6wKfFDX9P4+J0IuH4KwGI+vLPf7yjoIbBRl0ykCjOmiRjXjPHHTh3LjOmJyhoWI9P7rTLMdFKcFZN8Zp3CzwjO5Wf76GQ+pYpd2GiPS6QwiTyMP24GqmfR+IzS1an+bqxAIyqcw0PBztWu+AuP+3l5Ch5WlZQo7SZrkYxDgDl1PPOQqDdVBCwPDt.IOGsJuJC5oeOmGe0bVV70fQLlOWNO652JspJJfY3Mmqc8tKxsa1ZaLgw72cA7dNHg2cA5tK7vT7mLWz5TcuGXLJhNWb+sfq26L9mM6Ddw0yXkSkVmvomRau7rfOGx0DP1cdAG4W+EB+7Fcb+TdLgjPPLtfHwxiBBQZRJmjAswmuOmsDjAzxBV7RhfFmKxUYTTtFiz+u2meJNGZruo8bSc22+kCstdDE11ZB4LGBfq6a8.PhiQP6gPjlB8PCcMzLJIAA+GQS6FP9O1vGVllPobDkH4LljQvBT.9ZzU8etZnTCSRl1899dRtez+h86+WLorg4K
--end-wire-patch--
QUESTION:
On the same page linked to above, you also read that you 'can use a "+", "-", or "*" to respectively add, subtract or multiply the current value with the incoming one:'
/composition/layers/1/video/opacity "+" 0.2
Which nodes do I connect in Wire (or other tool) to get the above to work and get an answer back from Avenue/Arena? There seems to be both a string (the + sign) and a float value (0.2) in the arguments after the address...
BR, Jacob
Relative values
Re: Relative values
Indeed, relative OSC is broken for floats currently. We're working on it.
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
Re: Relative values
Ok, thanks for the info.
What if it was working (or if there’s a Relative OSC for int’s)? How would it be setup to work, which nodes do I use?
BR, Jacob
What if it was working (or if there’s a Relative OSC for int’s)? How would it be setup to work, which nodes do I use?
BR, Jacob
Re: Relative values
You can change the param type in the Write OSC node, but it seems you can't send two params at the same time with a single message.
So what you could do would be ask the value from Resolume, and add to it in Wire, and send the updated value.
This would also work with floats.
So what you could do would be ask the value from Resolume, and add to it in Wire, and send the updated value.
This would also work with floats.
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
Re: Relative values
Thanks,
Since I haven't found this in-depth information in an easy-to-grasp format anywhere else, I can share what I've learned.
Ask value from Resolume Avenue/Arena:
Connect "Write OSC" node to an "OSC Out" node with the following information:
Use e.g. the following Bitfocus Companion address: /press/bank/52/18 (which corresponds to sending back the OSC command "/composition/layers/1/video/mixer/blendmode" with STRING value ?). Make sure not to use "?" or '?', just send a question mark and nothing else(?).
Reading the answer from Resolume Avenue/Arena:
Connect "OSC in" node to a "Read OSC" node with the following information:
Address: /composition/layers/1/video/mixer/blendmode (same as the address you sent into Resolume Avenue/Arena)
Param type: Integer (in this case the "OSC Type Tage" is "Int 0 through 50")
If you connect a "Int" node you can read the result.
Since I haven't found this in-depth information in an easy-to-grasp format anywhere else, I can share what I've learned.
Ask value from Resolume Avenue/Arena:
Connect "Write OSC" node to an "OSC Out" node with the following information:
Use e.g. the following Bitfocus Companion address: /press/bank/52/18 (which corresponds to sending back the OSC command "/composition/layers/1/video/mixer/blendmode" with STRING value ?). Make sure not to use "?" or '?', just send a question mark and nothing else(?).
Reading the answer from Resolume Avenue/Arena:
Connect "OSC in" node to a "Read OSC" node with the following information:
Address: /composition/layers/1/video/mixer/blendmode (same as the address you sent into Resolume Avenue/Arena)
Param type: Integer (in this case the "OSC Type Tage" is "Int 0 through 50")
If you connect a "Int" node you can read the result.