VoiceHz

What is median speaking pitch?

Your pitch can move on every syllable. The median gives you a single center for the usable pitch readings, and the percentile bands show how widely they spread.

On this page

Median and arithmetic mean

Sort the five readings shown below. The middle reading is 120 Hz. The mean is 140 Hz because you add all five readings and divide by five. If the 240 Hz reading had been 140 Hz instead, the mean would be 120 Hz and the median would still be 120 Hz. A brief jump affects the mean more in this example.

Five sorted frequency readings showing Median 120 Hz versus Mean 140 Hz
Five example readings, sorted by frequency.

How VoiceHz processes a clip

Browser-local recording

The browser gives VoiceHz access to microphone samples. VoiceHz requests that automatic gain, echo cancellation and noise suppression be disabled. Devices and browsers may handle these requests differently.

Pitch estimation with YIN

The detector looks for a repeating waveform and converts the period into Hz. Speaking mode seeks a reading roughly every 55 ms from 55 to 650 Hz. The singing tool searches up to 1200 Hz. Pauses and windows without a usable period do not contribute estimates.

The center and spread

P50 is the median. P25–P75 covers roughly the middle 50% of usable readings, and P10–P90 roughly the middle 80%. VoiceHz calculates percentiles with R7 interpolation on the sorted readings, then rounds to whole Hz.

Percentile bands P10-P90, P25-P75, and Median P50 on a 100 to 180 Hz scale
Example percentile bands for nine readings from 100 to 180 Hz in 10 Hz steps. The endpoints describe speaking variation in the clip; use the Vocal Range Test for held singing notes.

Suppose two readings both have a median of 140 Hz. A P10–P90 band of 108–172 Hz spans 64 Hz, while 130–150 Hz spans 20 Hz. The first clip has a wider spread even though its center is the same. If the spread appears mostly as isolated jumps in the pitch trace, replay the clip and check for noise or an octave error.

Check the sampling details

The report shows duration, usable estimates and their share of attempted measurements. Unvoiced consonants and natural pauses lower that share, so use it as a sampling description. A live report needs at least 24 usable readings. To retest, read the same passage in a quiet room at a steady distance of about a handspan from the microphone. See Voice Hz Test.

A check against a published reference

VoiceHz ran an offline check on 20 read clips from 10 speakers in TU Graz’s PTDB-TUG dataset. The median absolute difference between clip medians and the laryngograph-derived reference was about 1.9 Hz, and the largest difference was about 10 Hz. In one clip only 21 readings were usable and P10 differed by about 104 Hz. This was a small check on clean studio audio.

For the offline check we used the shared reading prompts sa1 and sa2 for speakers F01–F05 and M01–M05. The inputs were the original 48 kHz microphone files, using 2,048-sample buffers and 55 ms steps starting at 120 ms.

Sources

Questions about median pitch

Why does live Hz move more than the median?

Live Hz follows recent pitch estimates with smoothing. The median summarizes all usable readings in the clip.

What is an octave error?

The detector can choose half or twice the true period, roughly doubling or halving the indicated frequency. If jumps recur, repeat the test in a quiet room.

What is the difference between a waveform and a pitch trace?

A waveform shows how the microphone signal’s amplitude changes over time. A pitch trace shows how the estimated repetition rate changes over time.

Why do pitch tools give different results?

Tools differ in how they detect and filter pitch and whether they show a live estimate, a mean or a median. Use the same tool, passage and setup when tracking changes over time.

Can the test measure a whisper?

Whispering typically lacks regular vocal-fold vibration, so the tracker may find few or no usable readings. Try again with your usual speaking voice.