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? Thanks. - r On 27 Apr 2009, at 09:51, Tom Lieber wrote:
On Mon, Apr 27, 2009 at 12:33 PM, Robert Poor
wrote: How do I convince WvOut to write a stereo file?
I tried (essentially):
Pan2 pan => dac => WvOut writer => blackhole; writer.wavFilename("foo.wav");
and it wrote a mono file.
I then tried:
Pan2 pan => WvOut writer => dac; writer.wavFilename("foo.wav");
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.
Suggestions?
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 http://AllTom.com/ _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users