Home / Expert Answers / Electrical Engineering / section-ii-filtering-an-audio-signal-a-sampled-piece-of-music-is-stored-in-clean-wav-the-same-pi-pa550

(Solved): Section II [Filtering an Audio Signal] A sampled piece of music is stored in clean.wav. The same pi ...




Section II [Filtering an Audio Signal]
A sampled piece of music is stored in clean.wav. The same piece corrupted by noise is
Section II [Filtering an Audio Signal] A sampled piece of music is stored in clean.wav. The same piece corrupted by noise is stored in noisy.wav. A. Load the two wav files using the MATLAB command wavread. \( [y 1, f s]= \) audioread('clean.wav') \( [y 2, f s]= \) audioread('noisy.wav') What is the sampling frequency? B. Play the two pieces of music using the MATLAB command sound. Do you notice the "hissing" in the noisy file? C. Using the \( f f t \) and \( f f t \) shift, plot the magnitude of the spectrum of \( y 1 \) and \( y 2 \). D. Examine the spectrum of \( y 1 \) and \( y 2 \) and determine what cutoff frequency an ideal lowpass filter would need to remove the noise. E. Using the technique of Part A, design lowpass digital Butterworth that will remove the noise with \( 40 d B \) attenuation in the stopband while making the passband ripple as small as you can. F. Using the designed filter, filter the data using the filter command and determine how well your filter did by: 1) listening to the filtered signal and comparing its quality to the original one and 2) by comparing the two spectra.


We have an Answer from Expert

View Expert Answer

Expert Answer


A) Load the two wav files -: Below is the MATLAB Code by which you can load the two wav files [y1, fs] = audioread('clean.wav'); % load clean wav file
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe