5D Library › Singer Formant Clustering, Glottal Closure Quotients and Acoustic Authority Psychophysics · 中文
Chapter 3. Jitter and Shimmer: What the Numbers Measure and What the Recorder Adds
Cycle-to-cycle perturbation
Jitter is the cycle-to-cycle variation of the glottal period, shimmer that of the peak amplitude; both are standard outputs of voice analysis software such as Praat (Boersma 2001). Thresholds for pathology are often quoted as 1.04% for local jitter and 3.81% for local shimmer (Teixeira et al. 2013). The popular advice “keep jitter under 1% and shimmer under 3% to sound authoritative” borrows these clinical limits. p05 computes both measures for three synthetic voices and asks how stable they are.
Calculation
# Chapter 3. p05: Jitter and shimmer from cycle-to-cycle periods and
# peak amplitudes. Local jitter = mean |T(i) - T(i-1)| / mean T; local
# shimmer the same for amplitudes. Three synthetic voices at 120 Hz with
# independent normal perturbations (sd of period, sd of amplitude, both
# relative): steady 0.3% and 1.5%; ordinary 0.7% and 3%; rough 1.2% and
# 5%. For independent errors local jitter is about 1.128 times the sd.
# Thresholds often quoted for pathology: jitter 1.04%, shimmer 3.81%.
# Each voice: 2,000 recordings of 50 cycles and of 500 cycles. Seed 99.
import random
def local(xs):
d = sum(abs(a - b) for a, b in zip(xs[1:], xs)) / (len(xs) - 1)
return d / (sum(xs) / len(xs))
VOICES = (("steady", 0.003, 0.015), ("ordinary", 0.007, 0.03),
("rough", 0.012, 0.05))
if __name__ == "__main__":
rng = random.Random(99)
print(" voice cycles jitter % 10-90% range shimmer %"
" over a limit")
for name, sj, sa in VOICES:
for n in (50, 500):
js, ss, over = [], [], 0
for _ in range(2000):
t = [(1 + rng.gauss(0, sj)) / 120 for _ in range(n)]
a = [1 + rng.gauss(0, sa) for _ in range(n)]
j, s = local(t), local(a)
js.append(j)
ss.append(s)
over += j > 0.0104 or s > 0.0381
js.sort()
fmt = (" {:<8} {:6d} {:8.2f} {:5.2f} to {:5.2f} {:9.2f}"
" {:12.3f}")
print(fmt.format(name, n, 100 * sum(js) / 2000, 100 * js[200],
100 * js[1800], 100 * sum(ss) / 2000, over / 2000))
# voice cycles jitter % 10-90% range shimmer % over a limit
# steady 50 0.34 0.28 to 0.40 1.68 0.000
# steady 500 0.34 0.32 to 0.36 1.70 0.000
# ordinary 50 0.79 0.66 to 0.92 3.39 0.170
# ordinary 500 0.79 0.75 to 0.83 3.38 0.002
# rough 50 1.36 1.14 to 1.58 5.63 1.000
# rough 500 1.35 1.29 to 1.43 5.64 1.000The steady voice has jitter 0.34% and shimmer 1.68% to 1.70%; the ordinary voice 0.79% and 3.39%; the rough voice 1.36% and 5.63%. For independent perturbations, local jitter is close to 1.128 times the standard deviation of the period, as the comment of p05 says. With only 50 cycles (less than half a second of voice) the ordinary voice crosses one of the two limits in 0.170 of recordings; with 500 cycles, in 0.002. Short samples make a normal voice look abnormal about one time in six.
These measures describe the stability of phonation, not authority. They separate healthy from disordered voices; there is no published evidence that lowering jitter from 0.79% to 0.34% within the healthy range makes a speaker more persuasive, and the hypothesis below says how that could be tested.
Jitter from the recorder
A period is measured between two events in a sampled signal, so the sampling grid itself adds jitter. p06 draws a voice with a true local jitter of 0.34%, adds noise 40 dB below the signal, samples it at three rates and measures periods at zero crossings.
Calculation
# Chapter 3. p06: Jitter that comes from the recorder. A voice at 120 Hz
# with true period jitter (sd 0.3%, local jitter about 0.34%) is drawn
# as a sine whose phase advances one cycle per glottal period, with
# noise 40 dB below the signal, and sampled at 8, 16 and 44.1 kHz.
# Periods are measured between upward zero crossings, either at the
# sample after the crossing or by linear interpolation between the two
# samples around it; a crossing within 6 ms of the last one is ignored
# (noise near zero makes extra crossings). 400 cycles per recording, 30
# recordings. Seed 99.
import random
from math import pi, sin
def record(rng, fs, n=400):
periods = [(1 + rng.gauss(0, 0.003)) / 120 for _ in range(n)]
edges, t = [0.0], 0.0
for p in periods:
t += p
edges.append(t)
xs, k = [], 0
for i in range(int(t * fs)):
ti = i / fs
while k < n - 1 and ti >= edges[k + 1]:
k += 1
ph = (ti - edges[k]) / periods[k]
xs.append(sin(2 * pi * ph) + rng.gauss(0, 0.01))
return periods, xs
def crossings(xs, fs, interp):
out = []
for i in range(1, len(xs)):
if xs[i - 1] < 0 <= xs[i] and (not out or i / fs - out[-1] > 0.006):
if interp:
out.append((i - 1 + xs[i - 1] / (xs[i - 1] - xs[i])) / fs)
else:
out.append(i / fs)
return [b - a for a, b in zip(out, out[1:])]
def local(ts):
return sum(abs(a - b) for a, b in zip(ts[1:], ts)) / (
len(ts) - 1) / (sum(ts) / len(ts))
if __name__ == "__main__":
rng = random.Random(99)
print(" rate (Hz) true jitter % at sample % interpolated %")
for fs in (8000, 16000, 44100):
tr, raw, lin = 0.0, 0.0, 0.0
for _ in range(30):
periods, xs = record(rng, fs)
tr += local(periods) / 30
raw += local(crossings(xs, fs, False)) / 30
lin += local(crossings(xs, fs, True)) / 30
print(" {:9d} {:13.2f} {:11.2f} {:14.2f}".format(
fs, 100 * tr, 100 * raw, 100 * lin))
# rate (Hz) true jitter % at sample % interpolated %
# 8000 0.34 1.00 0.42
# 16000 0.34 0.59 0.42
# 44100 0.34 0.47 0.43Taking the sample after each crossing, the measured jitter is 1.00% at 8 kHz (above the 1% advice for a voice that is in fact very steady), 0.59% at 16 kHz and 0.47% at 44.1 kHz. Interpolating between samples brings all three rates to 0.42% or 0.43%: the remaining excess over 0.34% comes from the noise, which shifts each crossing a little. A jitter value is a property of the voice plus the recording chain; comparisons are only fair with the same sampling rate, the same algorithm and similar noise.
Hypothesis · not established
The author’s interpretation (not yet tested): within the healthy range (local jitter below 1%), jitter and shimmer have no effect on listeners’ ratings of a speaker’s competence or trustworthiness once mean pitch, loudness and speaking rate are controlled. What would show it wrong: in a pre-registered listening experiment that resynthesizes the same utterances with jitter of 0.34% and 0.79% at fixed pitch, loudness and timing, ratings of competence or trust differ reliably between the two.
Summary
Jitter and shimmer measure the stability of phonation and are reliable only over hundreds of cycles; the clinical thresholds are not targets for persuasion. The recorder adds its own jitter: sampled at 8 kHz without interpolation, a very steady voice measured 1.00%.
References
Fan, Y. (2026). Singer Formant Clustering, Glottal Closure Quotients and Acoustic Authority Psychophysics: Subglottal Pressure Dynamics, Pitch-Floor Stability and Pause-to-Phoneme Persuasion Ratios [歌手共振峰簇、声门闭合商与声学权威度心理物理学] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090258 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).