Browser Vocal Pitch Tracker Built With Autocorrelation and Web Audio
A developer has published a tutorial on building a simple pitch tracker that runs entirely in the browser without external libraries. The tool uses the Web Audio API to analyse either a microphone input or an audio file, and estimates pitch with autocorrelation, where the lag of best match gives the waveform period. Detected frequencies are mapped to the nearest musical note and shown with a cents deviation indicating how sharp or flat a singer is. The author notes the method works reliably only on isolated vocal tracks, since instruments in a full mix interfere, and suggests vocal-splitting tools as a way to obtain stems. Known limitations include occasional octave errors and no clear readings for breathy or whispered sounds.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in