From e30fd84dac380fdd2f56333b22ab013c74c3ea34 Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F" Date: Sat, 23 Oct 2021 14:43:24 +0200 Subject: [PATCH] Bugfix in input high pass filter --- lasp/lasp_avstream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lasp/lasp_avstream.py b/lasp/lasp_avstream.py index a58c7d2..fa5bb7b 100644 --- a/lasp/lasp_avstream.py +++ b/lasp/lasp_avstream.py @@ -149,7 +149,7 @@ class AudioStream: if ch.highpass > 0: fb = SosFilterBank(1, 1) hpf = highpass(samplerate, ch.highpass, Q=np.sqrt(2)) - fb.setFilter(0, hpf) + fb.setFilter(0, hpf[None, :]) self.hpfs[i] = fb self.streammetadata = StreamMetaData(