From 20c0aeb8dd284585446adabe221580cd8b7bbc22 Mon Sep 17 00:00:00 2001 From: paulfd Date: Sat, 21 Sep 2019 01:22:52 +0200 Subject: [PATCH] Corrected a bug in the one pole filter with variable gain --- sfizz/OnePoleFilter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfizz/OnePoleFilter.h b/sfizz/OnePoleFilter.h index d7d1aad6..58f1d9dc 100644 --- a/sfizz/OnePoleFilter.h +++ b/sfizz/OnePoleFilter.h @@ -105,7 +105,7 @@ public: auto sentinel = in + size; while (in < sentinel) { setGain(*g); - oneLowpass(in, out); + oneHighpass(in, out); in++; out++; g++;