How Does Shazam Recognize Music Accurately? (2024)

Have you ever wondered how Shazam 'hears' the music you’re playing and identifies it with such accuracy? Well, you’re not alone.

The technology powering the music recognition service is a mystery to many, especially since the service launched years before smartphones and machine learning became a thing.

In this article, we’ll look at how Shazam works and how it can recognize music accurately.

What Is Shazam?

Shazam is a popular music recognitionapp you can use to find information about a new song you love but don’t know the title or the name of the artist.

Say you’re in a coffee shop or walking around a corner shop, and you hear a new song you would like to have in your music library. Shazam helps you find the song with ease. All you need to do is record a few seconds of the song on the app.

The Shazam app uses sophisticated audio recognition technology to identify the music you hear in a matter of seconds so you can find out the name of the artist and track, watch videos, and even buy or stream the song on your device.

Download: Shazam for iOS |Android (Free)

How Does Shazam Work?

Shazam uses a proprietary technology developed by Avery Lin-Chun Wang, the app co-founder and chief data scientist, to identify matches for songs queried on its platform. The technology creates fingerprints for audio recordings, which is the secret sauce behind Shazam’sawesome recognition skills.

Shazam creates and stores audio fingerprints consisting of collections of numerical data for each over 15 billion songs. When a user “Shazams” a song, Shazam quickly creates an audio fingerprint of the sound received from the smartphone or PC microphone.

Once it’s done creating the audio fingerprint for the recording, Shazam uploads the audio fingerprint (not the audio) to its server, where it runs a database search for matches. If a match is found, it returns the song info with options on where to stream or buy it, along with the identifying information.

What Is an Audio Fingerprint?

An audio fingerprint is a condensed digital summary of audio signals. They’re used to identify an audio sample or to locate similar items in an audio database.

Shazam's audio fingerprinting technology can match unlabeled pieces of audio content to corresponding matches in its audio database. Shazam identifies the title of the song you recorded (an unlabeled audio content) by matching the song’s fingerprint with the fingerprint of songs in its database.

Shazam creates unique fingerprints for songs on its database by using certain data points identified with a spectrogram's help.

What Is a Spectrogram?

A spectrogram is a three-dimensional graph used as a representation of sound. The spectrogram shows the change in frequencies over a period while also taking into account the amplitude or volume. The photo below is an example of a spectrogram reading.

How Does Shazam Recognize Music Accurately? (5)

In a 2003 Interview with Scientific American, Avery Wang revealed that the Shazam algorithm uses spectrogram points representing notes with the highest energy to generate audio fingerprints.

By ignoring most of the information in a song and focusing only on the few defining notes, Shazam can search its database and provide accurate matches for song queries at an incredible speed.

How Is Shazam Able to Identify Songs in Noisy Places?

Shazam uses song recordings free from background noise and distortion to create fingerprints for its database. When you record a song with the app in a noisy place, it creates an audio fingerprint of your recording by identifying the notes with the highest energy on the recording.

It then searches its database for a match for your recording's audio fingerprints, provided that the background noise level was not high enough to distort the data used to create the audio fingerprint.

Times When Shazam Can’t Help You Identify a Song

Shazam is great at matching songs, even obscure music you think it might not have in its database. But are there moments when Shazam can't identify a track?

Distorted Recording

When you Shazam a song in a place where the background noise level is too high, the noise distorts the data on the Spectrogram. Because of that, the audio fingerprint of your recording will be different from that of the original song.

When that happens, Shazam returns the Song not Known dialogue because itcannot find a match for the audio fingerprint.

Live Music

Shazam falls short in its ability to identify music from live performances. This is because the audio you record in live performances often differs from the original version of the song Shazam uses to create audio fingerprints.

The only way Shazam can identify a song during a live performance is if the band is skilled enough to perform the song exactly as it was recorded. Good luck with the band trying to do that…

Your Voice Recording

“Could I get Shazam to recognize a song I was singing if I was a really good singer?”

In short, no.

The Shazam algorithm can only identify prerecorded music. For Shazam to identify a song you’re singing, you’d need to have the same vocals with the instrumentals at the exact tempo with the song's original recording.

Your Humming

Shazam can’t identify matches for hums because its algorithm uses exact frequencies and amplitudes to create audio fingerprints for the songs in its database.

When you hum a song, Shazam creates a fingerprint for it. But because a hum is only an attempt to resynthesize a song, the algorithm will fail to match the recording.

Is Shazam the Only Music Identification App?

Shazam was the first music identification service and is currently the most widely used song identification app. However, there are other apps you can use to identify a song playing around you. Some can even identify a song you’re singing or humming.

Three of the most popular Shazam alternatives are SoundHound, Musixmatch Lyrics, and Genius. Musixmatch and Genius primarily help you identify lyrics for music playing around you, while SoundHound is Shazam’s closest competitor.

Related:The Best Music Recognition Apps to Find Songs by Their Tune

You can use the SoundHound app to do pretty much everything Shazam does. Its major advantage over Shazam is that it has the added functionality of identifying songs you sing or hum.

Image Credit:Sulastri Sulastri / Shutterstock.com

How Does Shazam Recognize Music Accurately? (2024)

FAQs

How Does Shazam Recognize Music Accurately? ›

Shazam uses a technique called a maximum filter. Basically, it zooms in on the peaks and highlights them, making it easier to spot the key details. It combines these peaks with the time gap between them to get fingerprint for each song. Fingerprint is like a code for each song.

How does Shazam recognize music? ›

Shazam uses a technique called a maximum filter. Basically, it zooms in on the peaks and highlights them, making it easier to spot the key details. It combines these peaks with the time gap between them to get fingerprint for each song. Fingerprint is like a code for each song.

How does music get on Shazam? ›

To get your music, lyrics, music videos, and more added to the Shazam catalog (and to Apple Music), work with an Apple-approved distributor or encoding house.

Is Shazam music recognition good? ›

The community submitted 16 reviews to tell us what they like about Shazam, what Shazam can do better, and more. What do you think about Shazam? Shazam is an excellent #app for identifying songs. It's accurate, easy to use, and offers a variety of features.

Is there a song identifier better than Shazam? ›

  • 274. SoundHound. Music Recognition App. ...
  • Audire. Music Recognition App. Free • Open Source. ...
  • Audile. Music Recognition App. Free • Open Source. ...
  • Midomi. Music Recognition App. Music Discovery Service. ...
  • Mousai. Music Recognition App. ...
  • AHA Music. Music Recognition App. ...
  • WatZatSong. Music Recognition App. ...
  • MusicID. Music Recognition App.

Is Shazam accurate? ›

Shazam falls short in its ability to identify music from live performances. This is because the audio you record in live performances often differs from the original version of the song Shazam uses to create audio fingerprints.

Can Shazam get songs wrong? ›

If you think Shazam has incorrectly identified a song, you can easily report it in the app. In the Shazam app on iPhone, iPad, or Android, do one of the following: In the track screen or Now Playing screen, tap , tap the “Wrong song?” button , then tap Report.

Will Shazam recognize a song if you sing it? ›

Like Siri, Shazam can't recognize a tune that you sing or hum yourself.

Can Shazam recognize humming? ›

Shazam stands out for its ability to recognize songs from humming and background music. SoundHound excels in identifying songs from humming, . (Apple's popular Shazam app and Siri cannot identify music by humming.) The new app is available on both iOS iPhones/iPads and Android .

How do I get music from Shazam? ›

Open the app, tap the Shazam icon, initiating the analysis of the playing audio. Upon identifying the target music, you can listen to it by touching it. For downloading, select the share icon, choose 'Copy to clipboard', then navigate to your browser and paste the content to access the site.

Is SoundHound or Shazam better? ›

When testing various obscure tunes, both Shazam and SoundHound were hit or miss. As far as identifying songs goes, both apps are equally as effective. The main difference here is that Shazam and SoundHound display results uniquely.

Does anyone still use Shazam? ›

In June 2021, the app surpassed 1 billion Shazams per month, and in May 2022, it surpassed two billion lifetime installs. Shazam first launched as a text message service in the UK in August 2002, letting users identify songs by dialing “2580” on their phone and holding it up as a song played.

What is the Google equivalent of Shazam? ›

Hum to search for your earworm

On your mobile device, open the latest version of the Google app or find your Google Search widget, tap the mic icon and say “what's this song?” or click the “Search a song” button. Then start humming for 10-15 seconds. On Google Assistant, it's just as simple.

What is the number one most Shazam song? ›

Tones and I's powerhouse pop single “Dance Monkey” tops the all-time list, with over 36.6 million Shazams since its release in May 2019, followed by Lilly Wood & The Prick & Robin Schulz's “Prayer In C (Robin Schulz Radio Edit)” and Passenger's “Let Her Go" closing the top 3.

How does Shazam detect song? ›

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.

Does Shazam work if you hum the song? ›

(Apple's popular Shazam app and Siri cannot identify music by humming.) The new app is available on both iOS iPhones/iPads and Android systems and phones. Will you try it? Find it useful?

Does Shazam need access to your microphone to identify music? ›

Shazam needs access to the microphone on your device to hear what you're listening to. On iPhone or iPad, open Settings, scroll down to the installed apps, tap Shazam, then turn on Microphone. If you don't see an option for Microphone, you might have restrictions turned on for Privacy settings.

Where does Shazam get its database? ›

So how does Shazam keep its audio database updated? They do this through Industry partnerships with companies who document music. Shazam gets these companies to document music for them and then uses the data it gets from these companies to improve its audio database.

Can Shazam identify songs without lyrics? ›

How to Find the Name of a Song without Lyrics. If the song is playing, use Shazam, Siri, MusicID, or Soundhound to identify the title and artist. Hum the tune of a song to Google or Midomi to find potential matches.

Top Articles
Latest Posts
Article information

Author: Terrell Hackett

Last Updated:

Views: 5646

Rating: 4.1 / 5 (72 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Terrell Hackett

Birthday: 1992-03-17

Address: Suite 453 459 Gibson Squares, East Adriane, AK 71925-5692

Phone: +21811810803470

Job: Chief Representative

Hobby: Board games, Rock climbing, Ghost hunting, Origami, Kabaddi, Mushroom hunting, Gaming

Introduction: My name is Terrell Hackett, I am a gleaming, brainy, courageous, helpful, healthy, cooperative, graceful person who loves writing and wants to share my knowledge and understanding with you.