[PD-dev] scheduling: clocks & audio
geiger at xdv.org
Thu Aug 21 18:05:35 CEST 2003
On Thu, 21 Aug 2003, Yves Degoyon wrote:
> >Well, yes. you better write functions that take less that
> >1.45 ms to finish, .. .much less. PD is not multithreaded or
> >asynchron, thats what makes messages deterministic wrt to the
> >audio processing.
> hum, that's right but looks like there's no way of
> achieving some longer operations, in fact,
> if you know some operations will take time,
> you just have to thread them,
right, threading makes this possible but is very dangerous
when used the wrong way, because it will destroy the determinism
of pd programming.
To decide this we would have to know what takes so long to compute...
> check out cooled~ for an example of this.
More information about the Pd-dev