Software Development Process

How Do Music Identification Apps Like Shazam Work?

 tháng 4 27, 2020     No comments   

Shazam App iPhone Identification
Shazam

Music identification apps seem like magic at first, but underneath the hood is a sophisticated algorithm that can find songs in an instant. Here's how they work.

The Magic of Music Identification

It's probably happened to all of us. You're having dinner at a nice restaurant, hanging out at a coffee shop, or walking around in a store, when you suddenly hear a great song playing over the speakers. Maybe it's a song you've listened to before or a track you've never heard. So, you pull out your phone, open Shazam, and hold up your device to the ceiling. In just a flash, the app tells you what the song is, who the artist is, and where to stream it.

They're quick, remarkably accurate, and can identify even the most obscure of songs. In a nutshell, they work by isolating the song out of a recording and searching it against an expansive database of tracks. But the technology behind how they do this is quite complex and impressive.

You might be shocked to know that the Shazam app that we know today was released way back in 2002, and the system was just as accurate and quick then as it is now. That's all thanks to a unique algorithm that would revolutionize the music world.

It's Not Just the Lyrics

At first glance, music identification apps like Shazam may seem simple. You might think they just listen to the lyrics, the same as any voice assistant, and search it in a database of song lyrics to tell you what the song is.

However, most music identification apps are capable of telling what the title of an instrumental is, or even the singer of a cover song. That's because, instead of analyzing the lyrics of the track, they're looking for "fingerprints" that are unique to each song in their extensive databases.

RELATED: How to View Song Lyrics on an iPhone, iPad, Mac, or Apple TV

Fingerprinting Technology

Shazam on an iPhone X
Denys Prykhodov/Shutterstock.com

You likely have devices that can be unlocked using your fingerprint, which is the arrangement of the small lines on your finger that are unique to you. Similarly, when you hold up your microphone to record a brief clip of a song, this clip gets turned into patterns of data that Shazam or another app can look up in their database.

At first glance, that method seems prone to several problems. Most of the time that you hear music in public, there's background noise and distortion caused by the speakers, which can make songs unidentifiable or result in inaccurate matches. Also, there's a lot of data captured in even a brief sound clip, which can make searching for these patterns across a database of millions of songs slow.

In an interview with Scientific American in 2003, Avery Li-Chun Wang, the chief data scientist and co-founder of Shazam, explains how their algorithm fixes these issues. The information of an audio clip can be visualized with a 3D chart known as a spectrogram, which represents a change in frequencies over a period of time. It also takes into account amplitude, which is how loud a sound is. This is represented in a spectrogram using the intensity of color.

Shazam Music Spectrogram
Avery Li-Chun Wang / Shazam

In the same way that humans cannot perceive sound unless they are at a particular frequency, instead of taking the entirety of a song into account when performing a search, Shazam only takes in "peaks," which is the highest energy content within an audio clip. The fingerprints it captures only take in the highest frequency points within a given time frame and then the peak amplitude spots within those frequencies.

In a research paper for Columbia University, Wang stated that the method allows them to take out most of the unnecessary parts of an audio clip like background noise and to clear up distortion. It also makes the size of the prints small enough that it takes mere milliseconds to identify a song among their vast database.

Shazam's Impact

Aside from being helpful for average listeners who hear a song they like, music identification apps also help shape the music world.

Radio stations and streaming services often use the data regarding what people are Shazam-ing the most to figure out what tracks are being listened to by the public. This is helpful because it indicates a song's catchiness and potential popularity, regardless of the artist. When you identify a song with the app, you'll immediately see how many people have also tried to identify it.

Soundhound Music Identification
Soundhound

Since the rise of Shazam, a handful of competitors have also popped up. Soundhound claims to be able to identify a song simply by you singing or humming to it, with mixed results. There's also a song identifier integrated with voice apps such as Google Assistant that work very similarly to Shazam's system.

RELATED: The Best Sites for Streaming Free Music



See details

  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Gửi email bài đăng nàyBlogThis!Chia sẻ lên XChia sẻ lên Facebook
Bài đăng Mới hơn Bài đăng Cũ hơn Trang chủ

0 nhận xét:

Đăng nhận xét

Đang tải...

Popular Posts

  • Smartphone Using At The Supermarket Can Add 41% To Your Shopping Bill
    It is safe to say that you are always looking at your telephone when you're and about? Do you experience difficulty opposing the bait of...
  • Windows 7 All in One ISO 32-64 Bit Free Download
    Windows 7 all in one ISO 32-64 bit genuine free is now available to download from the secure links provided below. The download comes w...
  • Forgot to post
    sorry travel day.  My bad! 
  • November Technology Updates
    So far, November has been a busy month of technology integration in all grade levels.  Teachers and students use a wide variety of devices i...
  • Morning Charts 04/30/2019 SPX
    Early post
  • Check Out The Science Behind Finding North Korea's Nuclear Weapons
    Arrangements over denuclearization of North Korea fallen at the beginning of today after North Korean despot Kim Jong Un demanded the United...
  • Criteria for Evaluating Web Tools and Apps
    I'm often getting asked what my criteria are for choosing the tools, apps and resources that I feature on my blogs and in my teaching an...
  • Should You Use Hubitat to Automate Your Smarthome?
    The first step in building a smarthome is often choosing a hub, and there are many options. Hubitat is a unique cloud-independent hub. It...
  • Morning Charts 04/10/2019 SPX
    Cause censorship is real. Our Orwellian really coming to life -  https://www.zerohedge.com/news/2019-04-09/leaked-google-docs-reveals-aggres...
  • Microsoft Staff Don't Use HoloLens For War
    Somewhere around 50 Microsoft representatives have requested the organization pull out of an arrangement with the US military to give expand...

Bài đăng nổi bật

How To Swim and Dive in ‘Animal Crossing: New Horizons’

Nintendo Animal Crossing: New Horizons has received a free update that allows players to swim and dive for sea creatures for the firs...



Work freely with Fiverr

Work freely with Fiverr

Money with Adfly

Money with Adfly
Được tạo bởi Blogger.

Make Money MyLead

Make Money MyLead

TẢI PHIM 18+ VỀ ĐIỆN THOẠI Ở ĐÂY >>

Copyright © Software Development Process | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates