Your phone's ability to identify any song it listens to is pure technological magic. In this article, I'll show you how one of the most popular apps, Shazam, does it. Now, interestingly, the founders of Shazam released a paper documenting how it works in 2003, and I personally have been working on an open source implementation of that paper, on a project I called abracadabra.
Where the paper doesn't explain something, I will fill in the gaps with how abracadabra approaches it. I've also included links to the corresponding part of the abracadabra codebase in relevant sections so you can follow along in Python if you prefer.
Granted, the state of the art has moved on since this paper was published, and Shazam has probably evolved its algorithm since it was acquired by Apple in 2018. However, the core principles of audio identification systems have not changed, and the accuracy you can obtain using the original Shazam method is impressive.
To get the most out of this article, you should understand:
Frequency is "how often" something happens, or the number of cycles a soundwave completes in a second, measured in hertz (Hz). Pitch is the human perception of the frequency of sound, with higher frequencies being heard as higher pitches and lower frequencies as lower pitches.
Waveforms are like the shapes or patterns that sound makes when you could see it. They show how the air moves back and forth when something makes a noise.
Graphs are pictures that show information using lines, dots, or bars. Axes are the two lines on a graph that help you see where the information belongs, with one line usually going side to side (horizontal) and the other going up and down (vertical).
文章
2
浏览
5731
获赞
3555
Gamers take to 'Toontown' to stand with Black Lives Matter protesters
As protests and demonstrations flood the streets of the United States and beyond with people callingApple Card being investigated by regulators for gender bias
Apple’s tech-oriented credit card is at the heart of a new investigation into alleged gender dThis desktop app will make every click a Tinder right
For those of you who want to find love on Tinder but feel like the pesky task of actually using the23andMe CEO lays off 100, attributes sales slump to privacy concerns
Looks like you aren't the only person who might have gotten freaked out by consumer DNA tests recentVenmo does away with global transactions feed in app update
Devastating news for all you creeps out there.PayPal-owned Venmo announced some major changes to itsHow to improve your Uber rider rating
So you want to be a five-star rider. With Uber now deactivating users with low ratings in the U.S.,Huawei starts showing ads on smartphone lock screens
Chinese smartphone manufacturer Huawei has started showing ads for hotel reservation website BookingTesla now offers a $125 wireless phone charger for Model 3
Now that the Model 3 is (finally) widely available, Tesla has begun selling a wider range of phone a'Headspace Minis' let you meditate with friends directly in Snapchat
While bringing your attention to your breath and softening your gaze in the newest place to meditateTesla now offers a $125 wireless phone charger for Model 3
Now that the Model 3 is (finally) widely available, Tesla has begun selling a wider range of phone aHow to improve your Uber rider rating
So you want to be a five-star rider. With Uber now deactivating users with low ratings in the U.S.,'Harry Potter' star Matthew Lewis just trolled fans for the best possible reason
It may be over 20 years since Neville Longbottom graduated from Hogwarts, but he's still out here eaTesla hikes prices, again
This week prospective Tesla buyers were hit with a sudden price hike, with one model suddenly becomiDolly Parton is to thank for that 'LinkedIn, Facebook, Instagram, Tinder' meme
A profile picture can help set the tone of an entire social media page, which is why Dolly Parton waGordon Sondland's explosive statement at impeachment hearings sets internet on fire
Gordon Sondland testified in the official impeachment probe and boy did he bring receipts.On Wednesd