Guitar / Instrument Tuner

Play a note near your microphone — pitch is detected live and shown as a note, in cents flat or sharp.

Copied

Last updated

Not listening
— Hz
−50¢ flat +50¢ sharp
Detected Hz
Cents off
Signal

About this tool

Pitch is found with autocorrelation: the tool records a short buffer of raw audio from your microphone, then compares that buffer against time-shifted copies of itself to find the shift ("lag") where the waveform lines up best with its own repetition — that lag corresponds to the period of the fundamental frequency. Because a repeating waveform also lines up (a little worse) at every multiple of that lag, the detector takes the first strong match rather than the single best one, which is what keeps it from occasionally locking onto an octave below the real note; that match is then refined with parabolic interpolation for sub-sample accuracy, converted to Hz, and mapped to the nearest note and a cents-off reading against the equal-tempered scale. This needs an actual microphone and permission to use it, which browsers only grant on secure (HTTPS) pages — it won't work if this file is opened locally from disk.

Audio never leaves your device — everything is captured and analyzed locally in JavaScript in your browser tab, with nothing recorded, saved, or uploaded to any server.