Small additions, markup improvements
This commit is contained in:
parent
022108f99e
commit
1c5a5f04f2
@ -585,6 +585,8 @@ class ThirdOctaveBankDesigner(FilterBankDesigner):
|
|||||||
# Idea: correct for frequency warping:
|
# Idea: correct for frequency warping:
|
||||||
if np.isclose(self.fs, 48000):
|
if np.isclose(self.fs, 48000):
|
||||||
return 1.00
|
return 1.00
|
||||||
|
elif np.isclose(self.fs, 32768):
|
||||||
|
return 1.00
|
||||||
else:
|
else:
|
||||||
raise ValueError('Unimplemented sampling frequency for SOS'
|
raise ValueError('Unimplemented sampling frequency for SOS'
|
||||||
'filter design')
|
'filter design')
|
||||||
@ -594,6 +596,8 @@ class ThirdOctaveBankDesigner(FilterBankDesigner):
|
|||||||
the filter."""
|
the filter."""
|
||||||
if np.isclose(self.fs, 48000):
|
if np.isclose(self.fs, 48000):
|
||||||
return 1
|
return 1
|
||||||
|
elif np.isclose(self.fs, 32768):
|
||||||
|
return 1.00
|
||||||
else:
|
else:
|
||||||
raise ValueError('Unimplemented sampling frequency for SOS'
|
raise ValueError('Unimplemented sampling frequency for SOS'
|
||||||
'filter design')
|
'filter design')
|
||||||
|
Loading…
Reference in New Issue
Block a user