S1644 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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: Δt=(a/c)(θ+sin⁡θ).
  • 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?

Name it

The voice

In voiced speech the vocal folds open and close periodically at the fundamental frequency f0, around 85 to 180 Hz in adult men and 165 to 255 Hz in adult women; the pitch period is 1/f0. 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 (2n−1)c/4L: 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

Δt=ac(θ+sin⁡θ)

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 fs captures frequencies below fs/2, 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,

SNR=6.02N+1.76 dB

The raw data rate is fs×N× 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
  1. Adult tract. The formants are 490,1470,2450Hz
  2. Child's tract. F1=3434×0.12=715Hz then 2144 and 3573 Hz, all raised by the ratio 17.5/12.
  3. Pitch periods. T0=1/120Hz=8.33msT0=1/220Hz=4.55ms

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
  1. At 30°. Δt=0.0875343(0.524+0.5)=261μs
  2. At 90°. Δt=0.0875343(1.571+1)=656μs
  3. CD data rate. R=44,100×16×2=1.411Mbit/s

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
  1. Without dither. The quantization noise has variance Δ2/12, and SNR=6.02×16+1.76=98.1dB
  2. With dither. Triangular dither adds variance 2Δ2/12, tripling the noise power: SNR=98.1−4.8=93.3dB
  3. 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°.

Explain why

Why do a child's formants sit higher than an adult's for the same vowel?

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.