[chuck-users] Bouncing .ck to audio files

Tom Lieber tom at alltom.com
Mon Dec 7 20:34:10 EST 2009

2009/12/5 Ryan Wieghard <ryan.wieghard at gmail.com>:
> I was wondering if there is a way to make the output of my .ck file an mp3
> or wav file.

If you do this a lot ...

chuck /Users/tom/bin/dacrec.ck:$*

dac => Gain g => WvOut w => blackhole;
(me.args() > 0 ? me.arg(0) : "foo.wav") => w.wavFilename;
<<<"writing to file: ", w.filename()>>>;
.9 => g.gain;
while( true )
    1::second => now;

dacrec foo.wav file1.ck file2.ck

Modifications for stereo elsewhere in the thread.

Tom Lieber

More information about the chuck-users mailing list