LISTEN · MEASURE · UNDERSTAND

How Accurate Is Pitch Detection?

Test pitch detector accuracy with known sounds. Compare cents error, octave mistakes, coverage and repeatability across inputs.

Pitch detection can estimate a clear, steady tone closely, but accuracy depends on which sound, interval, device and method you test. Compare a measured frequency with a known reference. Also record wrong octaves, gaps and repeatability. A single small cents error does not tell you how much of a recording was successfully tracked.

Define the Measurement Before Testing

For tuning, measure the steady part of a known tone. For a changing pitch, inspect how the trace follows a slide or transition. For a recording with noise or rests, check whether the detector omits uncertain intervals. Use the same rules when comparing tools so a missing frame does not change its meaning halfway through the test.

For a focused comparison, use the pitch clarity is not a musical accuracy percentage workflow. Keep the original source and relevant settings so a new observation remains distinguishable from an interpretation or calculation.

Write down the source, expected frequency or known trajectory and selected interval. Cents error is useful when comparing across pitches. Keep gross mistakes separate, including estimates near half or double the reference. Document when those mistakes happened so you can revisit the audio.

Test input What to measure
Known sine tones in several octaves Frequency and cents error on a stable interval
Harmonic-rich reference Whether the result follows the fundamental
Clear glide Continuity and apparent lag
A pause between tones Gaps and extra readings around the pause
A noisy or quiet example Accepted coverage and false values

Separate Digital and Microphone Tests

A known digital tone file lets you start with a specified frequency. When you play it through a loudspeaker and record with a microphone, the room and devices can change what reaches the tracker. Keep the file result and the speaker-to-mic result separate. They are useful for different comparisons.

Use the audio file pitch detector for known test signals when available. For a live comparison, use the pitch identifier to test a known tone and choose the intended mic. Save the browser and input settings. A lower result on one device may be related to the recording path or how the algorithm handles it.

Worked Example for Cents Error and Coverage

At a 440 Hz reference, an accepted estimate of 439.5 Hz is about two cents flat. Suppose an example test returns useful values for 90 of 100 expected pitched frames. Calculate frequency error on the accepted frames and report 90% coverage alongside it. This lets someone see whether the estimate describes most of the interval.

If only half the frames were accepted in another test, a small error on those frames would still leave gaps to account for. Compare which portions were omitted. A trace that skips the attack may still be usable for tuning a middle section and less useful for studying response time.

Check Whether an Octave Error Affected the Summary

A few estimates near double the reference can change a summary or temporarily show the correct letter with the wrong octave. Compare raw Hz and playback. The guide to octave errors in pitch detection shows how to distinguish a short tracking problem from a genuine pitch move.

Mark your rule for classifying a large error before the test. Keep the original numbers even if you also report a review note. That gives another reader enough information to reproduce the comparison or interpret a different threshold.

Check Repeatability With a Stable Setup

Repeat the same recording or reference chime with the device in one place. Use the same time selection and input. Compare the reported notes, central estimate and missing regions. A consistent bias and a highly variable result need different explanations. Avoid diagnosing performance when the source or setup changed.

The microphone and room setup guide explains how clipping, background audio and bad routing can make the data sparse or wrong. Compare a clean input before testing difficult material. See how different pitch estimators choose a period if you want to evaluate that part of the method.

Report What the Test Actually Covers

Give the device, conditions, fixture, interval and metric. If you report a percentage, state how you counted valid frames and what counted as correct. A pitch tool can be useful for one task even when another task needs more evidence. Save your notes next to the actual recordings where possible.

A published accuracy claim should come from measured fixtures, with limitations and sample details attached. The examples here describe how to do the comparison. A screenshot without a reference cannot provide the error value.

Frequently Asked Questions

Does a pitch detector that shows more decimals give a more accurate result?

More decimals show finer display precision. Compare with a known reference and track errors and coverage before deciding which result is more accurate.

Can a tool be repeatable but a little off?

Yes. Stable readings can have a consistent offset from a reference. Compare several tests on the same known sound to separate bias and variation.

Should I count silence when measuring coverage?

Describe it separately. Measure usable coverage over a section that was expected to contain pitch. During a genuine pause, a gap can be appropriate.