[chuck-users] now v.s. actual time
lieber at princeton.edu
Fri Oct 10 08:37:28 EDT 2008
On Fri, Oct 10, 2008 at 7:16 AM, Kassen <signal.automatique at gmail.com> wrote:
> There is a conflict between how ChucK will never let go of "now" and how
> we'd ideally prefer audio not to break up. When something has to give (like
> when we tell ChucK we instantly want to know ten million square roots) it's
> the audio that gives.
The way every UGen does this is to precompute.
> I suppose that what I'm looking for
> is a way to yield to the Ugen graph,( which is the strongest link between
> ChucK's time and the stuff on my clock), give it the CPU to calculate what
> it needs to calculate (which may well be nothing right now), then give me
> the CPU back.
Yielding to the UGen graph is exactly the same as yielding to the
other shreds. The UGens are in lock-step with the shreds for the
purposes of strong timing.
More information about the chuck-users