Presentation is loading. Please wait.

Presentation is loading. Please wait.

0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Echo.

Similar presentations


Presentation on theme: "0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Echo."— Presentation transcript:

1

2 0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Echo and Reverberation

3 Slide 2 © 2007 Texas Instruments Inc, Objectives To explain echo and reverberation. To build Simulink ® models. To test the models using the Texas Instruments C6713 DSK with a microphone and headphones/computer loudspeakers.

4 Slide 3 © 2007 Texas Instruments Inc, Echo Echo is audible because the speed of sound is relatively slow, about 400 meters per second. Click on icon to listen to echo.

5 Slide 4 © 2007 Texas Instruments Inc, Block Diagram of Echo For the time being, we will consider only one echo path. Output = Input + Delayed Input. Because of losses in the delayed path, Gain < 1.

6 Slide 5 © 2007 Texas Instruments Inc, Equation for Simplified Echo

7 Slide 6 © 2007 Texas Instruments Inc, Frequency Response The frequency response of echo can be calculated using the following.m file.

8 Slide 7 © 2007 Texas Instruments Inc, Frequency Response of Echo

9 Slide 8 © 2007 Texas Instruments Inc, Multiple Echo Paths A real room will have several echo paths.

10 Slide 9 © 2007 Texas Instruments Inc, 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.

11 Slide 10 © 2007 Texas Instruments Inc, Reverberation Reverberation is similar to echo, but uses a slightly different configuration. Click on the icon to hear reverberation.

12 Slide 11 © 2007 Texas Instruments Inc, Reverberation on Stage Sound reaches the microphone from both the performer and the the loudspeakers.

13 Slide 12 © 2007 Texas Instruments Inc, Block Diagram of Reverberation Output = Input + Delayed Output

14 Slide 13 © 2007 Texas Instruments Inc, Simplified Reverberation Equation

15 Slide 14 © 2007 Texas Instruments Inc, Matlab Model of Reverberation

16 Slide 15 © 2007 Texas Instruments Inc, Reverberation Frequency Response

17 Slide 16 © 2007 Texas Instruments Inc, 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.

18 Slide 17 © 2007 Texas Instruments Inc, Real World Echo and Reverberation A real room will have several echo paths. 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.

19 Slide 18 © 2007 Texas Instruments Inc, Simulink Models

20 Slide 19 © 2007 Texas Instruments Inc, Simulink Model of Echo

21 Slide 20 © 2007 Texas Instruments Inc, Simulink Model of Reverberation

22 Slide 21 © 2007 Texas Instruments Inc, Modifications for TI C6713

23 Slide 22 © 2007 Texas Instruments Inc, C6713 DSK Model of Echo

24 Slide 23 © 2007 Texas Instruments Inc, Sampling and Integer Delay The sampling rate is 8000 Hz. An Integer Delay of 4000 produces a delay time of 4000/8000 = 0.5 seconds.

25 Slide 24 © 2007 Texas Instruments Inc, C6713 DSK Model of Reverberation

26 Slide 25 © 2007 Texas Instruments Inc, Simulink Model of Reverberation Using 8000 samples per second, a delay of 800 samples will take 800/8000 = 0.1 seconds (100 ms). A Delay Gain of 0.8 has been used. This means 80% of the output is fed back into the input. –Increase this value for more reverberation, but less stability. –Decrease this value for less reverberation, but more stability.

27 Slide 26 © 2007 Texas Instruments Inc, Introduction to Laboratory

28 Slide 27 © 2007 Texas Instruments Inc, The Complete Simulink Model In the Laboratory you will build a Simulink Model for echo and reverberation. You will be able to run different echo and reverberation effects on the C6713 DSK.

29 Slide 28 © 2007 Texas Instruments Inc, C6713 DSK Setup USB to PCto +5V Headphones Microphone

30 Slide 29 © 2007 Texas Instruments Inc, The Complete C6713 Model

31 Slide 30 © 2007 Texas Instruments Inc, DSK Switch Settings

32 Slide 31 © 2007 Texas Instruments Inc, References A Digital Signal Processing Primer by Ken Steiglitz. ISBN 0-8053-1684-1.


Download ppt "0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Echo."

Similar presentations


Ads by Google