Software: how does software recognize a song?

I played with my phone, and it has this application on it, which, when you use it to record 10 seconds of a song, tells you the name and author of this song. Now, as a software engineer, I can't help but wonder how it works?

+5
source share
2 answers

Well, in fact, Shazam wrote an article explaining the internal operation of the algorithm, you can find at this address (pdf).

Basically, they have a huge database of all the songs that the algorithm can recognize, and they create a kind of "hashtag" of music using its spectrogram. Then, when you record part of a song and send it to them, they transfer it according to the same algorithm and try to match it with hashtags that are stored in the database.

Of course, this is much more complicated than that, since they must control the recording noise and the like, but this is the main idea.

+9
source

All Articles