0% found this document useful (0 votes)
35 views4 pages

DFTF Transform of An Audio File Lab6

The document discusses analyzing an audio file to identify the frequency of a tone present using the discrete-time Fourier transform. It then designs a notch filter to remove the tone, and designs a lowpass finite impulse response filter using fir1 for antialiasing, plotting the impulse response and frequency response.

Uploaded by

2017ee184
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views4 pages

DFTF Transform of An Audio File Lab6

The document discusses analyzing an audio file to identify the frequency of a tone present using the discrete-time Fourier transform. It then designs a notch filter to remove the tone, and designs a lowpass finite impulse response filter using fir1 for antialiasing, plotting the impulse response and frequency response.

Uploaded by

2017ee184
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Lab Report 6

Questions
1. Read the uploaded Jack Sparrow’s wave file almostcaught high.wav and examine using DTFT to figure
out the frequency of the tone present in the audio.
Following code is used to read and get the DTFT of the almostcaught.wav

This gives the following plot.


2. Design a notch filter using above-mentioned transfer function and remove
the tone.
If we zoom in on the magnitude we can see that the amplitude is highest and dominant at 0.056 pi.

So in the tone should be of frequency 0.056 pi.


We will substitute the value in the equation given in lab manual.

Then use the function filer to implement the filter as follows.

Task 2
Read the documentation of MATLAB’s command fir1. Design a lowpass FIR filter using the command for
antialiasing. The length of the filter should be 23.
Code for the filter design is given below.

Output lowpass filter denoted by b is given below.


Plot the impulse response as well as the frequency response of the lowpass FIR filter. Do you recognize the impulse
response? Which function does it resemble and why?

This has the shape of a sinc function. I do not know why it resembles a sinc function.

You might also like