How Accurate Is GuitarTunePro?
What the algorithm actually does, real measured error per string, and the honest caveats — not a bare "±1 cent" claim with nothing behind it.
What the Detector Actually Does
GuitarTunePro does not read pitch off FFT peaks. The live detector (lib/pitchDetection.ts, detectPitch()) captures 8192 audio samples (about 170 ms) at a 48 kHz sample rate and runs a time-domain autocorrelation, YIN-inspired pitch estimator on that window: it correlates the signal against delayed copies of itself, picks the first strong peak in the expected lag range for guitar frequencies (40 Hz–1 kHz), and converts that lag directly to a frequency. A confidence score (the peak's strength relative to zero-lag autocorrelation) has to clear a threshold before a reading counts as detected. The autocorrelation itself is computed with an FFT (lib/fft.ts), which gives the same numbers as summing it directly but roughly ten times faster.
An FFT-based detector exists in the same file (detectPitchFFT(), using a Goertzel-algorithm frequency sweep) but is not the one the app uses — the PitchDetector class that powers the live tuner is hardcoded to autocorrelation. It is only called out here because the site's own copy previously said "FFT" in a few places; that was inaccurate, and is being corrected as part of this page.
The reading you see on screen is also smoothed: successive frames are pushed through a 5–7 sample rolling median (PitchSmoother) before display, which damps single-frame jitter on a sustained note. The test below measures the unsmoothed, single-window output — the conservative case — because that's what the raw algorithm can be held to.
Methodology
There's no microphone in the environment this test was built in, so this is not a live recording of a real guitar. It is a synthesized-signal test: for each target frequency, a fundamental-plus-harmonics waveform (a rough approximation of a plucked string, with a small amount of natural pitch settling built in) is generated in code and fed directly into the same detectPitch() function the browser calls — not a reimplementation, the actual shipped function.
Two noise conditions, added as Gaussian noise on top of the synthesized tone:
- Quiet: a small noise floor, standing in for a clean pluck close to a phone mic in a quiet room.
- Noisy: substantial broadband noise, standing in for a laptop's built-in mic with room and fan noise present.
40 trials per string per condition, seeded with a deterministic PRNG so the run is reproducible. For each successful detection, the error is measured in cents relative to the true equal-temperament frequency (A4 = 440 Hz). The full script is checked into the repository at scripts/accuracy-test.ts and runs with npx tsx scripts/accuracy-test.ts — anyone can re-run it against the live algorithm.
Updated 17 October 2026. The first run of this test showed every quiet trial for a given string returning the exact same error — up to 4.54 cents on the high E. The detector was picking a whole-sample lag with no sub-sample interpolation, so each string carried a fixed quantization bias. It now normalises the autocorrelation and interpolates between samples around the peak, which cut the quiet-condition error on the high E from 4.54 to 0.17 cents and the average across all six strings from about 2.0 to 1.0 cents.
Updated 25 October 2026.The autocorrelation is now computed with an FFT rather than summed directly. The two give identical readings — the test showed no difference at all — but the FFT version takes about 0.34 ms per 4096-sample frame instead of 3.9 ms. That made it affordable to double the window to 8192 samples, which holds twice as many cycles of a low string: quiet-condition error on the low E fell from 1.38 to 0.39 cents and on the A string from 1.77 to 0.38, the noisy worst case across the six strings from 8.4 to 6.4 cents, and the 5-string bass's low B — which jumped by an octave in about a third of noisy trials at the old window — stopped doing so. The cost is latency: a reading reflects the last 170 ms of sound instead of 85 ms. The bass rows are new; the table below is the re-run.
Measured Results
| String | Reference | Quiet — mean / max error | Noisy — mean / max error | Detected |
|---|---|---|---|---|
| E2 (Low E) | 82.41 Hz | 0.39¢ / 0.83¢ | 2.34¢ / 6.41¢ | 100% |
| A2 | 110.00 Hz | 0.38¢ / 0.81¢ | 2.08¢ / 5.20¢ | 100% |
| D3 | 146.83 Hz | 0.24¢ / 0.52¢ | 1.92¢ / 4.82¢ | 100% |
| G3 | 196.00 Hz | 0.52¢ / 0.80¢ | 1.40¢ / 5.46¢ | 100% |
| B3 | 246.94 Hz | 0.13¢ / 0.30¢ | 1.17¢ / 2.79¢ | 100% |
| E4 (High E) | 329.63 Hz | 0.21¢ / 0.49¢ | 1.18¢ / 2.54¢ | 100% |
| E1 (bass low E) | 41.20 Hz | 1.39¢ / 1.84¢ | 2.41¢ / 9.01¢ | 100% |
| B0 (5-string bass low B) | 30.87 Hz | 2.43¢ / 3.23¢ | 3.07¢ / 5.75¢ | 100% |
40 trials per string per condition. Error in cents, relative to equal temperament at A4 = 440 Hz. "Detected" is the share of trials where the confidence threshold was cleared.
What We Actually Claim
Based on this data, we don't advertise a bare "±1 cent" figure — it isn't what this testing shows for every string. What the data supports:
- In quiet conditions, single-reading error stayed under 1 cent for all six guitar strings, and under 3.5 cents on the two bass strings tested.
- With realistic background noise, single-reading error averaged about 2.5 cents or less per guitar string, with a worst case around 6.5 cents (9 cents on the bass low E) on the readings tested.
- Detection succeeded in 100% of trials in both conditions at the noise levels tested — the algorithm did not fail to produce a reading, even when that reading had a few cents of error.
- The live app's rolling median smoothing (not included in the numbers above) further stabilizes a sustained, held note beyond what a single window achieves alone.
5–10 cents is well within what a human ear can reliably use to tune a guitar, and tighter than what most players achieve tuning by ear alone — but it is not "professional studio-grade to the cent," and we no longer say it is anywhere on this site.
What This Test Doesn't Cover
- It's a synthesized signal, not a real guitar through a real microphone and real room acoustics — those introduce timbral and noise characteristics a synthesized harmonic series doesn't fully capture.
- It doesn't test different microphone hardware, string condition, or playing technique, all of which affect real-world results.
- It measures the raw detector only, not the full smoothed on-screen reading during sustained play.
If you have measurements from a real instrument and microphone that contradict or refine this, we want to know — see the contact page.
Try the tuner yourself.
Open Free Guitar Tuner →