Bus routing: ddwMixerChannel's approach

@jamshark70 I think things like that should also be in a blog too, it’s a nice reference to your framework, and should not be lost among so many messages here.

There’s nothing special about running an fx in a mixer’s effectgroup vs running it any other group. DSP is DSP… if you need a wet/dry control or a level control you can always write one. ReplaceOut is just a conduit; it prohibits nothing.

SynthDef(\myfx, |outbus, mix = 1|
    var dry = In.ar(outbus, 2);
    var wet = /* whatever the effect is */ ;
    wet = XFade2.ar(dry, wet, mix * 2 - 1);
    ReplaceOut.ar(outbus, wet);
}).add;

But note that this is independent of MixerChannel. If you allocate your own bus and you’re running effects on it, you’d do wet/dry in exactly the same way (or maybe with XOut) – hence MixerChannel isn’t responsible for this.

hjh

1 Like

It “should” work but I experienced a few problems.

One thing I haven’t done is auto-parallelize mixers at the same “level” in the tree. It’s possible, I just never did it.

hjh