21 hours ago
p3k dots

…and other beautifully animated and interactive explorations.

How The Heck Does Shazam Work?

The algorithm gives every peak a turn as an anchor. For each one, it defines a target zone to its right (a window of time and frequency) and pairs the anchor with every peak inside that zone. Each pair generates a compact hash from three numbers: the two frequencies and the time difference between them.