@agenticamit: Shazam throws away almost all of the sound it hears, and that's exactly why it works in a noisy café. It keeps only the loudest peaks, turns them into tiny 32-bit codes, and looks for the spot where your clip lines up with a song. Here's how, and why it won't recognise a live version. Source: Avery Wang, "An Industrial-Strength Audio Search Algorithm" (2003), the original Shazam paper.