Docsity

Audio Signal Noise Reduction Filter Design - ECE 412 HW4, UIC, Spring 2012, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 412 Introduction to Filter Synthesis
Homework #4 (Due: 2/29/2012)
University of Illinois at Chicago
Spring 2012
Problem 1
This is a special problem as described in lecture on Wednesday, February 22. The assignment
involves noise filtering from an audio file (wav) to recover the underlying message. The
audio file will be imported into LTspice and after filtering (using opamp based active filters)
the resulting signal will be output into a wav file. The filtered wav file will hopefully be
“clean” enough to hear the underlying message. In order to proceed with the problem,
please download the following three files into your ECE 412 directory:
message.wav – wav file that contains noise
message.asc – LTspice file that imports message.wav as a voltage at node in
oa ugbw.asy – the symbol for an improved opamp model that should be used in the
simulations
These files are found on the Homework section of the course webpage. The LTspice file
contains the imported wav file along with some pertinent information about the file. The
file also contains the improved opamp (in a buffer configuration) with output voltage out.
Your task is to design a filter with in as the input and out as the output. There is already
a statement beginning with .wave that will export the output at node out to a wav file. So
if you run the file as is, you should get a wav file in your directory that sounds just like the
input.
In order to design the filter, you should first examine the spectrum of the input signal at node
in. Run the file message.asc and plot the voltage at in. After the simulation is completed,
move your cursor over the waveform and Right-Click >View >FFT, then click on V(in)
and then click OK. You should now be looking at the spectrum of V(in). You should note
the frequency of the highest noise spikes (they should be around 120Hz and 10kHz). You
should base your filter design on eliminating these.
Audio signals are usually in the range 20Hz–20kHz; however, spoken voice is usually has a
narrower range than that. Your task is to filter out the noise (especially at the two frequencies
mentioned above). Once the main sources of noise have been reduced in magnitude, you may
need to boost (amplify) the “clean” signal so that the signal level is high enough to be heard
on the resulting wav file.
The only hint I can give you regarding the source of the audio file is that it was sent to
me on Tuesday, February 21, 2012 at 11:45:23 pm. Examination of the file shows that it
is approximately 423kB in size and the duration of the audio is approximately 5 seconds
in length. The audio appears to be in mono (1 channel) with a bit rate of 705 kb/s. The
sample size is 16 bits with a sample rate of 44.1 kHz. The identity of the individual whose
voice is contained on the wav file (which is now corrupted with noise) remains a mystery;
however, the name of the individual has four letters.
Good Luck!
Dr. Vahe Caliskan 1 of 1 Posted: February 23, 2012
pf3
pf4

Partial preview of the text

Download Audio Signal Noise Reduction Filter Design - ECE 412 HW4, UIC, Spring 2012 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE 412 Introduction to Filter Synthesis Homework #4 (Due: 2/29/2012)

University of Illinois at Chicago Spring 2012

Problem 1 This is a special problem as described in lecture on Wednesday, February 22. The assignment involves noise filtering from an audio file (wav) to recover the underlying message. The audio file will be imported into LTspice and after filtering (using opamp based active filters) the resulting signal will be output into a wav file. The filtered wav file will hopefully be “clean” enough to hear the underlying message. In order to proceed with the problem, please download the following three files into your ECE 412 directory:

ˆ message.wav – wav file that contains noise

ˆ message.asc – LTspice file that imports message.wav as a voltage at node in

ˆ oa ugbw.asy – the symbol for an improved opamp model that should be used in the

simulations

These files are found on the Homework section of the course webpage. The LTspice file contains the imported wav file along with some pertinent information about the file. The file also contains the improved opamp (in a buffer configuration) with output voltage out. Your task is to design a filter with in as the input and out as the output. There is already a statement beginning with .wave that will export the output at node out to a wav file. So if you run the file as is, you should get a wav file in your directory that sounds just like the input.

In order to design the filter, you should first examine the spectrum of the input signal at node in. Run the file message.asc and plot the voltage at in. After the simulation is completed, move your cursor over the waveform and Right-Click > View > FFT, then click on V(in) and then click OK. You should now be looking at the spectrum of V(in). You should note the frequency of the highest noise spikes (they should be around 120Hz and 10kHz). You should base your filter design on eliminating these.

Audio signals are usually in the range 20Hz–20kHz; however, spoken voice is usually has a narrower range than that. Your task is to filter out the noise (especially at the two frequencies mentioned above). Once the main sources of noise have been reduced in magnitude, you may need to boost (amplify) the “clean” signal so that the signal level is high enough to be heard on the resulting wav file.

The only hint I can give you regarding the source of the audio file is that it was sent to me on Tuesday, February 21, 2012 at 11:45:23 pm. Examination of the file shows that it is approximately 423kB in size and the duration of the audio is approximately 5 seconds in length. The audio appears to be in mono (1 channel) with a bit rate of 705 kb/s. The sample size is 16 bits with a sample rate of 44.1 kHz. The identity of the individual whose voice is contained on the wav file (which is now corrupted with noise) remains a mystery; however, the name of the individual has four letters.

Good Luck!

Dr. Vahe Caliskan 1 of 1 Posted: February 23, 2012