S16 · Lesson 44 · Speech, spatial hearing and digital audio
The source-filter model of speech with pitch and formants, how vocal-tract length scales the formants, telephone bandwidth, interaural time differences for locating sounds, and the sample rates, bit depths, noise floors and data rates of digital audio
Speech is a buzz shaped by a tube: the vocal folds produce a train of pulses at the voice's pitch, and the throat and mouth filter it with resonances that change as the tongue and lips move. Two ears a head's width apart locate where a sound comes from, using microsecond differences in arrival time. And every recording and phone call digitizes this with a sample rate and a bit depth whose noise floor follows directly from C9 and S7. This lesson connects the acoustics of the voice and the ear to the numbers that audio engineers use every day.
- The interaural time difference for a source at azimuth θ, from Woodworth's model of a spherical head of radius a: .
- It's zero straight ahead and reaches about 0.66 ms at the side for a typical 8.75 cm head radius.
- The brain resolves differences of about 10 µs, a couple of degrees near the front.
Predict
A 16-bit converter records a full-scale sine wave. What's its signal-to-quantization-noise ratio?
For a full-scale sine and N bits, SNR = 6.02N + 1.76 dB: 98.1 dB for 16 bits. The 6.02 dB per bit is 20 log 2, one bit doubling the number of levels. 24 bits would give 146 dB, more than any analog front end or room can deliver.
Name it
The voice
In voiced speech the vocal folds open and close periodically at the fundamental frequency , around 85 to 180 Hz in adult men and 165 to 255 Hz in adult women; the pitch period is . The pulse train's harmonics are shaped by the vocal tract's resonances, the formants. Modeled as a uniform closed–open tube of length L (lesson 23), the formants are at : a shorter tract, as in children, moves every formant up in proportion. Changing the tube's shape moves the formants and makes the different vowels.
Bandwidth
Most speech intelligibility lies between about 300 Hz and 3.4 kHz, the classic telephone band, sampled at 8 kHz. Wideband voice (50 Hz to 7 kHz, sampled at 16 kHz) sounds markedly clearer. Music needs 20 Hz to 20 kHz.
Spatial hearing
A sound from the side reaches the near ear first. Woodworth's spherical-head model gives
up to about 0.66 ms. Below about 1.5 kHz the brain compares phase between the ears; above, where the head shadows the far ear, level differences take over.
Digital audio
Sampling at captures frequencies below , with an anti-aliasing filter in between; CD audio uses 44.1 kHz. An N-bit converter's quantization noise gives, for a full-scale sine,
The raw data rate is channels: 1.411 Mbit/s for 16-bit stereo CD audio, which perceptual codecs (lesson 29's masking) reduce tenfold.
Worked example
Where are the first three formants of a 17.5 cm adult tract and a 12 cm child's tract? What are the pitch periods at 120 Hz and 220 Hz?
Show the solution
- Adult tract. The formants are
- Child's tract. then 2144 and 3573 Hz, all raised by the ratio 17.5/12.
- Pitch periods.
Answer 490, 1470 and 2450 Hz for the adult and 715, 2144 and 3573 Hz for the child; the pitch periods are 8.33 ms and 4.55 ms.
Worked example
What interaural time differences does an 8.75 cm head give at 30° and 90°? What data rate does 16-bit, 44.1 kHz stereo need?
Show the solution
- At 30°.
- At 90°.
- CD data rate.
Answer 261 µs at 30° and 656 µs at 90°; CD audio needs 1.411 Mbit/s.
Worked example
A 16-bit converter is dithered with triangular noise of two least-significant bits peak to peak. What signal-to-noise ratio does a full-scale sine get, with and without the dither?
Show the solution
- Without dither. The quantization noise has variance , and
- With dither. Triangular dither adds variance , tripling the noise power:
- What it buys. The price buys noise that is independent of the signal, so quiet passages fade into a smooth hiss rather than turning into harmonically related distortion.
Answer 98.1 dB without dither and 93.3 dB with it.
Check
Model a vocal tract as a 15 cm closed–open tube. Where's formant 2?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
What signal-to-quantization-noise ratio does a 12-bit converter give for a full-scale sine?
Check
What raw data rate does 6-channel audio at 44.1 kHz and 8 bits need?
Write units the way you normally would: 1.5 Mb/s, 1500 kb/s and 0.0015 Gb/s are the same answer.
Check
A head of radius 8.75 cm hears a source at 20° azimuth. What's the interaural time difference by Woodworth's model?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
Check
A voice has a fundamental frequency of 120 Hz. What's its pitch period?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A signal must keep frequencies up to 7 kHz. What's the lowest sample rate that could, with an ideal anti-aliasing filter?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
A 16-bit converter digitizes a full-scale sine.
(a)
What signal-to-noise ratio does undithered quantization allow?
(b)
And with triangular dither?
Check
Audio is sampled at f kHz with N bits on c channels; separately, a head of radius a (m) hears a source at azimuth θ (radians).
Step 1
What raw data rate is that, in kb/s?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What interaural time difference does Woodworth's model give, in seconds?
Explain why
Why do a child's formants sit higher than an adult's for the same vowel?
Formants are the resonances of the vocal tract, roughly a tube closed at the glottis and open at the lips, so their frequencies scale inversely with the tube's length. A child's vocal tract is around 12 cm long against an adult's 17.5 cm, so every formant of a given vowel is raised by roughly the ratio of lengths, nearly half again. Listeners still recognize the vowel because what identifies it is the pattern of formant frequencies relative to each other and to the speaker's overall scale, which is also why speech recognizers normalize for vocal-tract length.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.