UI COMP's with value expressions

I know that there might be some Python based workarounds for this, but it would be great if there was an option to make the ‘value0’ paramater of the UI COMP’s (Button, Slider, etc.) accessible to expressions.

In my specific use case I want to build a simpe UI that can both be either directly accessed by the UI elements themselves, but also define macros that will trigger or adjust specific UI elements that are also referencing multiple other parameters in my network. Now the COMP’s ‘value0’ parameter is tied to the ‘panelexec1’ and ‘parexec1’ DAT’s inside their individual containers and immediately loose any expression after triggering / changing via expressions. The only workaround that I could find was to duplicate all UI elements and dis- & enable their Display rendering between each clone, which only works as long as i bypass the original COMP’s ‘panelexec1 DAT’.

Hi @v.rtx_void,

you might want to look at Binding

This allows for bidirectional interaction with parameters.
Happy to help further if you can provide a minimal working example that illustrates what you want to achieve.

cheers
Markus

1 Like

Thanks for the reply,

it is hard to showcase it in a project file, since the issue lies within the way the standard Button COMP works :sweat_smile:
What I want to achieve is to toggle its “value0” paramater by referencing e.g. an LFO CHOP Pulse etc.

The reason is that I want to have visual feedback about the toggle state of the Button COMP’s in my UI and trigger them rather by events/cues and not by hand.

I hope that this makes sense

Hi @v.rtx_void

For this case we added the Bind CHOP which takes multiple inputs and can have it’s channels bound to parameters.

Also make sure to check out the Bind CHOP’s OP Snippets that hold some examples which might explain the concept a bit better.

Hope this helps
Markus

1 Like