[PD-dev] slowing down dsp function inside perform loop

Kyle Klipowicz kyleklip at gmail.com
Wed Dec 6 18:07:52 CET 2006


Yes, that sounds exactly like what VASP was designed to do.  I guess the
trick would be determining whether the operation is complete before playing
the buffer?  Or does VASP do that?  (I don't use it.)

~Kyle

On 12/6/06, Georg Holzmann <grhPD at gmx.at> wrote:
>
> Hallo!
>
> > 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.
>
> okay, but this code don't have to be in the dsp perform loop ...
>
> I see 2 possibilities for that:
>
> - you can do the copy + DSP-transformation of the buffer in a seperate
> thread, as it is done in the [sndfiler] external
>
> - maybe you can also do it with vasp, which is a set of externals for
> buffer calculation and I think they can do it also in a seperate thread
>
> LG
> Georg
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
>



-- 

http://theradioproject.com
http://perhapsidid.blogspot.com

(((())))(()()((((((((()())))()(((((((())()()())())))
(())))))(()))))))))))))(((((((((((()()))))))))((())))
))(((((((((((())))())))))))))))))))__________
_____())))))(((((((((((((()))))))))))_______
((((((())))))))))))((((((((000)))oOOOOOO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20061206/295b8f5d/attachment.htm>


More information about the Pd-dev mailing list