Pitch detection commonly refers to estimating a fundamental frequency for a short audio frame; pitch tracking commonly refers to following estimates over time. The terms overlap in research and software. Treat this as a useful practical distinction, not a universal naming law.
A detector can return a plausible frequency for each frame while the resulting contour remains musically confusing. Building a useful track also requires decisions about uncertainty, octave continuity, unvoiced gaps and genuine pitch movement.
A frame estimate versus a time sequence
An audio frame contains a limited stretch of samples. A pitch estimator examines periodicity or spectral structure and may return a frequency, a confidence-related measure or no reliable pitch.
A track places successive estimates on a timeline. Additional processing may select among candidates, reject isolated errors or model plausible transitions. The resulting curve can show sustained notes, slides, vibrato and phrase endings.
A tuner that updates repeatedly is already processing a sequence, even if it only displays the latest value. A graphing application may show raw detections without sophisticated tracking. Product labels alone do not reveal the full method.
Why a smooth curve is not necessarily correct
A moving average can make a line look stable while preserving a wrong octave. It can also flatten real vibrato or smear a fast melodic jump.
For an illustrative input alternating between a correct 220 Hz estimate and an erroneous 440 Hz estimate, a simple arithmetic mean gives 330 Hz. That value is not a sensible recovery of the original A3 note.
Frequency is also nonlinear in musical interval. Averaging hertz, cents and note numbers produces different statistics. Choose a method that fits the task instead of assuming every smoothing operation preserves musical meaning.
What a tracker needs to decide
| Situation | Useful decision |
|---|---|
| One-frame octave jump | Compare candidate evidence with neighbouring frames |
| Breath or consonant | Allow an unvoiced gap rather than inventing a note |
| Real melodic leap | Preserve the change instead of smoothing it away |
| Quiet phrase ending | Balance coverage against false estimates |
| Vibrato | Retain meaningful modulation at suitable resolution |
These choices trade off accuracy, continuity and delay. A tracker that never leaves a gap may simply be filling uncertain audio with guesses.
How probabilistic tracking helps
Mauch and Dixon’s pYIN illustrates a candidate-based approach. It assigns probabilities to multiple pitch candidates and uses a hidden Markov model with Viterbi decoding to infer a likely sequence.
This is more informative than discarding every alternative at the frame stage and hoping a later average will repair the result. It still depends on the observations and assumptions about transitions and voicing.
It is also not automatically a neural-network method. The machine-learning guide distinguishes probabilistic signal processing from models such as CREPE and SPICE.
Detection, tracking and note transcription compared
A continuous curve is not yet a score. Note transcription needs decisions about discrete pitches, note boundaries, durations and sometimes overlapping voices. MIDI conversion adds an event representation and timing choices.
A sung slide can cross several semitone targets without representing several intended notes. Conversely, two repeated notes at the same pitch need a boundary even though the frequency hardly changes.
The pitch-to-MIDI converter serves a note-event task. Its output should be reviewed as a transcription estimate, not treated as a perfect score simply because a frequency track was available.
Real-time versus offline tracking
A live system must decide using the audio already received, perhaps with limited look-ahead and delay. An offline system can use later frames to interpret an earlier ambiguity.
That can improve some decisions, but it is not a free real-time advantage. Report whether the system uses future context before comparing it with a live tuner.
Frame length, hop size, processing, capture buffers and display scheduling all influence perceived responsiveness. A plot updated every ten milliseconds does not prove ten-millisecond end-to-end latency.
How to read a singing track
- Identify the intended note or phrase and reference tuning.
- Inspect stable voiced regions separately from attacks and releases.
- Distinguish gradual drift, periodic vibrato and abrupt octave jumps.
- Notice where the track leaves gaps or holds the last value.
- Listen to the recording before deciding whether a visible change is an error.
The pitch-results guide explains cents, note labels and common graph patterns. A curve cannot establish the intended melody without musical context.
A voice pitch analyzer can support held-note or phrase observation. It does not grade expression, lyric clarity or every aspect of singing from the line shape.
What makes a fair comparison?
Compare the same audio against the same reference. Report pitch error, octave errors, missed voiced frames and false estimates on unvoiced sections. Also check whether displayed values are raw, smoothed or selected after temporal inference.
Timing deserves its own assessment. A track can follow the right pitches but place transitions late. Heavy smoothing can improve a stable-note statistic while making fast passages less faithful.
The accuracy article explains why one average number cannot describe every part of that performance.
What if the recording contains several instruments?
A monophonic method expects one main pitched source. It may follow a bass note, harmonic or different instrument in a mix. Tracking continuity does not transform it into a complete polyphonic analyser.
Use an isolated voice or instrument when the task requires that source’s contour. If separation is necessary, treat any separation artefacts as another source of uncertainty rather than assuming the cleaned track is perfect.
Frequently asked questions
Are pitch detection and pitch tracking always different algorithms?
No. Authors and products use the terms differently, and many systems combine both. Inspect the input, output and temporal processing rather than relying on the label.
Does a straight line mean accurate singing?
Only relative to a known target, and only if the estimate is valid. A stable wrong note or heavily smoothed trace can also appear straight.
Should every consonant have a pitch value?
No. Unvoiced sounds do not require a musical F0. Gaps can be an honest and useful part of the track.
Can tracking remove all octave errors?
No. Temporal information can help, but ambiguous observations or a genuine octave leap can still cause difficult decisions.
Reference basis: the original YIN and pYIN research and documented monophonic pitch-analysis principles. Examples illustrate reasoning, not newly measured performance.
