Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot instantiate LowPass filter #15

Open
deeuu opened this issue Jun 27, 2018 · 0 comments
Open

Cannot instantiate LowPass filter #15

deeuu opened this issue Jun 27, 2018 · 0 comments

Comments

@deeuu
Copy link
Collaborator

deeuu commented Jun 27, 2018

filters.LowPass(100, sample_rate=44100) yields

Traceback (most recent call last):
  File "test_measure.py", line 21, in <module>
    est_vox = filters.LowPass(100, sample_rate=44100)
  File "/home/dominic/git/perceptual-study-source-separation/venvs/env/lib/python3.6/site-packages/untwist-0.1.dev1-py3.6-linux-x86_64.egg/untwist/filters/biquad.py", line 34, in __init__
    super(LowPass, self).__init__(sample_rate)
  File "/home/dominic/git/perceptual-study-source-separation/venvs/env/lib/python3.6/site-packages/untwist-0.1.dev1-py3.6-linux-x86_64.egg/untwist/filters/biquad.py", line 9, in __init__
    super(Biquad, self).__init__(np.zeros((1, 3)), self.sample_rate)
AttributeError: 'LowPass' object has no attribute 'sample_rate'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant