Welcome to Decent Sampler Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote
I'm building an instruments with few mics signal options and I would like to implement a classic Mute and Solo Button for every mic .

I basically want to turn off the mute button if I click on the solo button and vice versa .

Is it possible to force a button to be in a specific state (for ex: stateIndex="0") when I click on another button  ?

Thanks .
in Other by olivier-modr (290 points)

2 Answers

0 votes
I'm adding my vote to this. I'm on my third hour of trying to figure out a solution.. being able to reach into a button and swap or set it's state manually should be essential ops.
by paul-maguire (200 points)
0 votes

I was able to do this for a text button with the ui VALUE parameter. I suspect this would work for non-text buttons assuming they have name attributes.

          <binding type="control" level="ui" controlIndex="0" parameter="VALUE" translation="fixed_value" translationValue="M" />

While I don't think this executes the bindings associated with the state you put the button in, it does transition correctly when next used.

Hope this helps.

by tealwarrior (200 points)
...