[chuck-users] Re-direct output to file on OS X?

Tom Lieber tom at alltom.com
Thu May 8 19:40:10 EDT 2014


On Tue, May 6, 2014 at 8:57 AM, Michael Heuer <heuermh at gmail.com> wrote:

> Arve Knudsen <arve.knudsen at gmail.com> wrote:
>
> > Using ChucK on OS X, is there some easy way to re-direct its audio
> output to
> > a file (for analysis)?
>
> Inside your ChucK script, replace => dac; with => WvOut w => blackhole;
> see e.g.
>
> http://chuck.cs.princeton.edu/doc/examples/basic/rec.ck
>

Note that in that example (rec.ck), they redirect dac itself to WvOut,
which is probably easier than replacing every "=> dac" with "=> WvOut w"
because you just need to do it once at the beginning of your script.

-- 
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/20140508/e0431ba3/attachment.html>


More information about the chuck-users mailing list