<div dir="ltr">UNSUBSCRIBE<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 9, 2014 at 6:13 AM, Kassen <span dir="ltr"><<a href="mailto:signal.automatique@gmail.com" target="_blank">signal.automatique@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Mar 27, 2014 at 09:34:39AM -0400, Al Matthews wrote:<br>
>    Hello list.<br>
<br>
Hey Al!<br>
><br>
>    1) Catching up a bit,<br>
<br>
Cool. Me too.<br>
<br>
>        it occurs to me that<br>
><br>
>    shell%> chuck --start `while(true) 1::second +=> now;`<br>
><br>
>    has been superseded by<br>
><br>
>    shell%> chuck --loop<br>
><br>
>    ; correct? Does ChucK any longer accept subprocesses or so, from the<br>
>    shell?<br>
<br>
Hmmmm, I have to admit I have never seen the first case. I think you<br>
will need to use a temporary file if you'd like to do this.<br>
<br>
<br>
><br>
>    2) Also if anyone cares to distinguish or give an example for<br>
><br>
>    --callback<br>
>    Utilizes a callback for buffering (default).<br>
><br>
>    --blocking<br>
>    Utilizes blocking for buffering.<br>
<br>
I believe they refer to how ChucK relates to the soundcard and the<br>
OS's sound uinfrastructure. As we use the RTAudio library for this it<br>
may be best to see the relevant documentation there;<br>
<br>
<a href="http://www.music.mcgill.ca/~gary/rtaudio/" target="_blank">http://www.music.mcgill.ca/~gary/rtaudio/</a><br>
<br>
Unfortunately I can't find the exact distinction there myself right<br>
now. I believe that the default of "callback" will make RTAudio provide<br>
a function for the underlying audio system (your OS's system) to call<br>
whenever it needs a new set of samples. However, what it will do in<br>
the case of "blocking" is not quite clear to me.<br>
<br>
On the bright side; I have so far been totally fine without this<br>
knowledge so I have high hopes that I'll stay that way. ;-)<br>
<br>
Yours,<br>
Kas.<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div><br></div>