## Synthesis Theory I: Programming Lab 6The goal of this lab is to implement an allpass filter, which
has a difference equation of:
y[n] = -g x[n] + x[n-1] + g y[n-1] A This is called a The interesting thing about the allpass filter (of any order) is
that the amplitudes of the frequencies are not changed. This may seem
like a boring filter, but what does change is the time that it takes
for different frequencies to get through the filter. Here is a plot
of the Interesting note: water behaves as an allpass filter. Over long distances, the high frequencies will arrive sooner than lower frequencies. So you can hear thunder underwater from hundreds of miles away which sounds like a sinewave falling in pitch. This is called ## Exercise:Implement the first-order allpass filter using difference equation given above. Use the program from Lab 5## AssignmentsBefore you leave next week for Thanksgiving holidays, demonstrate your program to me for a homework grade. |