FIR filter creates odd output with interpolation greater then 1
Closed this issue · 3 comments
Oh, its basically interpolation filtering the decimated samples, hence the aliases.
I try the new branch and the aliases seams to be fixed.
I did notice that I need to scale the Sample Rate of the FIR Designer by the interpolation value to give the correct cut of frequency, just wondering if this is correct behaviour.
When interpolating, the cut off in the fir designer refers to the output rate. When decimating the cut off in the fir designer refers to the input rate. So when you have both interpolation and decimation, which looks like something this block did not do well simultaneously before, the cut-off essentially applies to the intermediate higher rate post interpolation but before the decimation. I'm not entirely sure I like that, Ideally it would be relative to the input always -- but since the designer is decoupled from the filter block, the interpolation taps would have to be changed in some way.