Acoustics: EE E6820: Speech & Audio Processing & Recognition
Acoustics: EE E6820: Speech & Audio Processing & Recognition
Lecture 3: Acoustics
1 The wave equation 2 Acoustic tubes: reections & resonance 3 Oscillations & musical acoustics 4 Spherical waves & room acoustics
2001-02-05 - 1
2001-02-05 - 2
1 S
= S
y x
dx
2001-02-05 - 3
y x
2
dx = dx
y t
2
Call c
= S (tension to mass-per-length)
2 y y = 2 2
2001-02-05 - 4
y = f ' ( x ct ) x y x
2 2
y = c f ' ( x ct ) t y t
2 2
= f '' ( x ct )
= c f '' ( x ct )
2 y y = 2 2
y ( x, t ) = y ( x ct ) + y ( x + ct )
E6820 SAPR - Acoustics - Dan Ellis 2001-02-05 - 5
c is travelling wave velocity ( x / t ) y+ moves right, y moves left resultant y(x) is sum of the two waves
2001-02-05 - 6
y(L,t) = 0
2001-02-05 - 7
y(x,t) = y+ + y y x=L
simulation [travel1.m]
E6820 SAPR - Acoustics - Dan Ellis 2001-02-05 - 8
Acoustic tubes
Sound waves travel down acoustic tubes:
pressure
- 1-dimensional; very similar to strings Common situation: - wind instrument bores - ear canal - vocal tract
2001-02-05 - 9
(x)
x
Particle velocity v ( x, t ) =
Air pressure p ( x, t ) = -- -
v p dx dA = dAdx t x p v = x t
2 2
2 Hence c = 2 2
1 c = ---------
2001-02-05 - 11
( x, t ) = ( x ct ) + ( x + ct )
+
+ () Call u ( ) = cA c Z 0 = ----A
Then pressure: + 1 p ( x, t ) = -- = Z 0 [ u ( x ct ) + u ( x + ct ) ] x Volume velocity: + = u ( x ct ) u ( x + ct ) t
u ( x, t ) = A
2001-02-05 - 13
Terminations in tubes
Equivalent of xed point for tubes? Solid wall forces hence u+ = uu(x,t) = 0
u0(t)
(Volume velocity input)
Open end is like xed point for rope: reects wave back inverted
Unlike xed point, solid wall reects traveling wave without inversion
2001-02-05 - 14
Standing waves
Consider (complex) sinusoidal input: jt u0 ( t ) = U 0 e At any point, values will have form Ke Hence traveling waves: j ( kx + t + A ) + j ( t + )
u ( x ct ) = A e
-
j ( kx + t + B )
U0 ejt
kx = x=/2 pressure = 0 (node) vol.veloc. = max (antinode)
For lossless termination (|u+| = |u-|), have true nodes & antinodes Pressure and vol. veloc. are phase shifted - in space and in time
2001-02-05 - 16
Transfer function
Consider tube excited by u 0 ( t ) = U 0 e - sinusoidal traveling waves must satisfy termination boundary conditions - satised by complex constants A and B in + jt :
u ( x, t ) = u ( x ct ) + u ( x + ct ) = Ae = e
j ( kx + t )
+ Be
j ( kx + t ) jkx
jt
( Ae
jkx
+ Be
- standing wave pattern will scale with input magnitude - point of excitation makes a big difference
2001-02-05 - 17
k = -- c
U0 ejt U0 ejt
U0
UL
U0
UL
2001-02-05 - 18
u ( L, t ) u ( 0, t )
1 cos kL
1 cos ( L c )
u(L) u(0)
c 2
Resonant modes
For lossless tube
L = 0/4 e.g 17.5 cm vocal tract, c = 350 m/s 0 = 2 500 Hz (then 1500, 2500 ...)
2001-02-05 - 20
Scattering junctions
At abrupt change in area: pressure must be continuous pk(x, t) = pk+1(x, t) vol. veloc. must be continuous uk(x, t) = uk+1(x, t) traveling waves u+k, u-k, u+k+1, u-k+1 will be different
u+
u-k
Area Ak
Ak+1 Ak
Area ratio
2 r+1
2001-02-05 - 21
Ak, Lk
Ak+1, Lk+1
x Can solve for resonances Reasonable approx to human vocal tract Vowel formants from tube resonances
sound example? ah ee oo
2001-02-05 - 22
- why? why music? Different kinds of oscillators: - simple harmonic motion (tuning fork) - relaxation oscillator (voice) - string traveling wave (plucked/struck/bowed) - air column (nonlinear energy element)
2001-02-05 - 23
x = x F = kx
x = A cos ( t + )
m x
e.g. tuning fork Not great for music: - fundamental (cost) only - relatively low energy 2= k
2001-02-05 - 24
Relaxation oscillator
Multi-state process: - one state builds up potential (e.g. pressure) - switch to second (release) state - revert to rst state etc. e.g. vocal folds:
Oscillation period depends on force (tension) - easy to change - hard to keep stable less used in music
2001-02-05 - 25
Ringing string
e.g. our original rope example
tension S mass/length
2 2= S L2
L
Many musical instruments - guitar (plucked) - piano (struck) - violin (bowed)
Control period (pitch): - change length (fretting) - change tension (tuning piano) - change mass (piano strings) Inuence of excitation ... [pluck1a.m]
2001-02-05 - 26
Wind tube
Resonant tube + energy input nonlinear scattering junction element (tonehole) acoustic waveguide
energy
c 2L
(quarter wavelength)
e.g. clarinet - lip pressure keeps reed closed - reected pressure wave opens reed - reinforced pressure wave passes through Finger holes determine rst reection effective waveguide length
e.g.
E6820 SAPR - Acoustics - Dan Ellis 2001-02-05 - 27
Room acoustics
Sound in free air expands spherically:
2 p 1 p = ---- + -- 2 2 2 r r c t r p
P 0 j ( t kr ) solved by p ( r, t ) = ----- e r
source
listener
Early echos in room impulse response: direct path early echos hroom(t)
Real rooms have lots of modes! - dense, sustained echos in impulse response - complex pattern of peaks in frequency response
2001-02-05 - 30
Reverberation
Exponential decay of reections: hroom(t) ~e-t/T
t Frequency-dependent - greater absorption at high frequencies faster decay Size-dependent - larger rooms longer delays slower decay Sabines equation:
0.049V RT 60 = ----------------S
Time constant as size, absorption [e.g.]
2001-02-05 - 31
Summary
Travelling waves Acoustic tubes & resonance Musical acoustics & periodicity Room acoustics & reverberation
2001-02-05 - 32