I’ve begun a new engine that exposes many of the wonderful filters in SuperCollider. I would like these filters to effect whatever is connected to the device inputs. Is this managed by SoftCut? My intuition led me to use the SoundIn UGen simply like so.
SynthDef(\parametric, { arg out = 0, gain=0.5
freq1 = 200, rq1 = 1, db1 = 6,
freq2 = 800, rq2 = 2, db2 = -6,
freq3 = 2000, rq3 = 3, db3 = 3,
freq4 = 6000, rq4 = 4, db4 = -3;
var eq1, eq2, eq3, eq4, in;
in = SoundIn.ar(out, gain);
eq1 = BPeakEQ.ar(in,freq1,rq1,db1,1);
eq2 = BPeakEQ.ar(eq1,freq2,rq2,db2,1);
eq3 = BPeakEQ.ar(eq2,freq3,rq3,db3,1);
eq4 = BPeakEQ.ar(eq3,freq4,rq4,db4,1);
Out.ar(out, Pan2.ar(eq4));
}).add;