Bugfix in input high pass filter

This commit is contained in:
Anne de Jong 2021-10-23 14:43:24 +02:00
parent 3a6ffd130c
commit e30fd84dac

View File

@ -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(