[chuck-users] snd file writing

Daniel Trueman dtrueman at princeton.edu
Thu Sep 30 12:05:14 EDT 2010


hey, thanks. i'm actually looking for non-realtime file writing; want to write the contents of LiSa buffers to disc, but i don't want to hack that into LiSa itself, for many reasons including lack of time and laziness...

dt

On Sep 30, 2010, at 4:59 PM, kurt wrote:

> dac => WvOut rec => blackhole;
> "/Users/kurt/Music/SFDIR/ChucK" => rec.aifFilename;//<---- CHANGE THIS
> TO WHERE YOU WANT THE FILE
> 100::second => now;//<------CHANGE THIS TO LENGTH OF RECORDING
> rec.closeFile();
> 
> run this and it should record what is coming out of chuck.  you could
> change it to 'day => now' and chuck will close the file when you
> remove the recording shred.
> hope that helps.
> kurt
> 
> On Thu, Sep 30, 2010 at 11:34 AM, Daniel Trueman <dtrueman at princeton.edu> wrote:
>> hey, anyone ever do any writing of soundfiles to disc? i can't seem to make SndBuf or WvOut do it....
>> 
>> dt
>> _______________________________________________
>> chuck-users mailing list
>> chuck-users at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>> 
> 
> 
> 
> -- 
> --------------------------------------------------
> www.kurtkotheimer.com
> --------------------------------------------------
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users



More information about the chuck-users mailing list