<< Chapter < Page Chapter >> Page >
Describe the detailed information about the detecing process of the FFT matrix approach.

The detecting process:

So we load the song we want to detect into Matlab. The use would just type Genre (‘song’). After that, ourprogram would do the same process of windowing; it did to the songs in the database (FFT of windows of 15ms length). This will leave uswith another, smaller matrix that represents the song we want to test. We basically perform an operation of dot production for eachcolumn of the tested song with our data base. ( The operation of Dot Product gives a bigger value for a vector that is similar, anda small value for one that is different ). So we basically check for the max. value of each dot product operation. And this meansthat this column (frequencies) of the tested song is really close to this column that represent a certain genre. We then ask Matlababout the genre this column represented. And save this value. After doing this for all the columns of the tested song, we’ll end upwith a bunch of numbers going from (1-5). Finally we check which number is the most frequent in the group, and this will tell uswhat genre the tested song is most likely to be.

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