Hi, I'm yet another user New to SC.
Could anyone help me with this very simple question?
if I have a bus object, say
a = Bus.audio(s, 6);
how can I refer to just individual channels within the six channels of object 'a'
For example...
//Load a simple sine SynthDef to default server
(
var outFunc;
outFunc = {arg outBus = 0, freq = 220;
var outSignal;
outSignal = SinOsc.ar(freq, 0, 0.02);
Out.ar(outBus, outSignal);
};
SynthDef.new("simpleSynth", outFunc).load(s);
)
// Fill an array with 6 synths each outputting
// to a seperate channel within bus06
(
var bus06, synthArr;
bus06 = Bus.audio(s, 6);
synthArr = Array.new(0);
6.do({arg i;
synthArr = synthArr.add(Synth.new("simpleSynth", ["outBus", 0/*What Goes Here?*/,"freq", (i * 100)]));
};);
)
is it possible to use the 'Do' loop to fill the array with 6 overtones of 100hz, each going to a separate channel?