Touchosc Mk2 feedback name

FFGL, OSC, GLSL. If you like abbreviations, this is the forum for you
Post Reply
inzieye
Hasn't felt like this about software in a long time
Posts: 64
Joined: Wed Aug 06, 2008 17:55
Location: France

Touchosc Mk2 feedback name

Post by inzieye »

Hi,

can somebody help me to understand this please?
Polling
You can also ask Resolume what a certain parameter is set to. This is great when building complex control mechanisms, that have different views depending on what's going on in Resolume.

Instead of constantly monitoring what's coming out of Resolume, you can just ask it for the info you need, when you need it.

You do this by sending a "?" to the address that you want to know about.

For instance, when sending

/composition/layers/1/video/mixer/blendmode "?"

to Resolume, you'll get a reply on the same address with the int value of the current blend mode of layer 1. Pretty awesome.
I'm trying to make a simple label in Touchosc Mk2 that can show me the name of the blend mode activated.
(using only OSC between Resolume and Touchosc.)

Thank you!

Zoltán
Team Resolume
Posts: 7088
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Touchosc Mk2 feedback name

Post by Zoltán »

Listening to /composition/layers/1/video/mixer/blendmode with your item could be enough,

but you can make another button to send the ? as string to /composition/layers/*/video/mixer/blendmode
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

inzieye
Hasn't felt like this about software in a long time
Posts: 64
Joined: Wed Aug 06, 2008 17:55
Location: France

Re: Touchosc Mk2 feedback name

Post by inzieye »

Thank you Zoltan,

Do you have Touchosc Mk2 for test please?
I can send you a template I made to explain my different problems with osc output from Resolume.
Capture d’écran 2021-12-16 à 19.41.54.png
All the best,

Zoltán
Team Resolume
Posts: 7088
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Touchosc Mk2 feedback name

Post by Zoltán »

Hmm, I missed you want the blend name.
That is not being sent out currently.
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

inzieye
Hasn't felt like this about software in a long time
Posts: 64
Joined: Wed Aug 06, 2008 17:55
Location: France

Re: Touchosc Mk2 feedback name

Post by inzieye »

Thank you,

I'll try to learn scripting to transform value to name :

0= 50 Add
1= 50 Burn
...
59= Zoom Out

And other good thing for me will be to translate through scripting some values like :

X*1000 = display (for Scale % for example)
or
X*120 = display (for Rotation Angle)
and many more

If you can have a look to this layout you will understand what I mean :
RES7 PROD TOOLS02.tosc.zip
(74.7 KiB) Downloaded 895 times
Thanks again,

All the best

Zoltán
Team Resolume
Posts: 7088
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Touchosc Mk2 feedback name

Post by Zoltán »

Hmm, yeah, the list order can change when you're adding a mixer via FFGL or Wire patch.
It could be a lot more useful to be able to read and recall the mixer by it's name.
Or trigger a clip in a layer by it's name.
Or recall a deck by it's name.
I'll just make a ticket ;)

Edit: so with the lots of features we have, you can already load your blends using the name:
/composition/selectedlayer/video/mixer/blendmode "Alpha" as string will work.
https://resolume.com/support/en/osc#absolute-values
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

inzieye
Hasn't felt like this about software in a long time
Posts: 64
Joined: Wed Aug 06, 2008 17:55
Location: France

Re: Touchosc Mk2 feedback name

Post by inzieye »

Hmm, yeah, the list order can change when you're adding a mixer via FFGL or Wire patch.
Thanks for the advice!

I know that I can send the name directly but :

- Using buttons in Touchosc with a blend name for each works but the button doesn't stay on when selecting a blend. So I've chosen Radio button which keep the selected blend "ON" while the others are "OFF". So I can only send Int value with this method. That's why I need to display the selected blend name.
- I don't understand how to make my label displaying the blend name with ? as String. And I don't understand where can I display the name with a button sending :
/composition/selectedlayer/video/mixer/blendmode/? (my first post of this topic)
:oops:

What's wrong in my Label parameters please?
Capture d’écran 2021-12-21 à 11.36.00.png
I'll just make a ticket ;)
That's awesome!

Just one more question, does the new API feature will make Touchosc obsolete for Resolume? :?

Thank you!

Zoltán
Team Resolume
Posts: 7088
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Touchosc Mk2 feedback name

Post by Zoltán »

inzieye wrote: Tue Dec 21, 2021 11:50 don't understand how to make my label displaying the blend name with ? as String
That's not possible currently, hence the ticket.
inzieye wrote: Tue Dec 21, 2021 11:50 does the new API feature will make Touchosc obsolete for Resolume?
I don't think so, TouchOSC is great for OSC stuff, API can be great for programming language interfaces.
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

inzieye
Hasn't felt like this about software in a long time
Posts: 64
Joined: Wed Aug 06, 2008 17:55
Location: France

Re: Touchosc Mk2 feedback name

Post by inzieye »

Thanks again!

Do you think it will be possible that Resolume send every informations of every parameters (including effects) when triggering a clip?
Clip name of course and dashboard position and name for each rotary, transport (everything), highlighted Cuepoints, Autopilot configuration, Transform...
It would be amazing and allows to make ultimate controller! :D

If this will not be possible, I think I will mix Touchosc and API remote control.

All the best,

Post Reply