ChucK: audio routing

How to route audio out pairs in the case of multichannel DAC? This is not crystal clear from the manual. In my case I’d like to choose a stereo pair in a multichannel interface: a Novation Audio Hub which exposes it’s 4 outputs as dac.chans(0, 1, 2, 3). Taking a hint from the Pan2 UGen docs:

UGen U => Pan2 p => dac.chan(2);
p => dac.chan(3);
0 => p.pan; //set to centre

in this case, ChucK is started with the following options:

chuck --loop --dac3 --in2 --out4

Leave a Reply

Your email address will not be published. Required fields are marked *