音乐雷达 shazam算法

Shazam
沙赞

Music identification apps seem like magic at first, but underneath the hood is a sophisticated algorithm that can find songs in an instant. Here’s how they work.

音乐识别应用程序乍一看似乎很神奇,但其背后是一种复杂的算法,可以立即找到歌曲。 这是他们的工作方式。

音乐识别的魔力 (The Magic of Music Identification)

It’s probably happened to all of us. You’re having dinner at a nice restaurant, hanging out at a coffee shop, or walking around in a store, when you suddenly hear a great song playing over the speakers. Maybe it’s a song you’ve listened to before or a track you’ve never heard. So, you pull out your phone, open Shazam, and hold up your device to the ceiling. In just a flash, the app tells you what the song is, who the artist is, and where to stream it.

这可能发生在我们所有人身上。 当您突然听到一首很棒的歌曲在扬声器上播放时,您正在一家不错的餐厅吃晚餐,在咖啡厅闲逛或在商店里走来走去。 也许这是您之前听过的歌曲,或是从未听过的曲目。 因此,您拔出手机,打开Shazam,然后将设备举到天花板上。 瞬间,该应用程序就会告诉您这首歌是什么,歌手是谁以及在哪里播放。

They’re quick, remarkably accurate, and can identify even the most obscure of songs. In a nutshell, they work by isolating the song out of a recording and searching it against an expansive database of tracks. But the technology behind how they do this is quite complex and impressive.

它们快速,非常准确,甚至可以识别最晦涩的歌曲。 简而言之,它们的工作方式是将歌曲从录音中分离出来,并在广阔的曲目数据库中进行搜索。 但是,他们执行此操作的技术非常复杂且令人印象深刻。

You might be shocked to know that the Shazam app that we know today was released way back in 2002, and the system was just as accurate and quick then as it is now. That’s all thanks to a unique algorithm that would revolutionize the music world.

您可能会感到震惊,因为我们今天所知道的Shazam应用程序早在2002年就已发布,而且该系统与现在一样准确,快捷。 这全都归功于独特的算法,它将彻底改变音乐世界。

不只是歌词 (It’s Not Just the Lyrics)

At first glance, music identification apps like Shazam may seem simple. You might think they just listen to the lyrics, the same as any voice assistant, and search it in a database of song lyrics to tell you what the song is.

乍一看,像Shazam这样的音乐识别应用程序可能看起来很简单。 您可能会认为他们就像任何语音助手一样,都只听歌词,然后在歌曲歌词数据库中进行搜索以告诉您歌曲是什么。

However, most music identification apps are capable of telling what the title of an instrumental is, or even the singer of a cover song. That’s because, instead of analyzing the lyrics of the track, they’re looking for “fingerprints” that are unique to each song in their extensive databases.

但是,大多数音乐识别应用程序都能够分辨器乐的名称,甚至是翻唱歌曲的歌手。 这是因为,他们没有在分析曲目的歌词,而是在广泛的数据库中寻找每首歌曲特有的“指纹”。

指纹技术 (Fingerprinting Technology)

Denys Prykhodov/Shutterstock.comDenys Prykhodov / Shutterstock.com

You likely have devices that can be unlocked using your fingerprint, which is the arrangement of the small lines on your finger that are unique to you. Similarly, when you hold up your microphone to record a brief clip of a song, this clip gets turned into patterns of data that Shazam or another app can look up in their database.

您可能拥有可以使用指纹来解锁的设备,这是手指上唯一的细线排列。 同样,当您举起麦克风录制歌曲的简短片段时,该片段会变成Shazam或其他应用可以在其数据库中查找的数据模式。

At first glance, that method seems prone to several problems. Most of the time that you hear music in public, there’s background noise and distortion caused by the speakers, which can make songs unidentifiable or result in inaccurate matches. Also, there’s a lot of data captured in even a brief sound clip, which can make searching for these patterns across a database of millions of songs slow.

乍一看,该方法似乎容易出现几个问题。 在大多数情况下,您在公共场合听音乐时,背景噪声和扬声器引起的失真会导致歌曲无法识别或匹配不准确。 此外,即使是简短的声音片段,也会捕获大量数据,这会使在数百万首歌曲的数据库中搜索这些模式的速度变慢。

In an interview with Scientific American in 2003, Avery Li-Chun Wang, the chief data scientist and co-founder of Shazam, explains how their algorithm fixes these issues. The information of an audio clip can be visualized with a 3D chart known as a spectrogram, which represents a change in frequencies over a period of time. It also takes into account amplitude, which is how loud a sound is. This is represented in a spectrogram using the intensity of color.

Shazam的首席数据科学家兼联合创始人王艾利(Avery Li-Chun Wang)在2003年接受《科学美国人》采访时,解释了他们的算法如何解决这些问题。 可以使用称为频谱图的3D图表来可视化音频剪辑的信息,该图表表示一段时间内频率的变化。 它还考虑到振幅,即声音的音量。 这在频谱图中使用颜色的强度表示。

Avery Li-Chun Wang / Shazam艾弗里·王立春/莎赞

In the same way that humans cannot perceive sound unless they are at a particular frequency, instead of taking the entirety of a song into account when performing a search, Shazam only takes in “peaks,” which is the highest energy content within an audio clip. The fingerprints it captures only take in the highest frequency points within a given time frame and then the peak amplitude spots within those frequencies.

就像人类只有在特定频率下才能听见声音一样,Shazam只会吸收“峰值”,这是音频片段中的最高能量含量,而不是在执行搜索时将歌曲的整体考虑在内。 它捕获的指纹仅在给定时间范围内占据最高频率点,然后在这些频率内达到峰值振幅点。

In a research paper for Columbia University, Wang stated that the method allows them to take out most of the unnecessary parts of an audio clip like background noise and to clear up distortion. It also makes the size of the prints small enough that it takes mere milliseconds to identify a song among their vast database.

Wang在哥伦比亚大学的一份研究论文中说,这种方法可以使他们消除音频剪辑中的大部分不必要部分,例如背景噪声并清除失真。 它还使印刷品的尺寸足够小,仅需几毫秒即可在其庞大的数据库中识别歌曲。

沙赞的影响 (Shazam’s Impact)

Aside from being helpful for average listeners who hear a song they like, music identification apps also help shape the music world.

音乐识别应用程序不仅对听他们喜欢的歌曲的普通听众有帮助,而且还有助于塑造音乐世界。

Radio stations and streaming services often use the data regarding what people are Shazam-ing the most to figure out what tracks are being listened to by the public. This is helpful because it indicates a song’s catchiness and potential popularity, regardless of the artist. When you identify a song with the app, you’ll immediately see how many people have also tried to identify it.

广播电台和流媒体服务通常使用有关“人们最想做什么”的数据,以确定公众正在收听哪些曲目。 这很有用,因为它表明一首歌的流行性和潜在的受欢迎程度,与艺术家无关。 当您使用该应用程序识别歌曲时,您将立即看到有多少人也试图识别该歌曲。

Soundhound
猎犬

Since the rise of Shazam, a handful of competitors have also popped up. Soundhound claims to be able to identify a song simply by you singing or humming to it, with mixed results. There’s also a song identifier integrated with voice apps such as Google Assistant that work very similarly to Shazam’s system.

自从Shazam崛起以来,少数竞争对手也出现了。 Soundhound声称能够仅通过唱歌或哼唱就能识别出一首歌曲,而且结果复杂。 还有一个与语音应用程序(例如Google Assistant)集成的歌曲标识符,其功能与Shazam的系统非常相似。

翻译自: https://www.howtogeek.com/659614/how-do-music-identification-apps-like-shazam-work/

音乐雷达 shazam算法

音乐雷达 shazam算法_Shazam之类的音乐识别应用程序如何工作?相关推荐

  1. 音乐雷达 shazam算法_shazam等音乐搜索应用程序的工作背后,创建您自己的音乐搜索应用程序...

    音乐雷达 shazam算法 Ever wondered how your favorite music searching app works?. Well, this is the correct ...

  2. 音乐雷达 shazam算法_具有10亿首Shazam音乐识别功能的数据可视化

    音乐雷达 shazam算法 While at university, I joined Shazam as part time web developer. I stayed at Shazam fo ...

  3. mac音乐雷达:Shazam for Mac

    给大家带来一款拥有神奇魔力的软件-Shazam for Mac, 它能够把您发现音乐的能力带到一个全新的高度.无需把手机从口袋里拿出来,就能捕获您身边正在播放的音乐. Shazam mac版在后台静默 ...

  4. 苹果或4亿美元收购Shazam 科技巨头杀入流媒体音乐领域

    继上周五全球最大正版流媒体音乐平台Spotify与腾讯音乐完成换股协议之后,苹果公司于当地时间12月11日确认计划收购音乐识别软件Shazam. 苹果并未透露此次交易的金额,但据科技媒体Recode报 ...

  5. 计算机算法音乐专业,音乐信号分析算法的乐理简说(非音乐专业的乐理)

    前言 这篇文章不是讲乐理知识的,那是音乐制作人,编曲人员所需要钻研的学问,不过你要有兴趣也可以看看专业的乐理知识. 这里仅仅是说在音乐信号分析的项目中,我们需要知道的一些参数的意义. 在诸多信号处理, ...

  6. 基于Adaboost的音乐情绪分类算法

    基于Adaboost的音乐情绪分类算法-2015实习设计总结 ========================================= 基于Adaboost的音乐情绪分类算法-2015实习设 ...

  7. 推荐算法(一)——音乐歌单智能推荐

    题记:推荐引擎根据的分类根据数据源,分为基于人口统计学的(用户年龄或性别相同判定为相似用户).基于内容的(物品具有相同关键词和Tag,没有考虑人为因素),以及基于协同过滤的推荐(发现物品,内容或用户的 ...

  8. ALS算法原理和在音乐推荐上的应用

    ALS算法原理和在音乐推荐上的应用 ALS(Alternating least squares,交替最小二乘法)本来是一种数学上的优化方法,自从有人用它在Netflix大赛中使用于推荐系统,并获得冠军 ...

  9. 网易云音乐的推荐音乐方式与算法漫谈

    网易云音乐的推荐音乐方式与算法漫谈 字数3131阅读8588评论13喜欢70 网易云音乐在我看来在各方面都是较为出色的音乐APP,网上也有各种体验报告.产品分析,但都比较偏向交互和前端.所以,我决定对 ...

最新文章

  1. 万物互联的千亿级通信云市场,开发者机会在哪里
  2. Oracle DB 服务器 系统时间修改问题 与 SCN 关系的深入研究
  3. SQL语句中 LIMIT与OFFSET
  4. href可以请求后台么_href怎么进行传参
  5. MYSQL----myownstars(102)
  6. 量子计算机能让科技发展有多快,量子计算机有多快?
  7. Java 8仍然需要LINQ吗? 还是比LINQ更好?
  8. serialport通过usb通讯_IOT串口通讯-RS232/RS485
  9. 如何对待逐渐疏远的朋友?
  10. 【PHP】【PHP100改进系列】上传图片水印、缩略图、图片大小预处理类
  11. 为你的软件选择正确的许可证方案
  12. python 矩阵连乘
  13. 外贸自建站优势渐明,你还要观望多久!2018加油
  14. chrome浏览器 Adobe Flash 版本太旧 无法播放视频解决办法
  15. c语言ascii码字符串转16进制,C语言 16进制与ascii码互转
  16. 解决:VMWare虚拟机无法开启,显示模块“Disk”启动失败
  17. D16:Exchange Rates(汇率,翻译)
  18. 计算机管理为什么没有端口,Win7设备管理器没有端口选项的三大原因及解决措施...
  19. 聪明的大脑 少碰以下的食物!!
  20. APS计划排产软件助家纺企业进行成本控制

热门文章

  1. Javascript在线调试安卓工具的实现
  2. 软件评测师——知识产权与标准化
  3. 关于c语言坦克大战的
  4. 微信保存图片提示失败_微信照片保存到手机总保存失败怎么处理
  5. 阿里短信服务 php实例,阿里大鱼发送sms 短信 php demo示例
  6. 微信客服对接-唯一客服系统文档中心
  7. Unity动画系统详解4:如何用代码控制动画?
  8. 【经验】安全岗实习生应聘
  9. 测试人生 | 阿里实习 90 天:从实习生的视角谈谈个人成长
  10. Three.js--》实现3d地球模型展示