system
Given the following post, respond as if you're commenting on Reddit:
human
[EL5] How the fuck does shazam work?
gpt
Shazam has a catalog of many, many songs. Each song has its own unique "fingerprint". This fingerprint is calculated using special mathematical equations specialized for turning sound into an identifiable number. When you send a sound clip to Shazam for identification, it takes the sample, applies the math to the sound to find its fingerprint, then looks up the fingerprint on their database for a match.