KFR 7 zero phase filtering using filtfilt #270
-
|
Hi Dan, With KFR 7 installed and running, I'm now trying some of the new features starting with filtfilt. Its signature has an iir_param parameter so it doesn't seem possible to pass a filter containing a series of sections. Is that right? For room correction I create a set of sections to treat each channel. I then create a filter using these sections: At playback time: How can I use filtfilt without running it many times for each channel? KFR 7 is working well and I haven't encountered any playback issues. Best, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi Geoff, As of passing biquad sections to Zero-phase IIR filtering needs the full signal and cannot run in a streaming setup. Using it on chunks creates edge artifacts because the forward–backward pass depends on smooth continuity with both earlier and later samples. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks Dan, for both those explanations. |
Beta Was this translation helpful? Give feedback.
Hi Geoff,
As of passing biquad sections to
iir_param, it's perfectly possible with one of its constructor. Just constructiir_param(your_vector_of_biquad_sections).Zero-phase IIR filtering needs the full signal and cannot run in a streaming setup. Using it on chunks creates edge artifacts because the forward–backward pass depends on smooth continuity with both earlier and later samples.