# Highpass filters becomes unstable at low frequencies

**URL:** <https://forum.juce.com/t/highpass-filters-becomes-unstable-at-low-frequencies/54987>\
**Category:** Audio Plugins\
**Created:** [February 14, 2023, 2:07pm UTC](https://forum.juce.com/t/highpass-filters-becomes-unstable-at-low-frequencies/54987 "2023-02-14T14:07:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![corder](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@corder](https://forum.juce.com/u/corder)\
**Post date:** [February 14, 2023, 2:07pm UTC](https://forum.juce.com/t/highpass-filters-becomes-unstable-at-low-frequencies/54987/1 "2023-02-14T14:07:30Z")

</div>

Hello 🖐  
I used almost all of the filter types in JUCE. All of them start shaking and then spiking at 384K sample rate and at 10 Hz cutoff frequency. I am using the plugin doctor to analyze the filter output. I tried the fab filter. Their filter doesn’t do such a thing. Their filter is limited at 10Hz but it works fine at all sample rates.  
Do you have any suggestions for creating a stable one? Maybe I am doing something wrong while creating the filters. Do your filters start shaking and spiking at higher sample rates and at low frequencies?

Thanks in advance 🙏

---

<div class="post-metadata">

**Author:** ![PaulDriessen](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@PaulDriessen](https://forum.juce.com/u/PaulDriessen)\
**Post date:** [February 14, 2023, 2:33pm UTC](https://forum.juce.com/t/highpass-filters-becomes-unstable-at-low-frequencies/54987/2 "2023-02-14T14:33:37Z")

</div>

thats overflow/underflow! you need doubles in the filter to cope with 384khz and such low frequencies 😉  
I think that you can switch your filters in JUCE to double  
EDIT:  
the standard IIRfilter class in juce allready uses double precision floats.  
So maybe the limiting Fabfilter uses is uncircumventable for stable filtering at those low freqs?  
The Juce IIRfitlers are biquads.  
Is the instability related to the Q factor?

---

<div class="post-metadata">

**Author:** ![corder](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@corder](https://forum.juce.com/u/corder)\
**Post date:** [February 15, 2023, 7:30am UTC](https://forum.juce.com/t/highpass-filters-becomes-unstable-at-low-frequencies/54987/3 "2023-02-15T07:30:07Z")

</div>

I converted processBlock and accordingly the rest of my code, to double. it works fine.  
Thank you very much 🙂🙏
