0-1
Chapter 3 - Slide 2
Objectives
To explain echo and reverberation To implement them in C code To test the models using the Texas Instruments TMS320C5505 USB Stick with a microphone and headphones/computer loudspeakers.
Chapter 3 - Slide 3
Echo
Echo is audible because the speed of sound is relatively slow, about 400 meters per second Click on icon to listen to echo.
Sound Source
Listener
2010 Texas Instruments Inc Chapter 3 - Slide 4
y(n)
G.x(n)z -N
)
Chapter 3 - Slide 6
Frequency Response
The frequency response of echo can be calculated using the following Matlab .m file.
Chapter 3 - Slide 7
Chapter 3 - Slide 8
Chapter 3 - Slide 9
Summary of Echo
The Echo output is derived solely from the input Certain frequencies are attenuated Because the poles lie inside the unit circle, echo is stable.
Chapter 3 - Slide 10
Reverberation
Reverberation is similar to echo, but uses a slightly different configuration Click on the icon to hear reverberation.
Chapter 3 - Slide 11
Reverberation on Stage
Sound reaches the microphone from both the performer and the the loudspeakers.
Loudspeaker Performer
Loudspeaker
Microphone
Chapter 3 - Slide 12
Simplified Reverberation
Input + +
Gain
Output
Delay
Delayed Output
Chapter 3 - Slide 13
y(n)
Gy(n)z-N
z-N
)
Chapter 3 - Slide 14
Chapter 3 - Slide 15
Chapter 3 - Slide 16
Summary of Reverberation
The output is derived from both the input and the previous output At certain frequencies, the output will be amplified
Because the poles lie on the unit circle, reverberation can become unstable.
Chapter 3 - Slide 17
When sound is reflected off a surface there will be coloration. Certain frequencies will be absorbed and there will be phase changes Therefore, a commercial echo / reverberation unit will contain many different delay paths.
Chapter 3 - Slide 18
C Code Implementation
Chapter 3 - Slide 19
C Code Implementation
This laboratory uses a sampling rate of 24000 Hz rather than 48000 Hz This allows longer delay times to be implemented
Chapter 3 - Slide 20
Introduction to Laboratory
Chapter 3 - Slide 21
In the Laboratory you will build a C code implementation for echo and reverberation You will be able to run different echo and reverberation effects on the TMS320C5505 USB Stick.
Chapter 3 - Slide 22
Chapter 3 - Slide 23
Chapter 3 - Slide 24
Files In Project
Chapter 3 - Slide 25
Console
Chapter 3 - Slide 26
Chapter 3 - Slide 27
Chapter 3 - Slide 28
Chapter 3 - Slide 29
Chapter 3 - Slide 30
Programming Challenge
In the real world there are multiple echo and reverberation paths Write your own code to combine both echo and reverberation.
Chapter 3 - Slide 31
Questions
What are the differences between echo and reverberation?
Which of echo and reverberation requires the least memory to write your program?
How would you ensure that reverberation remains stable?
Chapter 3 - Slide 32
References
A Digital Signal Processing Primer by Ken Steiglitz. ISBN 0-8053-1684-1.
Chapter 3 - Slide 33