I’m making a channel-strip plugin with multiple, sequential DSP effects. I started using AudioProcessorGraph
in my PluginProcessor
. I’m laying out DSP effect units by implementing the ProcessorBase
class, as done in the AudioProcessorGraph tutorial.
However I also have been looking at DSPModulePluginDemo, which sets up its DSP chain in this manner:
using Chain = dsp::ProcessorChain<dsp::NoiseGate<float>,
dsp::Gain<float>,
DirectDelayProcessor,
MultiBandProcessor,
dsp::Compressor<float>>;
Chain chain;
I’m not sure which approach to use, or some other approach, for my plugin’s DSP processing chain. I think it would be interesting to compare the benefits and meaningful differences between the two.
From what I’ve heard, dsp::ProcessorChain
may allow for
more optimized DSP code. An advantage of AudioProcessorGraph
is that it allows for re-ordering of audio processors, which can’t be done by dsp:ProcessorChain
(not required by this plugin)