Multicore Audio Graphs


#1

Hey!

So far I have been working with SuperCollider, and they have the SuperNova Audio Server that takes advantage of multicoreprocessing, which is great, apart from the fact that it produces tons of audible drop outs. So with no experience in JUCE so far, my question is: Is it possible to have one AudioGraph processed by several cores? It kind of relates to this thread:

http://www.juce.com/forum/topic/multi-core-support

I was hoping to find some more up-to-date information on that topic.

 

Thanks

Sebastian


#2

I once did a proof of concept Multiprocessor version of the AudioProcessorGraph (included in JUCE)

http://www.juce.com/forum/topic/multithreaded-audioprocessorgraph-source-code

http://www.juce.com/forum/topic/multithreaded-audio-processor-graph

My conclusions

- pre-sorting is unnecessary (for the order of processing, only for feedback detection), order should be calculated dynamically live

- use a hard spin-lock in the audio-callback to synchronize the threads (Juces Spin-Lock uses OS-Callbacks)