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).
文章
242
浏览
21
获赞
355
Google will shut down election ads after polls close in the U.S.
Google is taking steps to ensure that electioneering officially ends as polls close in the United StInstagram will start cluttering your feed with IGTV videos
Remember IGTV, the video service Instagram launched last year to take on YouTube? (You might know iThis mouse riding on a cop's windshield is public enemy no. 1
A MOUSE. ON A WINDSHIELD.SEE ALSO: The latest viral challenge will have you sleepFacebook removes VR game at 2018 CPAC due to Parkland shooting
Facebook pulled a demo of Bullet Train, a virtual reality game that lets players use an imaginary guPersonal computers are once again shipping after an earlier pandemic
In the early stages of the COVID-19 pandemic, plenty of folks needed to buy computers — but thFrench regulator fines Google $57 million for GDPR violations
Brace yourselves: The GDPR fines are coming. France's National Data Protection Commission (CNIL) hasNick Clegg says Facebook to open another 'war room' to fight fake news
Facebook will soon open another election "war room" to help its fight against fake news ahead of thLorde thanked New Zealand for supporting female musicians by taking out a full
Lorde may have lost Album of the Year at the Grammys, but she's not letting it stop her from givingUse the new 'Close Friends' sticker for Instagram stories to prank followers
Now you can convince anyone they're on your Close Friends list. When Instagram released its Close FrThis mouse riding on a cop's windshield is public enemy no. 1
A MOUSE. ON A WINDSHIELD.SEE ALSO: The latest viral challenge will have you sleepYouTube TV is going nationwide just in time for cord
YouTube TV is expanding nationwide.Starting today, YouTube will begin rolling out an expansion for iApple finally fixes App Store's ridiculously complicated unsubscribe process
Apple is finally, finally addressing one of the most frustrating parts of the App Store: the unsubsc'Archive zombies' will crawl back into your messages long after your interest has died
It was a Monday night at precisely 21:09 p.m. when I got a text from an unknown number."Hi," it declPope Francis delivers message on fake news: 'The truth will set you free'
Weary journalists got a pep talk from none other than Pope Francis this week, with the head of the RReport: Apple AirPods 2 might come in black
Since AirPods launched in late 2016, people have begged Apple to release them in a color other than