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

Polyphase filter bank #193

Open
xkzl opened this issue Sep 29, 2023 · 2 comments
Open

Polyphase filter bank #193

xkzl opened this issue Sep 29, 2023 · 2 comments

Comments

@xkzl
Copy link

xkzl commented Sep 29, 2023

Hello @dancazarin ,

I would like to resample my signal and apply a filter bank to my input signal. I have done some attempt of implementation on my own, but would it be possible to implement such features directly into KFR in the future ?

@dancazarin
Copy link
Member

Hello,
As for resampling with bandpass filtering using a polyphase FIR filter to prevent aliasing,
there is a builtin feature since KFR 1, see examples/sample_rate_conversion.cpp.
It uses Kaiser window with adjustable quality (transition band width) and cutoff frequency.
Or do you need to pass custom coefficients to the polyphase filter?

@xkzl
Copy link
Author

xkzl commented Oct 4, 2023

May I ask the effect of this adjustable quality? I am usually not working with audio.
Additionally, I would expect lowpass not bandpass filtering to prevent aliasing.

I might actually need some flexibility and interested in passing some custom coefficients to the polyphase filter indeed.

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

2 participants