Pitch detection · measured

How the tuner listens.

What happens between a plucked string and the reading on screen, and how close that reading gets, measured note by note.

In plain words

From string to reading

  1. Listen on the device. The microphone signal goes into a small audio worklet inside the page and stays there: nothing is recorded or uploaded.
  2. Find the repeat. About 30 times a second the tuner takes a window long enough for four whole periods of your lowest string and looks for the delay at which the sound repeats itself (the McLeod pitch method, an autocorrelation computed with an FFT).
  3. Go deep without slowing down. When a string sits below 100 Hz, the sound is filtered and thinned out four times first, so a long bass window costs about as much as a short guitar one.
  4. Check the octave. Every candidate is compared with the strings of your tuning, and half and double periods are tested, so a strong overtone is not mistaken for the note.
  5. Settle the reading. A fresh pluck rings sharp, so the first 150 ms after it are skipped. The reading then follows the median of the last five readings and a short 120 ms average, and a string counts as in tune only once it stays inside the window for 0.3 s.

How close it gets

  • ≤ 0.2 ¢largest error on a clean tone, anywhere from A0 to E5
  • ≤ 1 ¢through a phone-mic model, E2 and up
  • ≤ 2 ¢through a phone-mic model at A0 (27.50 Hz) and B0 (30.87 Hz), the deepest bass notes

Open the tuner →

Measured at 48 kHz

Accuracy, note by note

Three test signals per note, the same ones the tuner's own test suite uses: a clean tone with the partials of a bright string, a plucked string made by physical modeling (its attack starts sharp, like a real pluck) and the same tone sent through a phone microphone model, a high-pass filter that turns the deepest notes down, with the slight stiffness of a real string on top. The last column shows how much quieter that filter makes each fundamental.

Error in cents (¢): the distance between the reading and the true pitch, at A4 = 440 Hz. A cent is a hundredth of a half step. These figures are measured each time the site is built, so they always describe the tuner you are using.
NoteHzClean tonePlucked stringPhone micFundamental (dB)Where you meet it
A027.500.010.021.92−22.5lowest piano key · 5-string bass in Drop A
B030.870.020.051.76−20.5low B of a 5-string bass
E141.200.020.031.34−15.5low E of a bass
A155.000.030.040.92−10.8A string of a bass
E282.410.050.040.75−5.0low E of a guitar
A2110.000.030.070.86−2.3guitar String 5
D3146.830.110.100.80−0.8guitar String 4
G3196.000.120.100.72−0.3guitar String 3 · violin G
B3246.940.060.040.66−0.1guitar String 2
E4329.630.040.020.700guitar String 1
A4440.000.050.060.980violin A · reference A
E5659.260.110.120.510violin E

Low notes

Deep strings and phone mics

Phone and laptop microphones are built for voices and fade out below about 100 Hz. In the phone model the fundamental of B0 (30.87 Hz, the low string of a 5-string bass) arrives 20.5 dB quieter, and A0, the lowest key of a piano, 22.5 dB quieter. The period is still there in the overtones, so the tuner still finds it: within 1.76 ¢ for B0 and 1.92 ¢ for A0 in the table above.

Deep notes also need time. Four periods of B0 take a window of about 341 ms, against 85 ms for the low E of a guitar, so give a bass string a second to settle. If the reading still wanders, play the 12th-fret harmonic and switch on the ×2 harmonic mode, or plug in through an audio interface.

In tune

What in tune means

On a single note, most people cannot hear a difference of about 5 cents; in chords, a few cents already make a slow wobble. So the tuner gives you three windows: Relaxed ±5 ¢, Normal ±3 ¢ and Precise ±1 ¢. Once a string is in, it stays in until it drifts 2 ¢ past the window, so the ✓ does not flicker.

The reading itself is far finer than any of those windows: within 0.2 ¢ on clean tones, 0.2 ¢ on plucked strings and about 1 ¢ through a simulated phone mic for everything from E2 up (2 ¢ for the deepest bass notes).

All strings

Strum once, see every string

Pick All strings in the bar at the bottom of the tuner (or in Settings), strum every open string and let them ring. Each string gets its own bar, like a row of tuner needles: the middle line is in tune, the number on top is how far off it is, and the word under it says tighten or loosen. Turn one peg while the strings ring and watch its bar move.

How it hears six notes at once: the tuner knows which notes your tuning should have. It looks for each string's own row of overtones in the sound and fits all the strings together, so an overtone of the low E is not taken for the B string. It reads about ten times a second, in a background thread of the page, still on your device.

Where it stops

  • Far off: a string more than about 60 ¢ off (a bit more than half a semitone) is only flagged, with an arrow and tighten a lot or loosen a lot. Tap its bar to tune it alone first.
  • Octave strings: a string an octave or two above another one, and in tune with it, can hide under it. Its bar then shows only a guess (≈ and a hollow mark, or ? when there is none), and a guess never counts as in tune: a muted string would look the same. Tap it to check it alone.
  • Pairs and repeated notes: the two strings of a 12-string pair are read together and shown apart only when they differ enough. Two strings on one note on separate bars, like a balalaika's two E strings, read as one: tap each to tune it alone.
  • Tested on simulated strings so far. A quiet room, a firm strum and open strings that ring help most.

Good habits

Getting a clean reading

  • One string at a time. In Guided and Auto, let the other strings stop ringing, or touch them lightly: two strings at once make a mix. To read them all together, use All strings.
  • Pluck, then wait. Read the note while it rings, not in the attack. A firm pluck near the neck gives a strong, steady fundamental.
  • Use the built-in mic. Bluetooth headsets squeeze the sound for calls; the phone's own microphone or a cable is cleaner.
  • A quiet room helps. Fans, hum and talk compete with the string: the less noise there is, the faster the reading settles.

Privacy

Your sound stays on your device

All of this runs in your browser. The microphone signal is analyzed live and dropped; nothing is stored, nothing is sent, and once the site is loaded it works with no connection at all. The privacy page has the details.

Open the tuner →

Questions

How accurate is an online tuner?

It depends on the pitch method and the microphone, not on being online. On clean test tones from A0 to E5, TuneLit's pitch reader lands within 0.2 ¢; through a simulated phone microphone it stays within about 1 ¢ from E2 up. The tuner calls a string in tune within ±3 ¢ by default.

Can a phone tune a low B string?

Usually, yes. In our phone-mic model the low B of a 5-string bass (30.87 Hz) arrives about 20 dB quieter, but the tuner finds its period in the overtones: it read it within 1.76 ¢ in the phone-mic test. If it still wanders, use the 12th-fret harmonic with the ×2 harmonic mode.

Can the tuner hear all my strings at once?

Yes. Pick All strings, strum every open string and let them ring: each string gets its own bar. A string far off, or an octave string in tune with its partner, is better checked alone. Tap its bar and the tuner listens to that string only.

Why does a tuner sometimes show the wrong octave?

Small microphones hear the overtones of a deep string better than the string itself, and the second overtone is exactly one octave up. TuneLit compares every candidate with the strings of your tuning and tests half and double periods, so it reports the string you are tuning, not its overtone.