How does Shazam work?

I remember the time a friend showed me that she had installed the Shazam app on her smartphone. We were at the billing counter in a mall and a song was playing in the background (by the mall). We started humming too it, but couldn't remember the lyrics. She pulled out her phone and switch on the app and it took only seconds to give us the entire bio-data of the song. The artist name, the CD cover, the song writer and what not.

I was reminded of it today and I googled about it. There are a few articles about how shazam app works and they have gone in-depth of the entire mechanism.

Anyone here has a simple answer? What's the principle and algorithm it is based on?

Replies

  • Kaustubh Katdare
    Kaustubh Katdare
    Shazam is definitely one of the most interesting apps that surely creates 'WOW' when you use it for the first time. At the bottom of the post, I will link to the article that explains it all in depth (it's a 11000 word article!) but if you only want to know a summary, then here it is: -

    The technology that is used by Shazam is a work of Avery Li-Chun Wang, who has published a paper #-Link-Snipped-#
    The technique used is called audio fingerprinting. The technique is very complicated to understand but it basically creates a digital map of the audio file. What Shazam does is - it computes the digital map of large number of audio tracks, tens of thousands of GBs. This map is stored on the fingerprint database cluster of servers. As you'd guess, Shazam keeps this map updated with new tracks it discovers.

    The magic happens when you make the app listen to any sound track. The app quickly creates a digital fingerprint of the track it has recorded and then sends this map information to the central search server. The server then matches the input fingerprint with its database and finds out the most relevant match. If you have used Shazam, you'd know that it does it with impeccable accuracy!

    Shazam also keeps track of the metadata associated with each song. Metadata basically is the information associated with every track: the song file name, the URL, artwork, iTunes or Amazon URL etc.

    Now this may look relatively easy; but when you look deeper; Shazam does lot of backdoor work to filter out the noise while converting the track digitally. The blog linked below gives a very detailed information on how it all works. Do go through it!

    #-Link-Snipped-#

You are reading an archived discussion.

Related Posts

Quote: Heat can be moved in three ways: By conduction, where heat is transferred by physical contact; by radiation, where heat is transferred over a distance via electromagnetic waves; and...
Quote:In order to participate in the Invitational, you first need to fill out this form and tell us what you are going to make with the Intel Edison and custom...
new ideas about web development, android development, desktop application
Why india frequency is maintain 50Hz and compaire other countries
sir, i was an final year ECE student and i want an clear idea about project..how to choose an topic and how to get an materials and how to proceed...