mirror of
https://github.com/torlando-tech/pyxis.git
synced 2026-03-30 13:45:38 +00:00
Replace crude 2-tap averaging with proper 15-tap half-band FIR filter for 16kHz→8kHz decimation (~60dB stopband attenuation, Kaiser beta=6). Exploits symmetry + half-band zeros for only 5 MACs per output sample. Separate TDM deinterleave (CH0 extraction at 16kHz) from FIR decimation for cleaner signal processing pipeline. Reduce ES7210 mic gain from 8 (24dB) to 5 (15dB) to avoid ADC clipping; AGC in the voice filter chain compensates for quieter input. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>