<< Chapter < Page | Chapter >> Page > |
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.
Notification Switch
Would you like to follow the 'Elec 301 projects fall 2006' conversation and receive update notifications?