[chuck-users] [chuck] miniAudicle-0.1.3.3 release (mac + linux + win)

Ge Wang gewang at CS.Princeton.EDU
Sat Jul 29 16:06:33 EDT 2006


> I never tried writing to sndbuf before, and couldn't find a quick
> pointer in the doc. I tried this (in chuck, not mA), but it didn't 
> work:
>
> sinosc s => sndbuf buf;
> "t.raw" => buf.write;
> 1::second => now;

Oh yeah, the sndbuf write doesn't work yet.  Try using WvOut:

sinosc s => WvOut w => blackhole;
"t.wav" => w.wavFilename;
1::second => now;

note the blackhole.  If you want to hear the thing:

sinosc s => dac => WvOut w => blackhole;
"t.wav" => w.wavFilename;
1::second => now;

More documentation on recording:

     http://wiki.cs.princeton.edu/index.php/ChucK/Record

Best,
Ge!



More information about the chuck-users mailing list