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

Another question on Engineering

question
Engineering, 03.07.2019 19:30
When using the ohmmeter function of a digital multimeter, the leads are placed in what position relative to the component being tested? a. parallel b. control c. series d. line
Answers: 3
question
Engineering, 04.07.2019 18:10
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
question
Engineering, 04.07.2019 18:10
Assuming compressible flow of air and that the measurements are done at flagstaff a pitot static tube that gives the difference of total and static pressure measures 0.35 m of mercury. what is the velocity of air? assume the temperature to be 300k. (submit your excel or matlab calculation sheet)
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
question
Mathematics, 13.10.2020 14:01
question
Mathematics, 13.10.2020 14:01
question
History, 13.10.2020 14:01
question
Social Studies, 13.10.2020 14:01
question
Advanced Placement (AP), 13.10.2020 14:01
Questions on the website: 13722363