[PD] threaded soundfiler / loading soundfiles into arrays without clicks

Mathieu Bouchard matju at artengine.ca
Fri Apr 15 14:43:47 CEST 2011


On Thu, 14 Apr 2011, Jonathan Wilkes wrote:

> http://lists.puredata.info/pipermail/pd-list/2005-05/028678.html
> 
> So if the dsp tree gets resorted when you load the soundfile, wouldn't 
> this still produce dropouts with the threaded version?

Well, first, garray_getfloatarray() is deprecated, in favour of something 
that uses twice the amount of RAM on 64-bit machines (go figure).

Apart from that, it could become possible to make limited editing of the 
dsp-chain without recompiling it all. If you'd like it, I could try to do 
it.

But dropouts are never systematically produced, they're always a product 
of how many work you ask the computer to do, for how much it's able to do 
that, in how much time you decided to give it to do so.

If a thread loads the soundfile, but a thread can't recreate the dsp tree, 
then at least, all the loading of floats is something that won't need to 
be done in the same dsp tick as recreating the dsp tree.

  _______________________________________________________________________
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC


More information about the Pd-list mailing list