# Multiple DSP filters with process duplicator?

**URL:** <https://forum.juce.com/t/multiple-dsp-filters-with-process-duplicator/51039>\
**Category:** Audio Plugins\
**Created:** [April 16, 2022, 12:46am UTC](https://forum.juce.com/t/multiple-dsp-filters-with-process-duplicator/51039 "2022-04-16T00:46:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gershy13](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@Gershy13](https://forum.juce.com/u/Gershy13)\
**Post date:** [April 16, 2022, 12:46am UTC](https://forum.juce.com/t/multiple-dsp-filters-with-process-duplicator/51039/1 "2022-04-16T00:46:29Z")

</div>

Hi guys,

I’ve just created my first plugin, and I’m trying to make a simple EQ. I managed to get the first filter working (following The Audio Programmer’s IIR filter guide on YouTube). The issue comes with adding another filter. How do I add more than one filter? If I create another process duplicator then I get an error, so I’m assuming I can only have one of them. How do I create another filter so I can have multiple filters running at the same time?

Any help would be greatly appreciated!

Thanks  
Gershy13

---

<div class="post-metadata">

**Author:** ![PluginPenguin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pluginpenguin/32/10203_2.png) [@PluginPenguin](https://forum.juce.com/u/PluginPenguin)\
**Post date:** [April 16, 2022, 9:15am UTC](https://forum.juce.com/t/multiple-dsp-filters-with-process-duplicator/51039/2 "2022-04-16T09:15:49Z")

</div>

Do you want multiple filters in series to e.g. build something like a 4-band EQ? Or do you want to create a filter capable of processing more than just a single channel? The `ProcessorDuplicator` is the right class for the second case. For the first case you might want to have a look at the `dsp::ProcessorChain` instead. Note that it’s also quite usual to combine both if you want a multichannel, multiband EQ.

In any case, you can quickly get confusing Compiler errors when using these class templates wrong. Chances are high that your approach isn‘t completely wrong, so if you don‘t mind, share the error you are getting along with the relevant lines of code that trigger the error

---

<div class="post-metadata">

**Author:** ![Gershy13](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@Gershy13](https://forum.juce.com/u/Gershy13)\
**Post date:** [April 16, 2022, 10:36am UTC](https://forum.juce.com/t/multiple-dsp-filters-with-process-duplicator/51039/3 "2022-04-16T10:36:09Z")

</div>

Hi thanks,

The goal is to build a stereo 3 or 4 band EQ.

So yes to both of those lol.

Can I not use multiple filters with a process duplicator for a stereo eq? How do I add more filters? Do I use the processor chain with the duplicator?
