[PD-dev] slowing down dsp function inside perform loop
Eric Lyon
audiodidact at gmail.com
Wed Dec 6 14:02:14 CET 2006
On 12/6/06, Thomas Grill <gr at grrrr.org> wrote:
>
> Hi Eric,
> i'm wondering how asynchronous DSP works in Max. As far as i know
> only messaging can be deferred.
Yes, but you can put DSP inside of a message too.
Is the DSP operation done outside the
> normal DSP chain
Presumably.
or is it some DSP operations on buffer data that you
> are doing in message callbacks?
I'm not doing callbacks, and am not even sure that's possible with what I'm
doing, or at least not without a lot of programming pain and agony.
Basically, I have two buffers with some sound in buffer #1. I'm planning at
some time in the future to start playing from buffer #2. I copy the contents
of buffer #1 to buffer #2 and then do all kinds of evil DSP to the contents
of buffer #2, all done asynchronously from the main DSP perform loop.
Hopefully by that time I'm ready to play buffer #2 the DSP is done. If not,
I have to drop the playback of that event.
Best,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20061206/beeb4735/attachment.htm>
More information about the Pd-dev
mailing list