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

Resampling to 2000hz and 1000hz breaks with current polyphase resampling method #8

Open
rbracco opened this issue Jan 14, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@rbracco
Copy link
Collaborator

rbracco commented Jan 14, 2020

To replicate add 1000 or 2000 to the cell in the Resample section that iterates over a bunch of rates and resamples to said rates. If a rate below exactly 3000 (all above 3000 work, all below fail) is included, an audio is generated but is unplayable in jupyter. It will appear normal but clicking it does nothing.

image

@scart97 scart97 added the bug Something isn't working label Feb 5, 2020
@PranY
Copy link
Contributor

PranY commented Mar 27, 2020

I just read the code for Resample(), scipy.signal.resample_poly() and scipy.signal.upfirdn() and I felt I need a better understanding of signal processing in general. I still have a question though, do we need to pass the new sampling rate (up) and the old sampling rate(down) to resample_poly or the same divided by the GCD (as implemented).

When I read how the widow size is calculated for FIR between the upsampling and downsampling, the math didn't add up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants