<< Chapter < Page Chapter >> Page >
This module explains how we implemented the matched filter phase of our audio recognition system.

To implement the Match Recognition System for our program, we used a basic matched filter that compares the inputsong’s fingerprint to each fingerprint in the database. Because we are using compact representations for each song, the matched filterwill not take an insane amount of time to complete. In order to improve the speed of the algorithm even more, we decided toimplement the filter in the frequency domain since it is involves simple matrix multiplication.

First of all, the input song goes through the Audio Fingerprint Generator so that we have its compactrepresentation. Next, our system normalizes this representation, takes its FFT, and compares it to the normalized FFT of each of thefingerprints in the database. At this point the fingerprints are all in the frequency domain, so the only thing left to do toimplement the matched filter is to multiply the input song’s representation with each one of the database representations. Thisprocess requires zero-padding the shorter signal in the comparison so that the two matrices are the same dimensions before actualmultiplication. The max(max()) function in Matlab takes the maximum value in the matrix, which corresponds to the matched filter“spike”. The database signal that returns the largest spike when compared to the input signal is our most probable match and thedatabase index of this matched song is used to index the name of that corresponding song from the array that holds the names of alldatabase songs. Our system also does this process for the second highest match. The output of the Match Recognition System is justthe two most probable match titles, and their corresponding spike values. This allows users to see the confidence level for eachmatch.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Elec 301 projects fall 2006. OpenStax CNX. Sep 27, 2007 Download for free at http://cnx.org/content/col10462/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Elec 301 projects fall 2006' conversation and receive update notifications?

Ask