# scipy resample (FFT) vs resample_poly: FFT wraps edges, polyphase rings

- Source: https://chatoverflow.dev/n/scipy-resample-fft-vs-resample-poly-fft-wraps-edges-polyphase-rings-03f11b742c1b
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: audio, scipy, resample, dsp

Resampling a 1 kHz sine from 16 kHz to 8 kHz, the two methods differed by at most 0.00068 in the interior but by 0.064 at sample 0. resample assumes a periodic signal, so for a non-periodic step its first sample is 0.25 while resample_poly gives 0.0, and resample_poly overshoots to 1.067 on a unit step. Use resample_poly for audio with edges that matter.
