How an Online Guitar Tuner Works

A web tuner does the same job as a clip-on or pedal tuner β€” listen to a note, decide which note it is, and show how far off it is β€” but it does that work inside a browser tab. This page is the honest version of how that happens, including where the limits sit.

The audio pipeline

When you click Start Tuning, four things happen in quick succession:

  1. Permission. The browser asks whether the site can use your microphone. Without permission, none of the rest of the pipeline can start.
  2. Capture. The browser opens an audio input stream β€” usually 44,100 or 48,000 samples per second β€” and hands it to the page as a continuous flow of numbers representing the sound pressure at the mic.
  3. Analysis. A short window of recent samples (a few thousand at a time) is run through a pitch-estimation routine. This estimates the fundamental frequency of whatever is dominating the input.
  4. Display. The frequency is converted into the nearest note relative to A4 = 440 Hz, and the deviation from that note (in cents) is drawn on the meter.

The whole loop runs many times per second. Closing the tab releases the audio context, and the stream stops cleanly.

Why autocorrelation, not just an FFT

The obvious way to find the pitch of a sound is to run a Fast Fourier Transform and look for the tallest peak. For a synthesised pure tone, that works. For a real plucked guitar string, it doesn't, because the string is rich in harmonics β€” overtones that sit at integer multiples of the fundamental. Sometimes a harmonic is taller than the fundamental, and a naΓ―ve FFT-peak detector will lock onto the wrong frequency by a clean octave.

Autocorrelation looks at the signal differently. It asks: "After what delay does the signal most resemble itself?" The answer is one period of the fundamental, regardless of which harmonic happens to be loudest. The result is far more robust for plucked strings.

Real-world detectors usually combine the two β€” an FFT-based rough estimate followed by an autocorrelation refinement, with some heuristics to suppress octave errors and ignore non-periodic input like room noise.

From frequency to a note and a cents reading

Once the detector has settled on a frequency, the rest is arithmetic. The nearest equal-tempered note is the one whose frequency is closest to the input on a logarithmic scale. The deviation is expressed in cents, where one semitone equals 100 cents and an octave equals 1,200.

So a reading of "A2, βˆ’7 cents" means: the signal is closest to 110 Hz, sitting about 7 hundredths of a semitone below it. That's well within the range a careful turn of the tuning peg can correct.

To a trained ear, anything within roughly Β±5 cents is in tune. Most chord work is comfortable inside Β±10 cents. Beyond Β±20, you can hear it.

Latency: how fast is "real-time"

"Real-time" is shorthand, not a technical claim. There are always small delays:

Added up, the perceived delay between a plucked note and the meter responding is usually well under a quarter of a second. It's not zero, but it's not noticeable while tuning.

What can throw the detector off

Comparison: web tuner vs. clip-on vs. strobe

Each tool has a place. Roughly:

The web tuner on this site is intended for the first category: get the guitar in tune, fast, before you start playing. For a full intonation setup, a strobe tuner β€” physical or specialist software β€” is still the right tool.

Privacy of the audio

Every step of this pipeline runs inside your browser. The audio stream is read by the page's JavaScript, analysed locally, and discarded as new samples arrive. Nothing is recorded, nothing is sent to a server. The privacy policy covers this in more detail, but the short version is that the tuner can't share something it never stores.

Putting it into practice

Knowing how the detector works changes how you use it. Play cleanly. Let the note ring. Damp the strings you're not reading. Quiet room, fresh attack, second pass. With those habits, a browser tuner gets you into tune as reliably as the hardware sitting next to it on the desk.

To try it now, open the tuner. To understand the targets it's aiming at, see standard tuning explained or the alternate-tunings reference.

Last reviewed on 2026-05-12.