0:00 / 0:00

Shazam@tech.explainposted Apr 6, 202669s

Shazam UGC tutorial: “Hey, how does Shazam know what song I'm listening to?”

Performance

1.7M views

6.0× the creator’s 282.2K followers

likes
131.1K
likes · 7.8%
comments
947
comments · 0.06%
shares
14.8K
shares · 0.88%
saves
23K
saves · 1.4%
Estimated ad value
≈ $8,399
est. ad value

Hook & transcript · 69s

TutorialTalking head
  1. 0:00Hey, how does Shazam know what song I'm listening to?
  2. 0:02It doesn't. It's just math.Hook
  3. 0:03What? How is that possible?
  4. 0:04First, your phone records the raw audio data,
  5. 0:07which essentially is just a bunch of air pressure fluctuation sample
  6. 0:11thousands of times per second.
  7. 0:12And then it is stored as numbers.
  8. 0:14Then it runs the Fast Fourier transform on that whole waveform,
  9. 0:17also known as an FFT. It essentially breaks down the whole signal
  10. 0:21into its component frequencies.
  11. 0:23That gives you frequency over time data.
  12. 0:25Essentially, you know,
  13. 0:26these frequencies were present at this intensity at this time slice.
  14. 0:30Plot that frequency data
  15. 0:31with time on one axis and frequency data on the other axis,
  16. 0:35and that gives you a spectrogram.
  17. 0:36Sends you a visual map
  18. 0:38where brightness indicates how intense a frequency is at any moment.
  19. 0:42But then how does that frequency data turn into a song?
  20. 0:45It only keeps the spectral peaks,
  21. 0:46which are the loudest points that stand out.
  22. 0:48Those peaks get plotted as dots,
  23. 0:49which are called a constellation map,
  24. 0:51which is unique to every single song.
  25. 0:53The constellation map
  26. 0:54essentially becomes an acoustic footprint of the song.
  27. 0:57Your phone sends the constellation map to Shazam servers,
  28. 1:00where it's used to query millions of songs and to find a match.
  29. 1:03It's not comparing sounds,
  30. 1:04per se. It's comparing mathematical footprints
  31. 1:07that land at the same coordinates.

Hook = the first 3 seconds. Hook type and style are tagged by us.

Caption

How does Shazam know what song is playing? Shazam doesn't actually know what song you're hearing. It performs a series of complex mathematical equations to find a match. Invented by Avery Wang, the founder of Shazam, it uses an algorithm to create a spectrogram and match your audio clip across millions of samples instantaneously.

♪ original sound - tech.explain - techexplain

Creator

@tech.explain

282,231 followers · Mid (100K–1M)

For Shazam · TikTok ↗

US

More like this

Same hook: Tutorial