I’m trying to build a patch in plugdata that simulates a trumpet valve system or an EVI (Electronic Valve Instrument), where I can access all seven possible combinations of three buttons(eg: v1 outputs to frequency a, v1+v2 - frq b and cuts frq a, v1+v3 - frq c and cuts frq a, etc.).
I’ve been experimenting with spigot, but I’m stuck and having trouble handling all the condition logic (for example, preventing the v1 output from triggering when v1+v2 are pressed).
Does anyone have ideas on how to work around this?
Thanks for the reply. I was struggling to get your patch to work the way I intended.
I ended up adapting a patch instead. Basically, the three valves output the eight possible values (including when no valve is pressed), and I added extra valves for a fifth, an octave, and a quarter-tone up.