[PD-dev] scheduling: clocks & audio

guenter geiger geiger at xdv.org
Thu Aug 21 18:05:35 CEST 2003


On Thu, 21 Aug 2003, Yves Degoyon wrote:
> hi,
>
> >
> >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...

Guenter

> check out cooled~ for an example of this.
>
> cheers,
> sevy
>
> >
> >Guenter
> >
>
>





More information about the Pd-dev mailing list