<br><br><div><span class="gmail_quote">On 04/01/2008, <b class="gmail_sendername">Rich Caloggero</b> <<a href="mailto:rjc@mit.edu">rjc@mit.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there a way to convert a stereo signal (say from a sndbuf) to two mono<br>signals which I can play with individually? I will then send the results of<br>each to dac.left and dac.right.</blockquote><div><br><br>Hi, Rich!
<br><br>If you would simply like to send a stereo soundsource to the dac in stereo ChucK will do that for you for free;<br><br>SinOsc s => Pan2 p => dac;<br><br>Equivalent would be;<br><br>SinOsc => Pan2 p;<br>p.left
=> dac.left;<br></div>p.right => dac.right;<br>//and even;<br>s => dac.chan(4);<br><br>Everything that ouputs stereo (Pan2, ADC, Mix2....) should have those .left and .right outputs. From the top of my head I can't remember is SindBuf does, these aren't mentioned in the manual where I looked just now. You could try.
<br><br>Yours,<br>Kas.<br></div>