I’ve always had the vaguest of guesses about how the amazing Shazam works, but now I know, thanks to this article from Slate, That Tune Named. Even better, this article links to a pdf of the journal article about the technicalities of the Shazam algorithm by Avery Li-Chun Wang, Shazam’s chief scientist. It’s even cleverer than I thought.