From 01f0f07ca7aba39d0a69b9febac719c8da82c3ac Mon Sep 17 00:00:00 2001 From: Christoph Hart Date: Sun, 5 May 2019 20:03:48 +0200 Subject: [PATCH] - fixed filter graph not being updated when modulated monophonically --- hi_modules/effects/fx/Filters.cpp | 4 ++-- hi_modules/effects/fx/Filters.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/hi_modules/effects/fx/Filters.cpp b/hi_modules/effects/fx/Filters.cpp index a3c3397f2..72844ce26 100644 --- a/hi_modules/effects/fx/Filters.cpp +++ b/hi_modules/effects/fx/Filters.cpp @@ -564,11 +564,11 @@ juce::IIRCoefficients PolyFilterEffect::getCurrentCoefficients() const return voiceFilters.getCurrentCoefficients(); } - return MonoFilterEffect::getDisplayCoefficients(mode, frequency, q, gain, getSampleRate()); + return monoFilters.getCurrentCoefficients(); } else { - return MonoFilterEffect::getDisplayCoefficients(mode, frequency, q, gain, getSampleRate()); + return monoFilters.getCurrentCoefficients(); } } diff --git a/hi_modules/effects/fx/Filters.h b/hi_modules/effects/fx/Filters.h index e7e256a2d..c82c60abf 100644 --- a/hi_modules/effects/fx/Filters.h +++ b/hi_modules/effects/fx/Filters.h @@ -210,8 +210,6 @@ class PolyFilterEffect: public VoiceEffectProcessor, float q; float gain; - - bool changeFlag; float bipolarIntensity = 0.0f;