Machine-learning pitch models estimate patterns learned from audio, but they do not automatically identify every note in a full mix. CREPE and SPICE are important examples of monophonic fundamental-frequency estimation. Calling them general polyphonic transcription systems misstates their task.
The useful question is whether a method fits your signal and requirements. A lightweight classical detector can be suitable for a clear live note; a trained model may help in particular difficult conditions. Neither label guarantees universal accuracy.
What is the model trying to estimate?
Fundamental-frequency estimation seeks the repetition rate associated with a pitched source, commonly called F0. In frame-wise analysis, an algorithm processes short audio sections and may output a frequency plus a confidence or voicing measure.
Pitch tracking connects estimates over time. Note transcription adds decisions about discrete notes, onsets and durations. Polyphonic transcription adds the challenge of identifying multiple simultaneous sources or pitches.
These tasks overlap, but success on one is not proof of success on another. A clean solo-vocal benchmark cannot establish that a model will recover every chord tone in a dense recording.
How does a neural pitch model learn?
In supervised learning, training examples provide audio and reference targets. The model’s parameters are adjusted so its output better matches those targets under the training objective.
Self-supervised approaches use relationships within data to create learning tasks without requiring the same kind of manual pitch labels. That does not mean the system has no assumptions or that evaluation can be performed without a reference.
The training audio, augmentation and objective influence what the model handles well. A model can encounter unfamiliar instruments, production effects, registers or noise conditions that differ from its training examples.
CREPE and SPICE compared
| Method | Core idea | Important limitation |
|---|---|---|
| CREPE | A convolutional model estimating monophonic pitch from waveform audio | Not a general detector of all simultaneous notes |
| SPICE | Self-supervised learning using pitch-shift relationships in a constant-Q representation | Fundamental-frequency estimation, not complete polyphonic transcription |
| pYIN | Probabilistic pitch candidates and temporal decoding based on YIN | A probabilistic signal-processing method, not itself a deep neural network |
The CREPE authors describe a monophonic pitch tracker. Google Research likewise describes SPICE as estimating F0 in monophonic audio and evaluates robustness under specified conditions.
Learning to follow a vocal line in some mixed or noisy examples does not change the output task into “identify every pitch in the mix.” A robust predominant-pitch estimate and a complete multi-note transcription are different results.
How classical methods differ
Autocorrelation looks for repeating waveform structure. YIN modifies a related time-domain approach using a difference function and selection procedure. Spectral methods inspect frequency structure and harmonic relationships.
These methods can include thresholds, interpolation and temporal processing. Describing them as primitive or incapable of noise handling is misleading. Conversely, a learned model is not inherently correct simply because it uses a neural network.
The autocorrelation and YIN comparison explains the mechanics. The best choice depends on the signal, tuning and evaluation task.
What does confidence mean?
A confidence output is a model-specific quantity. It may help reject uncertain frames, but it is not automatically a calibrated probability that the displayed note is correct.
Raising a confidence threshold can remove errors while also removing valid quiet or breathy notes. A smooth, sparse track may look impressive because difficult portions were omitted. Evaluate both accepted estimates and missed voiced audio.
Keep unvoiced gaps distinct from stable notes. Breath and consonants do not need a fabricated frequency just to keep a line continuous.
How to compare accuracy honestly
- Define the target: frame-wise F0, continuous tracking or note transcription.
- Use the same audio and reliable reference for each method.
- State the pitch range, sample handling and noise conditions.
- Report octave errors separately from small cents deviations.
- Include missed voiced frames and false positives on unvoiced audio.
- Measure latency and resource use separately from offline accuracy.
A published benchmark result belongs to its dataset and protocol. It cannot justify a table claiming every neural tool is accurate to a fixed number of cents while every browser tool has another fixed error.
The accuracy guide explains why different metrics can produce apparently conflicting results.
Does machine learning require cloud audio processing?
No. Deployment is a separate design choice. A model may run on a local device, in a browser or on a remote server, depending on the implementation and available resources.
Likewise, classical DSP can run locally or remotely. “AI” and “private” are not opposites, and a local-processing claim needs evidence from the particular application rather than the algorithm’s name.
For the main pitch detector here, the current implementation uses classical local signal processing, including the McLeod pitch method. This article explains research methods; it does not claim that the site’s detector secretly runs CREPE or SPICE.
When is a learned model worth considering?
It can be worth evaluating when your particular source or noise conditions challenge a simpler method and suitable training or benchmark evidence exists. Compare it on your task rather than selecting by a generic “AI-powered” label.
For a clear live single note, response time and dependable voicing decisions may matter more than a complex model. For an offline research workflow, a larger model and temporal decoding may be acceptable.
The tracking-versus-detection guide separates frame estimates from the additional work needed to build a useful contour.
Frequently asked questions
Can CREPE identify all notes in a chord?
It is designed as a monophonic pitch tracker. Complete chord transcription is a different task and should not be claimed from its name or confidence output.
Is pYIN a neural model?
No. It combines probabilistic pitch candidates with temporal inference based on YIN. Probabilistic modelling is not synonymous with deep learning.
Is a model always slower than DSP?
No universal comparison applies. Model size, implementation, hardware, frame handling and the actual classical method all affect performance.
Can a confidence threshold eliminate every error?
No. It trades accepted coverage against uncertainty and can still retain mistakes. Check what happens to missed and falsely accepted frames.
Reference basis: the CREPE authors’ repository and paper, Google Research’s SPICE publication, and Mauch and Dixon’s pYIN paper. No new performance benchmark is claimed.
