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).
文章
37
浏览
48
获赞
8
People can't get over Trump putting a candy bar on a kid's head dressed as a Minion
Everything was going relatively smoothly for Halloween 2019 at the White House until one kid dressedInterview with Malwarebytes' founder, Marcin Kleczynski
Malwarebytes started its life as a company in 2004 as a one-man operation, but it wasn't until fourBest Pixel deal: Save $250 on Google Pixel 9 Pro XL
SAVE $250:As of Dec. 18, Google Pixel 9 Pro XL (128 GB) is available for $849 at Amazon — a 23Bluesky cybersquatting problem addressed in latest update
A new Bluesky update aims to tamp down on the cybersquatting and fake account problem that has plaguThis is what it's like when a covert image of you goes viral online
When Rad Konieczny first saw a screenshot of the video, he felt physically sick.A friend of a friendThe Ideal Smartphone for 2016
In 2015 I saw a ton of great smartphones hit the market; so many, in fact, that it's getting harderPut away the drone and let the firefighters do their work
Southern California firefighters are still actively tackling as many as six wildfires. While your drBest RTX 5080 gaming PC deal: Get the Alienware Area
RTX 5080 GAMING PC:As of Jan. 31, the Alienware Area-51 Gaming PC is available for $4,449.99 at DellTikTok will reportedly sell to Oracle after Microsoft bid rejected
Oracle has beat out Microsoft to win the bid for TikTok's U.S. operations, according to a report byBest Kindle Scribe deal: Save $85 at Amazon
SAVE $85:As of Jan. 6, the new Kindle Scribe (64GB) is on sale for $364.99 at Amazon. That's 19% offBluesky cybersquatting problem addressed in latest update
A new Bluesky update aims to tamp down on the cybersquatting and fake account problem that has plaguHow climate change affects sea life
There are 3,800 big thermometers floating in the ocean, and the readings don't lie: Over 90 percentI 'walked' Boston Dynamics' robot dog around San Francisco
"What's its name?" "Can I take a photo?""What is that?"The Boston Dynamics robot dog known as Spot sElon Musk tweets new images of SpaceX's forthcoming BFR spacecraft
That's one big effing rocket.With the imminent reveal of the mystery passenger who will be flying ar12 Ways Black Friday 2013 Will Be Different
As the official starter for the holiday shopping season, Black Friday is expected to be a frenzy of