Say I have a few synths which output to a bus. Before I route it to the main output, I want to pass that bus through another synth that also reads a phasor, and if that phasor’s value crosses a certain threshold (in this case 1) I want to mute those synths, otherwise pass them straight to the output. Is there a way to achieve this seemingly simple task?
As a side question, is there a good reason why SuperCollider doesn’t have conditional and/or ordering UGens? Max/MSP for example has the useful <~, >~ and =~ which test two signals for ordering and equality, and they don’t seem too hard to implement on the SC server. Also objects like selector~ (output one of many inputs) and gate~ (output to one of many outputs) make a lot of sense for controlling the routing of signals in real time, especially within a single SynthDef.