[PD] timing question
fbar at footils.org
Mon Dec 17 23:48:13 CET 2007
Mathieu Bouchard hat gesagt: // Mathieu Bouchard wrote:
> On Mon, 17 Dec 2007, Frank Barknecht wrote:
> >The second thing, people need to learn then is, that most signal objects
> >can only be scheduled on block boundaries. So if you send a new
> >frequency to an [osc~] as a float message, the osc~ will not respond
> >immediatly, as it has already calculated the next block of samples. So
> >the new frequency can only be taken into account for the next block
> >after that. IIR block here means 64 samples always, regardless of block~
> >size. But I may be wrong about that.
> I don't think that it would make sense that anything else than the
> object's effective block size would ever be used in that case.
> I haven't tried it though.
You're right - and now I have tried it. Actually everything else
indeed wouldn't make much sense.
> BTW, to add subblock precision to any float&signal inlet, change the inlet
> mode from float to signal (e.g. change [*~ 1] to [*~]) and use [vline~] to
> do a higher-precision kind of [signal~].
This is fine for float messages, but other, meta-messages (reset etc.,
but also bang) sometimes need to be scheduled in a clock-aware
fashion as well, that's when you need the additional work.
Frank Barknecht _ ______footils.org__
More information about the Pd-list