Does anyone know of an audio routing or switching abstraction/external, such that one of two or more incoming signals can be selected to be passed on to the next object, ensuring that the other signals are completely cut off?
I am creating an 2-effect module where the effect order can be switched round.
For example, the audio either routes through a delay then into a panner then to the output, or when switched, routes through the panner then into the delay then to output.
Thought I had the switching all sussed out. There's a switch ahead of the two effects which directs the incoming signal to one or other. This same switch is also used to direct the output of the delay either to the panner or the main out, depending on whether it went through the delay first or not. The same is done for the output from the panner.
The whole system works until I connect the output of one effect into the input of the other, when the signal disappears. It's probably some sort of feedback problem, but it shouldn't be because only one of the input signals should be on at any one time.
I've heard of spigot~ but not sure what library it's in as it doesn't work for me.
Could mux~ possibly handle this problem?