This lab introduces a practical application where we attempt
to extract information from sinusoidal signals -
in this case, piano notes. Bandpass FIR filters can be
used to extract the information encoded in the waveforms.
The goal of this lab is to design and implement several
bandpass FIR filters in MATLAB, and use the
filtered outputs to determine automatically which note is being played.
However, since there are 88 keys on
the piano, we will only require the system to figure
out which octave the note is in, not the exact note. In
the experiments of this lab, you will use
firfilt()
, or
conv()
,
to implement filters and
freqz()
to
obtain the filter's frequency response. As a result,
you should learn how to characterize a filter by knowing
how it reacts to different frequency components in the input.
[Files]