Ever Wonder How the Shazam Algorithm Works?
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).
- 最近发表
- 随机阅读
-
- Tesla reveals Cybertruck has sold more than DeLorean
- 雨城区多形式宣传《社会保险法》
- 第二届魅力雅女海选昨日开始
- 培养具有临床经验和科研能力的麻醉医师
- 23 Peculiar Places of 2023
- 解除患者疑惑 将爱心送到基层
- Hello骑行,畅游菠萝的海!哈啰变身“徐闻菠萝推介官”
- 超市未动 商铺先行 康师傅统一再吹“涨价风”
- Webb telescope just snapped image of huge black hole gobbling material
- 广东居全国Top2!2023抖音电商产业带发展数据公布
- 最高补贴1.8万元
- 石棉县宰羊乡因地制宜开展排忧解难和帮扶
- 50 Years Later: The Revolutionary 8008 Microprocessor
- 恩平:精准作业有效助力作物科学水肥管理
- 蒙顶黄芽传统制作工艺进入省级非遗名录
- 社会保险法宣传进乡镇
- SpaceX Polaris Dawn mission: How to watch the launch
- 用好村集体经济收益与村干部奖励待遇挂钩机制
- 实施乡村运营、发展新质生产力……2024清远五大百亿农业产业这样干!
- 芦山县民警冒雨完成交通事故勘查比武大赛
- 搜索
-
- 友情链接
-