Constant idsp::hbf::HBF_TAPS_98
source ยท pub const HBF_TAPS_98: ([f32; 15], [f32; 6], [f32; 3], [f32; 3], [f32; 2]);
Expand description
Standard/optimal half-band filter cascade taps
- obtained with
2*signal.remez(4*n - 1, bands=(0, .5-df/2, .5+df/2, 1), desired=(1, 0), fs=2, grid_density=512)[:2*n:2]
- more than 98 dB stop band attenuation (>16 bit)
- 0.4 pass band (relative to lowest sample rate)
- less than 0.001 dB ripple
- linear phase/flat group delay
- rate change up to 2**5 = 32
- lowest rate filter is at 0 index
- use taps 0..n for 2**n interpolation/decimation