[PD] parallel processing

IOhannes m zmoelnig zmoelnig at iem.at
Tue Mar 4 20:58:12 CET 2008


marius schebella wrote:
> isn't the problem of pd right now, that the audio chain can't be chopped 
> into different threads?
> if the pd audio chain would support threads for every object, would it 
> be as easy as to add a (or some) line(s) of code for every dsp object?

well, you wouldn't want to do that.
you would get a lot of overhead for inter-thread communication, which 
would decrease performance.
as jürgen has shown in his talk at lac, the optimal number of threads is 
(not very surprisingly) the same as the number of CPUs the system has.

> is it correct that some soundcards compute part of the audio chain on 
> the soundchip? which parts?

well, not within Pd "proper".
if your soundcard has a DSP on-board (like the RME HDSP line), you can 
use it as an additional mixer (you could control the DSP-mixer via 
acontrol from within Pd - but wouldn't that be "cheating"?)



fgmadsrö
IOhannes




More information about the Pd-list mailing list