Apex › Storage & databases

How a tuner hears pitch (autocorrelation)

How a guitar tuner or Auto-Tune finds a note’s fundamental frequency. A pitched sound repeats, so slide the waveform against a delayed copy of itself: the lag where it best matches is one period, and pitch = sample rate ÷ period. It keys on repetition, not the spectrum, so it’s robust to timbre — and it still works with the fundamental removed (the harmonics alone repeat at the same period, why you hear bass on a tiny speaker). Real autocorrelation, verified: recovers the pitch even with the fundamental stripped out. Tune the pitch and toggle the fundamental.

More in Storage & databases