A useful pitch-accuracy test needs a defined reference as well as a recording. Decide whether you are evaluating a musical performance or testing the software’s estimates. Those are different questions and require different evidence.
A file detector can describe estimated pitches without knowing the intended melody. A smooth trace or centred nearest-note label is not, by itself, proof of correct singing.
Two kinds of test
| Goal | Needed reference |
|---|---|
| Assess a performance | Intended notes, musical context, timing and reference tuning |
| Assess the estimator | Audio with sufficiently reliable known fundamental-frequency targets |
A singer’s recording with a score can support musical review, but it is not automatically exact ground truth for every frame. A deliberately generated test tone has a known mathematical target but does not reproduce every complication of real singing.
Prepare the recording
Use a short clear passage with one main pitched source. Avoid accompaniment leakage, excessive reverb, clipping and several singers unless the method is designed for that task.
Keep the original take available in your own workflow. Record the input route, selected channel, reference and any processing. A different noise-reduction setting can change which frames the analyser accepts.
The microphone guide explains why cleaner signal conditions help without assigning a fixed accuracy to a microphone type.
Define the musical target precisely
Write down note names and octaves, not just a song key. C major does not tell you whether the next melody note should be C4, E4 or G5.
Identify expressive details too. A deliberate scoop, vibrato or slide should not automatically be scored as a failed straight note. Compare an appropriate stable region when the question concerns held-note centring.
Check reference tuning. A consistent A432 performance compared with A440 targets creates an offset without proving the singer failed to match the accompaniment.
Analyse the same section
- Select the appropriate file in the audio-file pitch detector.
- Confirm the source channel or mix.
- Locate the intended phrase and listen to it.
- Inspect voiced sections and note uncertain gaps.
- Compare estimates with the defined targets.
- Keep exports associated with the recording and settings.
The current interface advertises supported browser-decodable MP3, WAV, OGG and WebM files up to 20 MB and 180 seconds. For format issues, use the file tutorial.
Use cents for pitch differences
Signed cents error is 1200 × log2(estimated Hz / reference Hz). Positive means above the target and negative below it.
An illustrative 443 Hz estimate against 440 Hz is about +11.76 cents. A one-octave error is 1,200 cents, a different kind of problem from a small tuning offset.
Do not average opposite large errors into an apparently good score. If one section is sharp and another flat, a signed mean can approach zero while both remain inaccurate.
Report coverage as well as accepted-frame accuracy
Consider a hypothetical benchmark with 100 known voiced frames. The estimator returns values for 80, and 72 of those fall within an explicitly chosen tolerance.
| Measure | Calculation | Result |
|---|---|---|
| Voiced-frame coverage | 80 / 100 | 80% |
| Within tolerance among returned estimates | 72 / 80 | 90% |
| Within tolerance among all reference-voiced frames | 72 / 100 | 72% |
All three results describe the same hypothetical data differently. Reporting only 90% hides the missing frames. The tolerance, frame definition and reference quality must also be stated.
Separately count octave mistakes and false pitches on known unvoiced regions. A system that always prints a number can appear complete while inventing values during breath or silence.
Timing matters too
A curve may identify the right new note late because of frame length, buffering or smoothing. Stable-note error does not describe transition timing.
For repeated notes at the same pitch, frequency alone may not reveal the boundary. Discrete note-event evaluation needs onset and duration definitions in addition to pitch targets.
The tracking explanation separates frame estimates, contours and note transcription.
Compare performances without changing the whole task
Use the same phrase, key, intended dynamics and input conditions where possible. If you transpose, compare with the transposed target rather than the old notes.
Listen for musical improvement as well as the numbers. A quieter take may yield fewer accepted frames without proving worse intonation. A heavily processed take may look smoother without being a more faithful record of the voice.
Document changes instead of inventing a universal score. The accuracy guide explains why one average cannot capture every failure type.
What the test cannot establish
A monophonic result from a choir does not evaluate every singer’s harmony. A pitch trace does not diagnose vocal health, identify the cause of strain or measure overall musical talent.
Use source-appropriate analysis and qualified judgement for broader conclusions. A useful test can remain modest: locating one recurring drift in one clearly defined phrase.
Keep musical timing aligned
Suppose the target changes from C4 to D4 at two seconds, but the singer intentionally enters a little later. Comparing every sample with the unshifted target can produce a large apparent pitch error around the transition even if each held note is well centred.
Decide whether you are evaluating timing, stable-note pitch or both. For stable-note comparison, identify corresponding musical regions rather than silently moving a whole curve until its score improves. Document any alignment method. That makes repeated tests understandable and prevents a convenient editing choice from being mistaken for better intonation.
Frequently asked questions
Can I use a favourite singer as ground truth?
A recording can be a musical reference, but production, tuning and interpretation may differ. It is not automatically a frame-perfect technical standard.
Should I exclude all missing frames?
You may analyse accepted frames, but report coverage separately. Excluding uncertainty without disclosure can make performance look better than it is.
Does a low median error prove there are no octave mistakes?
No. A median can conceal a smaller number of large failures. Inspect and count them separately.
Is the result a clinical voice assessment?
No. It describes a defined audio task. Health conclusions require appropriate professional assessment.
Reference basis: fundamental-frequency evaluation principles, YIN/pYIN research and the site’s file-analysis implementation. All benchmark counts above are hypothetical.
