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
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@iem.at
http://lists.puredata.info/listinfo/pd-dev