Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Software: How does software recognize a song?

I was playing with my phone and there is this app on it that when u use it to record 10 seconds of a song, it tells you the title and author of that song. Now as a software engineer I can't help but wonder, How does this work?

like image 679
Emerion Avatar asked Sep 30 '10 13:09

Emerion


People also ask

How does song recognition software work?

The Shazam algorithm distills samples of a song into fingerprints, and matches these fingerprints against fingerprints from known songs, taking into account their timing relative to each other within a song.

How do I get my computer to recognize music?

Play the audio file (or a video where the music is playing) in any Chrome tab, and click the Shazam extension icon. The service will take a few moments and identify the song for you. This service works extremely well with popular music, but may not be ideal for obscure tracks.

How does Shazam detect song?

Shazam identifies a song by creating a unique digital fingerprint to match what you're hearing with one of the millions of songs in the Shazam database.

Is there a program that can identify songs?

Shazam will identify any song in seconds. Discover artists, lyrics, videos & playlists, all for free.


2 Answers

Well, actually Shazam has written a paper explaining the inner workings of the algorithm, you can find it 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 the music using its spectrogram. Then, when you record a part of the song and send it to them, they pass it through the same algorithm and try to match it with the hashtags that are stored in the database.

Of course it's a lot more complicated than that since they have to manage the recording noise and stuff like that, but it's the basic idea.

like image 168
Gimly Avatar answered Oct 28 '22 00:10

Gimly


Find the answer here: http://laplacian.wordpress.com/2009/01/10/how-shazam-works

like image 30
David Aleu Avatar answered Oct 27 '22 22:10

David Aleu