Beruflich Dokumente
Kultur Dokumente
Gerald Leung
V00659924
3.
[ ]
( )
( )[
]
]
( )
The following figures are the Frequency and Impulse response of the FIR Comb filter with Delay M = 4 and g =
1.5
The following is the Pole Zero plot of the comb filter with g = 1.5:
[ ]
( )
The following figures are the Frequency and Impulse response of the IIR Comb filter with Delay M = 4 and g = 1.5
4.
For FIR Comb Delay causes a more crisp echo on the audio file because it has no feedback and it is only repeating one
sample at a time of delay M. The IIR Comb delay filter causes more significant echo effect because the filter is recursive
which plays back the echoed effects of the previous samples and adds it to the current output sample. The range of
delays also affects the time range of the echo effect a longer delay creates a more significant echo effect in IIR Filter.
For example, a longer delay time would sound like an echo in a room with more echo sounds bouncing off the wall . See
part4.m, fir_comb.m and iir_comb.m for matlab code on implementing the IIR and FIR Comb delay filters and
5.
See Part5 folder for matlab code and out_vibrato.wav file for results
6.
The following is the derivation of the transfer function of an All Pass filter.
( )
)
)
( )
2 Poles:
0 + 0.9615i
0 - 0.9615i
2 zeros:
0 + 1.0401i
0 - 1.0401i
The following figure is the frequency response of the All Pass Filter. Note that the Phase response in the bottom graph is
repeated at 0 to -360 degrees to -720 degrees etc.
From both graphs, we can confirm that the magnitude and phase response are both identical.
7.
The following figure is the group delay of the all pass filter in Part 6.
And the following graphs are AM signals applied to the filter near the minimum and maximum group delay
respectively.
The following figure is the Input signal in blue and Output signal In Red at the carrier frequency of 1 Khz). The
phase delay is 0 degrees, or 0 sample delay as expected in the phase and group delay graph.
The following figure is the Input signal in blue and Output signal In Red at the carrier frequency of 2 Khz (Center
Frequency). The phase delay is -180 degrees as expected in the phase and group delay graph.
Part 8
I first created 15 seconds of white noise. In each segment, I varied the frequency of the wahwah filter to create
different audio effects. I also tried using both IIR and FIR filters on the audio segments that have already passed
through the wahwah filter. Finally, I added a various vibrato effects to the white noise. Open part8.wav file in Part8
folder for sound collage result. See the part8 folder for matlab code and results.