just tried with the correct output, but no audio plays :(<div><br></div><div><a href="http://dpaste.com/219737/">http://dpaste.com/219737/</a><br><br><div class="gmail_quote">2010/7/19 Stefan Blixt <span dir="ltr"><<a href="mailto:stefan.blixt@gmail.com">stefan.blixt@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Did you try specifying the device with --adc<n>? I didn't get it to work with just using --in and --out by themselves.<div>

<br></div><div>Run:</div><div><br></div><div>chuck --probe</div><div><br></div><div>there you can see the devices (named dac1, dac2 etc). Take the number after dac and put it after --adc to make something like this:</div>


<div><br></div><div>chuck  --adc4 --in4 --out8</div><div><div></div><div class="h5"><div><br></div><div>/Stefan<br><br><div class="gmail_quote">2010/7/19 Patrick Guido <span dir="ltr"><<a href="mailto:patrick.arminio@gmail.com" target="_blank">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">thank for reply. I did this <a href="http://dpaste.com/219718/" target="_blank">http://dpaste.com/219718/</a> but it doesn't work :(<div>


<br></div><div>I ran it with ./chuck --in8 --out8</div><div><br><br><div class="gmail_quote">

2010/7/19 Stefan Blixt <span dir="ltr"><<a href="mailto:stefan.blixt@gmail.com" target="_blank">stefan.blixt@gmail.com</a>></span><div><div></div><div><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




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" target="_blank">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">




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