Bugfix for lowest frequency point in converting octave band to narrow band

This commit is contained in:
Anne de Jong 2020-01-23 17:23:13 +01:00
parent 183404338e
commit 0bbfe22d83

View File

@ -256,7 +256,7 @@ class FilterBankDesigner:
for x in self.xs:
xl = x
fl = self.fl(x)
if self.fl(x+1) > freq[0]:
if fl >= freq[0]:
break
# Find upper frequency xu