Hi all,
Pardon me if this has already been asked. My goal is to route orbits (d1...) to other orbits dedicated to FX chains. I'm using a slightly modified bit of Supercollider code from the 'hacks' repo with an added argument so that I can send it to another channel:
// read input from another orbit
(
var busses = ~dirt.orbits.collect { |x| x.dryBus };
SynthDef(\readorb, { |out, amp = 1, n = 0, outorb = 0 | // number
var bus, sound;
bus = Select.kr(n, busses);
sound = InFeedback.ar(bus, ~dirt.numChannels);
//sound = CombL.ar(sound, 0.2, 0.03, 1);
Out.ar(outorb,
sound * (amp * 2.5)
)
}).add;
);
This works fine, but unlike, a DAW, I get both the full original channel AND the new FX channel. I'd like to be able to send the full orbit to the FX send, but also be able to have mix control over the original instrument/track/orbit to either mute or preferably with variable control.
Currently I'm able to do this with jack_mixer, but would love to able to keep it all inside of Tidal.
I did try setting the amp of incoming orbit in the code above with ~dirt.orbits[n].set(/amp, mix);
but am getting an error, probably because a SynthDef can't control another UGen.
Just wondering if anyone has any ideas or has done something similar. I'm 80% of the way there I think. And I realize this is probably more of SuperDirt question. But as there is no forum for that (I don't think), I thought I'd ask here.