[chuck-users] writing stereo files
rdpoor at gmail.com
Mon Apr 27 13:02:25 EDT 2009
That's interesting. The docs say "WvOut writes samples to an audio
file. It supports multi-channel data in interleaved format." So you
can see why I was hopeful.
Are you suggesting I write two separate files and then use some tool
(e.g. Audacity) to re-interleave them?
On 27 Apr 2009, at 09:51, Tom Lieber wrote:
> On Mon, Apr 27, 2009 at 12:33 PM, Robert Poor <rdpoor at gmail.com>
>> How do I convince WvOut to write a stereo file?
>> I tried (essentially):
>> Pan2 pan => dac => WvOut writer => blackhole;
>> and it wrote a mono file.
>> I then tried:
>> Pan2 pan => WvOut writer => dac;
>> and it still wrote a mono file.
>> I didn't see anything in the .pdf documents that suggested WvOut
>> has a
>> parameter to control the number of channels.
> I don't think you can. But you can save each channel separately. I
> usually dac.chan(0) => wav1; dac.chan(1) => wav2;
> Tom Lieber
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
More information about the chuck-users