Skip to content

Method — open notebook

How the vocal range test works

Everything the test does happens in your browser. This page explains each step, with the actual settings the test uses, so you can judge the result for yourself.

By the maintainer of Find My Vocal RangeCompiled from standard vocal pedagogy referencesUpdated About this site

  1. 01
    Microphone frame
  2. 02
    Pitch (YIN)
  3. 03
    Held note
  4. 04
    Range & voice type

1. Listening: short frames, never a recording

When you allow the microphone, the browser’s Web Audio API hands the page a live stream. About 60 times a second the test copies the latest 2,048 samples — roughly 43 milliseconds of sound — into memory, analyses them, and overwrites them with the next frame. There is no recording and no file, and the audio is never sent over the network.

Browsers normally clean up microphone audio for calls by cancelling echo, suppressing noise and adjusting gain. Those filters distort pitch, especially on low notes, so the test asks the browser to turn all three off.

2. Finding the pitch with the YIN algorithm

Each frame goes through YIN, a pitch-detection method published by Alain de Cheveigné and Hideki Kawahara in 2002 and still widely used for speech and singing. In outline, YIN slides a copy of the waveform against itself and looks for the shortest delay at which the two line up — that delay is one period of your note.

  • Frequencies searched: 60–1400 Hz, a little wider than C2 to F6.
  • Detection threshold: 0.2. Frames that don’t line up cleanly enough are treated as “no pitch”, which is how breath noise, consonants and vocal fry are ignored.
  • Silence gate: frames quieter than an RMS level of 0.004 are skipped.
  • Parabolic interpolation refines the estimate between samples, so the pitch is resolved to a few cents.
Fig. 1 — The waveform and a copy delayed by one periodA3 · 220 Hz
τ = 218 samples

Solid: the sound. Dashed: the same sound shifted by τ. When τ equals one period of the note, the two curves sit on top of each other.

Fig. 2 — YIN’s normalised difference for every delay τthreshold 0.2
first dip below threshold48000 ÷ 218 = 220.2 Hz → A3τ = 0τ = 800

The curve dips wherever the shifted copy matches. YIN takes the first dip below the threshold rather than the deepest one, which is what stops it from reporting a note an octave too low.

Our automated tests feed YIN synthetic voice-like tones from E2 to F6, with harmonics and added noise, and check that every estimate is within 10 cents (a tenth of a semitone) of the true pitch.

3. Only held notes count

A single frame is not a note. People slide into pitches, voices crack, and pitch trackers occasionally jump an octave for a frame or two. So the test keeps a short history of frames and only counts a note when:

  • it has been sustained for at least 1 second, and
  • at least 75% of the frames in that time are within ±50 cents — half a semitone — of the median pitch.

The note is then rounded to the nearest semitone. Natural vibrato (usually ±20–50 cents) stays inside the tolerance, while a momentary octave slip is outvoted by the frames around it. The progress bar under the live note shows how close you are to a counted note.

We chose one second rather than two. Notes at the very edges of a range are often hard to sustain for long, and a pitch held steadily for one second is already a controlled, singable note rather than a squeak or a slide. The lowest and highest counted notes become your range.

4. Matching a voice type

Your range is compared with the typical range of each voice type on our vocal range chart. For each type we compute how many semitones the two ranges share, divided by the semitones they cover together (intersection over union). The type with the highest score is shown as your closest voice type by range.

  • If the best type leads the next by a clear margin, we show it plainly.
  • If two types are close, the result says “leaning” or “between”, rather than pretending to be sure.
  • Countertenor is never assigned automatically: it shares its pitches with alto, and only the way the voice is produced tells them apart.

The comfortable zone is a rule of thumb: we trim about 15% off the bottom of your range and 20% off the top, since most voices tire faster at the top. It is an estimate, not a measurement.

The piano method

Without a microphone, the test plays a tone for the key you tap — a triangle wave with a few harmonics, so it is easy to match — and you mark the lowest and highest notes you can sing back. This measures what your ear judges, so it can be a semitone or more off if matching pitch is hard for you.

Known limits

  • Microphones. Laptop and phone microphones, and especially Bluetooth headsets, are weak below about 100 Hz. Very low bass notes may not register.
  • Background sound. Music or a TV playing nearby can be detected instead of your voice. Test in a quiet room.
  • Range is not voice type. Timbre, tessitura and where your voice changes register matter too. The test measures only range.
  • Day-to-day variation. Tiredness, warm-up and time of day move your range by a note or two.

Reference

  • A. de Cheveigné and H. Kawahara, “YIN, a fundamental frequency estimator for speech and music,” Journal of the Acoustical Society of America 111(4), 1917–1930 (2002).