Shifting a toggle switch list?
Hi there,
I have a row of 16 toggle switches, their state is collected into a multislider.
I can then shift the states inside the multislider, but I'd like to "draw" the shifted values back
to the toggles, but, as you'll see, I always run into stack overflow.
I know that the solution must be super simple, yet, I cannot wrap my head around it...
...maybe somebody with fresh eyes?
Max Patch
Copy patch and select New From Clipboard in Max.
The classical set $1 to set the value without output. Remind to set both the [toggle] AND the [pak] so that both are updated with the last known state.
Max Patch
Copy patch and select New From Clipboard in Max.
But you don't really need both [toggles] and a [multislider], either one or the other would be enough.
Might also be worth considering to use [matrixctrl] for such thing:
Max Patch
Copy patch and select New From Clipboard in Max.