subject
Engineering, 28.08.2020 01:01 augustusj48

In this exercise, you will consider the problem of removing an echo from a recording of a speech signal. This project will use the audio capabilities of MATLAB to play recordings of both the original speech and the result of your processing. To begin this exercise you will need to load the speech file lineup. mat, which is contained on Sakai together with the homework assignment. If this speech file is already somewhere in your MATLAB PATH, then you can load the data into MATLAB by typing>> load 1ineup. matOnce you have loaded the data into MATLAB, the speech waveform will be stored in the variable y. Since the speech was recorded with a sampling rate of 8192 Hz, you can hear the speech by typing>> sound(y,8192)You should hear the phrase "line up" with an echo. The signal y[n], represented by the vector y, is of the formy[n] = x[n] + ax[n N] (1)where x[n] is the uncorrupted speech signal, which has been delayed by N samples and added back in with its amplitude decreased by a < 1. This is a reasonable model for an echo resulting from the signal reflecting off of an absorbing surface like a wall. If a microphone is placed in the center of a room, and a person is speaking at one end of the room, the recording will contain the speech which travels directly to the microphone, as well as an echo which traveled across the room, reflected off of the far wall, and then into the microphone. Since the echo must travel further, it will be delayed in time. Also, since the speech is partially absorbed by the wall, it will be decreased in amplitude. For simplicity ignore any further reflections or other sources of echo. For the problems in this exercise, you will use the value of the echo time, N = 1000, and the echo amplitude, a = 0.5.(a). In this exercise you will remove the echo by linear filtering. Since the echo can be represented by a linear system of the form Eq. (1), determine and plot the impulse response of the echo system Eq. (1). Store this impulse response in the vector for 0 <= n <= 1000.(b). Consider an echo removal system described by the difference equationz[n] + az[n N] = y[n] (2)where y[n] is the input and z[n] is the output which has the echo removed. Derive the overall differ- ence equation relating z[n] to x[n]. Is z[n] = x[n] a valid solution to the overall difference equation?(c). The echo removal system Eq. (2) will have an infinite-length impulse response. Assuming that N = 1000, and a = 0.5, compute the impulse response using filter with an input that is an impulse givenbyd=[1 zeros(1,4000)].Storethis4001 the vector her.(d). =filter(1,a, y), vector derived from Eq. (2). Plot the output using plot. Also, listen to the output using sound. You should no longer hear the echo.(e). Calculate the overall impulse response of the cascaded echo system, Eq. (1), and echo removal system, Eq. (2), by convolving he with her and store the result in hoa. Plot the overall impulse response. You should notice that the result is not a unit impulse. Given that you have computed her to be the inverse of he, why is this the case?

ansver
Answers: 2

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, ashleybaber4966
If a particle moves along a path such that r : (3 sin t) m and ? : 2t rad, where t is in seconds. what is the particle's acceleration in m/s in 4 seconds? a)- 16.43 b)- 16.29 c)- 15.21 d)- 13.79
Answers: 1
image
Engineering, 04.07.2019 18:10, tjeffers90028
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
image
Engineering, 04.07.2019 18:10, qwertylol12345
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
image
Engineering, 04.07.2019 18:10, lowkeyqueenk
Apipe with an outside diameter of 15 cm is exposed to an ambient air and surrounding temperature of -20°c. the pipe has an outer surface temperature of 65°c and an emissivity of 0.85. if the rate of heat loss from the pipe surface is 0.95 kw per meter of length, the external convective heat transfer coefficient (h) is: (a) 12.5 w/m"k (b) 18.6 w/mk (c) 23.7 w/mk (d) 27.9 w/mk (e) 33.5 w/mk
Answers: 1
You know the right answer?
In this exercise, you will consider the problem of removing an echo from a recording of a speech sig...

Questions in other subjects:

Konu
Chemistry, 19.03.2021 20:30
Konu
Social Studies, 19.03.2021 20:30
Konu
Mathematics, 19.03.2021 20:30