Yes. For my MOTU soundcard it took a bit of tinkering to get it right. Here's an example of a command line:<div><br></div><div>chuck  --adc4 --in4 --out8</div><div><br></div><div>This means that I'm using device number 4 (adc), with 4 inputs and 8 outputs.</div>
<div><br></div><div>After that you can write like this in you ChucK app:</div><div><br></div><div>SinOsc s => dac.chan(3); // send sine wave to the fourth mono output</div><div><br></div><div>Note that you'll have to take care of stereo if you want it:</div>
<div><br></div><div>adc.chan(0) => LPF filterLeft => dac.chan(0);</div><div>adc.chan(1) => LPF filterRight => dac.chan(1);<br><br></div><div>The tinkering bit with MOTU is that all combinations of numbers of inputs and outputs don't work. For instance --in3 --out8 will have the whole thing go bananas, with weird sound being outputted. If you don't use a MOTU card there's a good chance you won't have this problem.</div>
<div><br></div><div>/Stefan</div><div><br><div class="gmail_quote">2010/7/19 Patrick Guido <span dir="ltr"><<a href="mailto:patrick.arminio@gmail.com">patrick.arminio@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi, I've a sound card with 8 outputs (4 left and 4 right) and I want to send different audio signals to each output.<div><br></div><div>Is this possible with chuck?</div><div><br></div><div>Thanks<br clear="all"><br>-- <br>


Patrick Guido Arminio<br>
</div>
<br>_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Release me, insect, or I will destroy the Cosmos!<br>
</div>