How the Voice Hz Test Measures Pitch
A pitch result starts as a series of short measurements. Here is how we turn them into hertz, musical notes, and a chart.
How we estimate fundamental frequency with the McLeod Pitch Method
We use the open-source Pitchy library to estimate fundamental frequency and clarity from short windows of browser audio. The McLeod Pitch Method looks for repeating patterns in the waveform. The period of that repetition gives an estimate of frequency.
We apply signal level and clarity thresholds to keep usable frames. Sounds such as breath, taps, and unvoiced consonants can produce gaps in the chart.
How we summarize a voice sample in Hz
The median is the middle of the sorted set of accepted readings. With an even number of readings, we average the middle pair. Low and high values describe the detected range within the session.
Clear, single-source audio gives the most interpretable results. Background music, multiple simultaneous voices, and short irregular sounds can lead to sudden jumps, including estimates twice or half the actual frequency.
How pitch in Hz becomes a musical note
We use twelve-tone equal temperament anchored at A4 = 440 Hz. Multiplying the base-two logarithm of frequency divided by 440 by twelve gives the semitones from A4. Rounding to a whole semitone identifies the closest note. The fractional distance gives the offset in cents, with 100 cents per semitone.