[chuck-users] snd file writing

kurt sobrilliant at gmail.com
Thu Sep 30 12:17:45 EDT 2010


You will have to use the command line then (hope you are on
Mac/Linux...there might be a Windows way also?). Try:
%> chuck  --silent record.ck your_shred.ck

...where record.ck is a shred containing my code and your_shred.ck is
what you want to record.
later.
kurt

On Thu, Sep 30, 2010 at 12:05 PM, Daniel Trueman <dtrueman at princeton.edu> wrote:
> 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
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>



-- 
--------------------------------------------------
www.kurtkotheimer.com
--------------------------------------------------


More information about the chuck-users mailing list