Parallelizing multichannel processing


The biggest feature request we’re getting for Deprox is a multi-channel version, but we’re worried that we won’t hit the rendering deadline if we have to use onnx in sequence on two channels. Is there any way in Juce to have separate threads set up for separate channels? Or does it all have to be done on a single thread? Also, ofc in some instances the overhead of threads or the lack of available cores makes multithreading less efficient than single-threaded, so if that’s the case then we can make do with a single thread as well.

Thanks for any tips on architecture to solve this problem!