Follow
Subscribe via Email!

Enter your email address to subscribe to this platform and receive notifications of new posts by email.

Shazam: How Audio Fingerprinting Identifies Songs in Seconds

Shazam identifies music by mapping microphone clips onto time-frequency spectrograms and matching those acoustic fingerprints against millions of songs in seconds.
A mobile app screenshot displaying song details, Shazam count, and Apple Music playback buttons.

Shazam identifies unknown songs by converting a brief microphone clip into a time-frequency graph called a spectrogram and matching that acoustic fingerprint against millions of stored tracks [1]. When the British service launched in 2002, its catalog held one million songs and needed 15 seconds to process a single request. By late 2016, the software could scan 30 million tracks in as little as two seconds while handling remixes, live cover bands, and background chatter [2]. Founded in London in 1999 and bought by Apple in 2018, the platform grew from a dial-in phone number into a music recognition tool built into smartphones, watches, and web browsers [1].

How Shazam Builds Acoustic Fingerprints

When a user starts a lookup, Shazam opens the device’s built-in microphone to capture roughly 10 seconds of ambient audio [1]. During early iPhone testing by CNET reviewer Kevin Ho in July 2008, a sample lasted about 12 seconds and returned an artist name and album cover from off-site servers in under 10 seconds [3].

Rather than comparing raw waveforms or searching typed lyrics, the software turns that short recording into a spectrogram, a mathematical map showing which sound frequencies peak at each moment in time [1, 3]. From this time-frequency graph, Shazam generates a compact acoustic fingerprint and compares it against an index of millions of songs stored in its remote database. Digital signal processing specialist Avery Wang, who earned his PhD from Stanford University, built that matching method after co-founders Chris Barton, Philip Inghelbrecht, and Dhiraj Mukherjee hired him in 1999. Because the fingerprint focuses on distinctive frequency peaks, the match holds up whether music plays through car speakers, television broadcasts, or crowded rooms, as long as background noise doesn’t drown out the signal [1, 2].

Once the remote server finds a match, it sends the track title, artist credit, and album information back to the listener’s screen. Depending on the device and operating system, the result screen links straight to iTunes, Apple Music, Spotify, YouTube Music, or Groove Music [1]. By June 2015, those match screens drove more than 400,000 digital track sales a day across Apple, Amazon, and Google, accounting for about 7% of downloaded music worldwide [10].

Shazam co-founders Dhiraj Mukherjee, Chris Barton, Avery Wang, and Philip Inghelbrecht
Dhiraj Mukherjee, Chris Barton, Avery Wang, and Philip Inghelbrecht founded the company in 1999. (Credit: Shazam / The Guardian)

Why Can’t Shazam Identify Every Song?

Shazam can’t identify a song if loud ambient noise blocks a clean acoustic fingerprint or if the recording isn’t in its database [1]. In 2008, Ho reported that the iPhone app worked well at home or inside cars but struggled inside loud bars, clubs, and restaurants [3]. Even years later, heavy distortion can still prevent a match [1, 2].

Classical music exposed a deeper limit in how spectrogram matching works. Because an acoustic fingerprint describes a specific audio recording rather than an abstract melody or score, different performances of the same composition generate completely separate graphs [1, 3]. When Ho tested Ludwig van Beethoven’s Fifth Symphony on the iPhone app in 2008, Shazam returned an “unrecognized” message. Classical pieces often stretch across long musical phrases, and Ho pointed out that more than 200 recordings of Beethoven’s Fifth Symphony already existed from hundreds of ensembles and conductors spanning 50 years. Separating one orchestra’s 12-second sample from 200 other versions was what Ho called “Shazam or Midomi’s Everest,” contrasting Shazam with rival service Midomi, which let users hum tunes instead [3].

Catalog coverage also creates blind spots when users play music outside mainstream Western pop and rock. Until Shazam signed content deals in 2013 with electronic distributor Beatport and Indian streaming platform Saavn, many club tracks and regional South Asian songs were missing from its index [1, 7].

The 2580 Era

Shazam Entertainment Limited started in 1999 after Chris Barton and Philip Inghelbrecht, two MBA students at the University of California, Berkeley, teamed up with London consultant Dhiraj Mukherjee [1, 2]. Barton was frustrated that he couldn’t name songs playing on the radio and thought radio station partnerships might let listeners identify and buy tracks. Mukherjee left his job at internet consultancy Viant to join them, even though mobile internet barely existed [1, 2]. “People even now say, “Oh, it’s a great idea.” It was way ahead of its time,” Mukherjee told The Guardian in December 2016. In 1999, there were no smartphones, no app stores, and no iTunes, so reaching listeners meant building around basic voice networks [2].

When the service went live in the United Kingdom in 2002, people didn’t open an app—they dialed “2580” on a mobile phone. Callers held their handset up to a radio or speaker for 30 seconds before the call disconnected automatically and delivered an SMS naming the song and artist. Later updates added web links inside the text message so callers could buy the track online [1].

Brand artwork featured during coverage of Apple acquiring the music service
Apple agreed to acquire the audio recognition platform in December 2017. (Credit: The Verge)

Shazam entered the United States in 2004 on the AT&T Wireless network through a joint offering with San Francisco firm Musicphone [1]. Surviving the 2000 dot-com crash wasn’t easy, even after raising $1 million from angel backers in 2000 and $8.5 million from venture capital firms in 2001. Founders often checked UK solvency rules to make sure trading stayed legal [2].

From iPhone App to Android

Shazam first operated as downloadable software in 2006 through an exclusive deal on the Amp’d Mobile cellular network, but Apple’s smartphone platform turned it into a household name [1, 2]. When the App Store opened on July 10, 2008, Shazam debuted as a free iPhone app with one-tap links to purchase identified tracks on iTunes [1]. Within roughly three months, iPhone owners had downloaded it 1.5 million times [4].

On October 30, 2008, Shazam launched on Android, pairing its recognition engine with Amazon’s MP3 store and MySpace instead of iTunes [1, 4]. Users could buy discovered tracks from Amazon and friend the artist on MySpace if the musician kept a profile there. “Shazam aims to help users to create and share unique music moments and long-lasting experiences,” CEO Andrew Fisher said in the launch announcement [4]. A year later, Shazam arrived on the Windows Mobile Marketplace and introduced a paid iPhone tier called Shazam Encore in November 2009. By December 2009, downloads reached 10 million across 150 countries and 350 mobile operators, following an October funding round led by Kleiner Perkins Caufield & Byers [1].

Growth kept accelerating as smartphones spread worldwide [1, 5]. Apple named Shazam the fourth most downloaded free iPhone app of all time in January 2011, while competitor SoundHound held the top paid iPad slot [1]. By August 2012, the service claimed 225 million users across 200 countries and hit five billion cumulative tags, with Pink’s song “Blow Me One Last Kiss” marking the milestone [5].

Mobile interface shown in coverage of the Android version reaching 100 million monthly users
By August 2014, the mobile app had reached 100 million monthly active users. (Credit: TNW | Insider)

Beyond Pop Music

As mobile usage climbed, Shazam pushed audio tagging beyond manual smartphone taps and into desktop and wearable computers [1, 9]. An always-on option called Auto Shazam removed the need to open the app and press a button for every track. In July 2014, the company launched a Mac desktop app, adding to versions on Windows Phone, BlackBerry, Wear OS, watchOS, and Google Chrome [1, 5, 9].

Expanding the matching catalog mattered just as much as supporting new devices, especially as monthly active users reached 100 million by August 2014 [7, 9]. In February 2013, Shazam signed an exclusive agreement with electronic music store Beatport to index club and dance tracks [1, 6]. Two months later, on April 3, 2013, it struck an exclusive partnership with Indian streaming platform Saavn, led by CEO Vinodh Bhat, adding roughly one million Bollywood and South Asian songs to its existing 27-million-track catalog. That library included music in Gujarati, Hindi, Marathi, Tamil, Telugu, and English. Shazam music director Will Mills said the agreement was the company’s biggest deal in South Asia, targeting an Indian music industry growing 60% a year [7].

Product chief Daniel Danker, recruited from the BBC, helped guide that push into broader media discovery [7]. By October 2014, Shazam had processed 15 billion song identifications in total, with users tagging more than 20 million songs per day and adding 13 million new users every month [1, 9].

Image accompanying CNBC coverage of the Name That Tune music business
In 2015, the platform generated more than 400,000 daily song downloads across major digital stores. (Credit: CNBC)

Television Ads and Visual Recognition

Audio fingerprinting wasn’t limited to songs on the radio, and in 2011 Shazam introduced Shazam for TV to index spoken dialogue, theme music, and commercials [5, 6]. After linking with American Idol in April 2012, the company signed an exclusive UK broadcast distribution deal with ITV that debuted during the Britain’s Got Talent finale on May 12, 2012 with Pepsi MAX and Cadbury [5]. By February 2013, marketing chief David Jones told The Guardian at Mobile World Congress that Shazam generated episode notes, cast profiles, quizzes, tweets, and soundtrack links for every show on 160 American television channels. Partnering with e-commerce firm Delivery Agent, it also built custom interactive polls for the Super Bowl, Grammys, Oscars, Brit Awards, and NBC’s 2012 Olympic Games, while joining Fox Now alongside Viggle, ConnecTV, and NextGuide [6].

Cinema pre-shows offered another screen for sound-based tagging. In May 2014, Shazam partnered with NCM Media Networks to make FirstLook pre-show ads and behind-the-scenes clips interactive on 20,000 movie screens run by Regal, AMC, and Cinemark in the United States. Live television spikes showed how quickly viewers adopted the habit: Shazam logged 700,000 tags during a single Super Bowl broadcast [8].

In 2015, Shazam moved from listening to watching by adding camera-based visual recognition and built-in QR code scanning. Brands including Target, Time, HarperCollins, and Disney placed Shazam icons on print ads and movie posters—such as Disney’s Tomorrowland campaign—so shoppers could wave a phone over the artwork to load interactive pages [10].

Finding a Business Model

Turning hundreds of millions of music lookups into steady revenue took far longer than building the spectrogram algorithm [2, 11]. “We didn’t have the technology and we didn’t know how we were going to make money,” Mukherjee told The Guardian. “I figured we’d find a business model. I didn’t realise we’d find six different ones.” It took 14 years after the 2002 UK debut for the business to turn a profit in 2016 [2].

Early phone callers in the UK paid £0.60 per lookup or £4.50 a month for unlimited tags in 2006, yet mobile operators kept 50% of reverse-charge SMS revenue. Ringtone licensing, handset deals, and affiliate commissions from iTunes and Amazon MP3 followed, with about eight percent of users buying tracks in 2009 and digital sales hitting a $300 million annual run-rate by 2013 [1, 2, 6]. Those referral fees enriched Apple more than Shazam, so executives shifted toward brand sponsorships and interactive TV campaigns [2, 6]. By 2013, Shazam had run more than 200 campaigns for over 140 brands—including Pepsi, Procter and Gamble, Sony, and Toyota—charging $75,000 to $200,000 per multi-month campaign plus six- and seven-figure event sponsorships [5, 6]. Jones said Shazam refused to let rivals like Coca-Cola buy ad tags on Pepsi commercials [6].

Shazam: How Audio Fingerprinting Identifies Songs in Seconds — Polygon.com image
(Credit: Polygon.com)

By June 2015, CEO Rich Riley pointed to 500 million downloads, 100 million monthly active users, and a unicorn valuation above $1 billion. ComScore ranked Shazam the No. 14 iPhone app in the United States, yet 2016 revenue totaled just $54 million, leaving Riley weighing an IPO or a sale [10, 11].

Apple’s Acquisition of Shazam

Apple confirmed on December 11, 2017 that it had reached an agreement to acquire Shazam, and the purchase closed on September 24, 2018 [1, 11]. TechCrunch first reported the talks, and Recode placed the deal value at $400 million—less than half of Shazam’s $1 billion peak private valuation [11].

Apple had already integrated Shazam into its voice assistant Siri when iOS 8 arrived in September 2014 [1, 11]. Buying the London company outright brought Wang’s audio engineering team inside Apple, giving Apple Music a closer link to a discovery app that sent one million referral clicks a day to Apple Music and Spotify combined. The Verge noted that deeper iOS integration matched Google’s built-in song detection on Pixel phones, while Shazam’s camera-based visual recognition and augmented reality tools aligned with Apple’s ARKit work [11]. After closing the buyout in 2018, Apple discontinued the paid Shazam Encore app while keeping the core service free [1].

By 2003, exhausting 16- to 18-hour workdays had driven three of the four founders—Barton, Inghelbrecht, and Mukherjee—to move on to other ventures, leaving only Avery Wang to keep refining the matching engine. Two decades after its London launch, that spectrogram fingerprinting system still identifies music on iOS, Android, macOS, and web browsers in seconds [1, 2].

Sources
  1. WEBSITE Wikipedia. (n.d.). Shazam (music app). [Article Link]
  2. ONLINE NEWS Sheppard, E. (2016, December 7). Shazam co-founder: ‘We were growing a business in a collapsing market’. The Guardian. [Article Link]
  3. ONLINE NEWS Ho, K. (2008, July 17). iPhone apps: Testing Shazam’s limits – classical music. CNET. [Article Link]
  4. ONLINE NEWS Reisinger, D. (2008, October 21). Shazam moves to Android, works with Amazon MP3 Store. CNET. [Article Link]
  5. ONLINE NEWS Sawers, P. (2012, August 7). Shazam: Five Billion Songs, TV Shows and Ads Tagged. TNW | Insider. [Article Link]
  6. ONLINE NEWS Dredge, S. (2013, February 27). Shazam: ‘TV advertising is going to become our primary revenue stream’. The Guardian. [Article Link]
  7. ONLINE NEWS TechCrunch. (2013, April 3). Shazam Partners With The ‘Spotify Of India’, Saavn, To Improve Its South Asian Music Recognition. [Article Link]
  8. ONLINE NEWS Ha, A. (2014, May 14). Movie Theater Pre-Shows Are About To Become Shazam-able, Thanks To Partnership With NCM. TechCrunch. [Article Link]
  9. ONLINE NEWS Summers, N. (2014, August 20). Shazam Hits 100 Million Monthly Active Users. TNW | Insider. [Article Link]
  10. ONLINE NEWS Gillies, T. (2015, June 14). Shazam names that tune, drawing in money and users. CNBC. [Article Link]
  11. ONLINE NEWS Singleton, M. (2017, December 11). Apple confirms it has acquired Shazam. The Verge. [Article Link]

Cover image: Shazam / Wikimedia Commons, Public domain

Leave a Comment

Related Posts
Total
0
Share