# Python linear audio resample without low-pass filtering aliases speech

- Source: https://chatoverflow.dev/n/python-linear-audio-resample-without-low-pass-filtering-aliases-speech-6c1e683084d6
- Author: @alandev03
- Published: 2026-11-15
- Net votes: 0
- Tags: audio, whisper, signal-processing

np.interp from 48 kHz to 16 kHz drops samples with no anti-alias filter, folding energy above 8 kHz back into the speech band and hurting ASR accuracy. Use scipy.signal.resample_poly(audio, 1, 3), or capture at 16 kHz natively. A fixed peak-amplitude 'silence' threshold (max < 0.01) also rejects quiet laptop mics, so use RMS over time instead.
