How to choose from one of several signals? That is, the opposite of a [gate~ n] -- multiple inputs, one output.
For example, I have a patch with 4 or 5 different LFOs. I'd like to add a radio button feeding into something that would pass through one of the signals and suppress all the others.
I know how to build it -- for index 0, do a [= 0] into a [*~ 1] right inlet. And do this by hand as many times as needed.
But isn't there an object (externals OK) that will do it for me?
In SC, I'd write
Select.ar(index, [signal0, signal1, signal2...]) and done.