Everyday Learning العربية
Computer scienceAI all around you · Lesson 7 of 8 · 6 min

How does Shazam name a song in seconds?

It doesn't listen to the words. It marks the loudest notes, pairs them into codes and looks the codes up in a giant table.

In this lesson

Your phone listening, and the peaks it marks.

Your notebook page

  • Peaks, not lyrics.
  • A code is a pair of peaks.
  • Losing peaks breaks codes fast.
  • Seconds make hundreds of codes.

Where you'll see it today

Shazam in a café, Now Playing on Pixel phones, YouTube blocking copied songs, humming to search.

The course

AI all around you

Every lesson adds a part. Finish them all to build the Smart camera.

  1. 1Face unlockHow does your phone unlock with your face?
  2. 2Your playlistHow does Spotify know your taste?
  3. 3Your feedHow does TikTok pick your next video?
  4. 4Spam filterHow does your inbox catch spam?
  5. 5AI artHow does AI turn words into a picture?
  6. 6Self-driving carsHow does a self-driving car see the road?
  7. 7Song IDHow does Shazam name a song in seconds?
  8. 8Cat or dog?Can a camera tell cats from dogs?
Open in the app Download on the App Store