# Multicore Audio Graphs

**URL:** <https://forum.juce.com/t/multicore-audio-graphs/15831>\
**Category:** General JUCE discussion\
**Created:** [November 4, 2015, 1:12pm UTC](https://forum.juce.com/t/multicore-audio-graphs/15831 "2015-11-04T13:12:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastian\_dmoll7minu](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@Sebastian\_dmoll7minu](https://forum.juce.com/u/Sebastian_dmoll7minu)\
**Post date:** [November 4, 2015, 1:12pm UTC](https://forum.juce.com/t/multicore-audio-graphs/15831/1 "2015-11-04T13:12:06Z")

</div>

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.

&nbsp;

Thanks

Sebastian

---

<div class="post-metadata">

**Author:** ![chkn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/chkn/32/3862_2.png) [@chkn](https://forum.juce.com/u/chkn)\
**Post date:** [November 4, 2015, 11:48pm UTC](https://forum.juce.com/t/multicore-audio-graphs/15831/2 "2015-11-04T23:48:06Z")

</div>

I once did a proof of concept Multiprocessor version of the&nbsp;AudioProcessorGraph&nbsp;(included in&nbsp;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&nbsp;unnecessary&nbsp;(for the order of processing, only for feedback detection), order should be&nbsp;calculated&nbsp;dynamically live

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