Processors chain or AudioProcessorGraph?

Hi all,
I would like to understand what is the recommended way to structure my plugin which, as I intend it, it is going to be quite complex with various classes dedicated to different processing.
I want to use utilities from the juce_dsp module.

I wonder whether it is recommended to use the Processor Chain or rather structuring the plugin into nodes of AudioProcessorGraph.

Cheers

The processor chain is fixed at compile time. You can’t change the order of processing at runtime. The audio processor graph has dynamic behaviour like a modular synth for example. That’s the difference.

If you don’t need that dynamic behaviour then you should avoid the performance overhead of the APG class.

1 Like

Thanks.