inFeedback question

Hi -

I’m running into a strange issue and I’m not sure what I’m overlooking.

I have a very basic SynthDef that uses inFeedback. I’ve defaulted all of the inputs and outputs to a “mutebus” bus, so there should be no audible sound when these synths are instantiated - yet the sound is there.

Can anyone help me understand what’s going on? Thanks.




SynthDef("b",
	{|in, secondOut, out|
	var sig, env;
		in =  LeakDC.ar(InFeedback.ar(in, 2));
		sig = in+Impulse.ar(0)*8;
		sig = sig*EnvGen.ar(Env.perc(0.01, 4), doneAction:2);
		sig = RLPF.ar(sig, 1000);
		Out.ar(out, LeakDC.ar(Limiter.ar(sig)).softclip);
		Out.ar(secondOut, LeakDC.ar(Limiter.ar(sig)).softclip);
}).add;

~mutebus = Bus.audio(s, 2);

(
x = Synth("b", [\out, ~mutebus, \secondout, ~mutebus, \in, ~mutebus]);
y = Synth("b", [\secondOut,~mutebus, \in, ~mutebus, \out, ~mutebus] );
);

x synth needs to set the \secondOut control – but the arg list is accidentally written with \secondout – so x is actually writing to bus 0.

hjh