Play a recording at half speed and the voice drops an octave — that eerie, slowed-down growl beloved by horror films. Speed it up and everyone sounds like a chipmunk. For decades, changing duration and changing pitch were inseparably coupled: sample rate was destiny.
The phase vocoder breaks that link. By transforming a signal into the frequency domain using the Fast Fourier Transform, it separates when each frequency happens from what that frequency is. You can then resynthesise the signal at any speed you choose, keeping every pitch exactly where it was.
The trick is subtle and elegant: instead of repeating or dropping raw audio samples, the algorithm tracks the instantaneous phase of each frequency component across successive analysis frames and advances it at exactly the right rate for the new tempo. The result is smooth, natural-sounding time-stretched audio — the same technology in every professional DAW, music-education app, and video-game engine that needs to play back audio at variable speeds.
Comments
Loading comments...