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