[chuck-users] Fwd: Automated batch conversion of ck files to WAV

Tom Lieber tom at alltom.com
Thu Jan 23 16:03:40 EST 2014


I use this script, which allows scripts to register the durations they’re
going to play for:

  http://pastie.org/8661565

I don’t remember whether I found it or wrote it, but I’ve modified it!


On Thu, Jan 23, 2014 at 3:45 PM, Leonard Ritter
<leonard.ritter at duangle.com>wrote:

> Hi there,
>
> I wrote this to Ge Wang on Twitter before but he's not been there
> since October, so I thought I'd better write here.
>
> I've used ChucK a few years ago and had quite some fun with it. I
> would like to use it as part of the game we are currently developing.
> The goal is to allow sounds to be customized to individual
> installations of the game, where they would then be played back by
> OpenAL to provide for positional 3D audio.
>
> As part of my prototyping, I wanted to write a simple Python script
> that is able to batch convert a stack of ck files to WAV, ideally
> sample precise (no leading or trailing silence).
>
> I thought that rec.ck would be perfect for achieving that but it seems
> I can't figure out a way to have recording end precisely when the main
> script is done playing, instead of recording indefinitely and waiting
> for abortion via the Ctrl+C key.
>
> Is there such a method? I'd be very thankful for advice.
>
> Cheers,
> Leonard
> --
> Leonard und Sylvia Ritter, Duangle, GbR
>
> Ritter
> Altpieschen 9,
> 01127 Dresden
>
> Leonard.Ritter at duangle.com
>
> www.duangle.com
> Geschäftsführung: Sylvia Ritter, Leonard Ritter
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>



-- 
Tom Lieber
http://AllTom.com/
http://infinite-sketchpad.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20140123/065265c7/attachment.html>


More information about the chuck-users mailing list