Recording ChucK Sounds
There's a detailed lesson on the ChucK Wiki http://wiki.cs.princeton.edu/index.php/ChucK_Record. Basically, the key is to add
rec.ck
or rec2.ck
to the files being chucked. (That's http://chuck.cs.princeton.edu/doc/examples/rec.ck and http://chuck.cs.princeton.edu/doc/examples/rec2.ck).
rec.ck
writes a file called foo.wav in the current directory.
D:\CHUCK>chuck hihat.ck snare.ck kick.ck baseloop.ck bluespenta.ck rec.ck
rec2.ck
writes a file that's tagged with the current date and time: chuck-session(Sun Jan 23 17h30m58 2005).wav when you run it tagged on the end of the chuck list:
D:\CHUCK>chuck SuperLocrianBells.ck rec2.ck
You can either modify
rec.ck/rec2.ck
to terminate, or you can just kill all the shreds with CTL-C (the close-out routine ChucK uses closes all open files).
.WAV files are somewhat large, so it's probably worthwhile to go to SourceForge and download the current version of Audacity (http://audacity.sourceforge.net/). (You'll need to also find and download the LAME mp3 recording library via the SourceForge site to export MP3 files from Audacity.)
Or you can use Audacity to export Ogg/Vorbis files...
You'll notice I've added links to a variety of MP3 files I've recorded from the .CK files we've shown here...as well as Mikael's djembe.mp3, which he filed a link to on the ChucK Wiki (I've added links to my files there too...)
<< Home