Bugfix in input high pass filter
This commit is contained in:
parent
3a6ffd130c
commit
e30fd84dac
@ -149,7 +149,7 @@ class AudioStream:
|
|||||||
if ch.highpass > 0:
|
if ch.highpass > 0:
|
||||||
fb = SosFilterBank(1, 1)
|
fb = SosFilterBank(1, 1)
|
||||||
hpf = highpass(samplerate, ch.highpass, Q=np.sqrt(2))
|
hpf = highpass(samplerate, ch.highpass, Q=np.sqrt(2))
|
||||||
fb.setFilter(0, hpf)
|
fb.setFilter(0, hpf[None, :])
|
||||||
self.hpfs[i] = fb
|
self.hpfs[i] = fb
|
||||||
|
|
||||||
self.streammetadata = StreamMetaData(
|
self.streammetadata = StreamMetaData(
|
||||||
|
Loading…
Reference in New Issue
Block a user