arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.15426cs.SDeess.AS
收藏

基于频谱比较的音量无关音乐匹配

Volume-Independent Music Matching by Frequency Spectrum Comparison

Milton Academy(米尔顿学院)

Anthony Lee

摘要:

我经常听到一段音乐,想知道这段音乐的名字是什么。事实上,有一些应用程序,如Shazam应用程序,提供音乐匹配。然而,这些应用程序的局限性是,如果不是同一个录音,则无法识别同一音乐家演奏的同一首曲子。Shazam识别的是它的录音,而不是音乐。这是因为Shazam匹配音量的变化,而不是声音的频率。这项研究试图以人类理解的方式来匹配音乐:通过音乐的频谱,而不是音量变化。从本质上讲,这个想法是预先计算数据库中所有音乐的频谱,然后选取未知片段,并尝试将其频谱与数据库中每首音乐的每个片段进行匹配。我通过将未知片段的频谱与我们的数据库进行匹配来做到这一点,方法是将窗口滑动0.1秒,并通过取绝对值、归一化音频、减去归一化数组以及取绝对差之和来计算误差。显示最小误差的段被认为是匹配的候选。匹配性能被证明是依赖于音乐的复杂性。匹配简单的音乐,如单音符作品,是成功的。然而,更复杂的作品,如肖邦叙事曲4,并不成功,也就是说,该算法无法在数据库中的任何音乐中产生低错误值。我怀疑这与有太多的音符有关:高次谐波中的不匹配增加了大量的错误,这淹没了计算。

英文摘要:

Often, I hear a piece of music and wonder what the name of the piece is. Indeed, there are applications such as Shazam app that provides music matching. However, the limitations of those apps are that the same piece performed by the same musician cannot be identified if it is not the same recording. Shazam identifies the recording of it, not the music. This is because Shazam matches the variation in volume, not the frequencies of the sound. This research attempts to match music the way humans understand it: by the frequency spectrum of music, not the volume variation. Essentially, the idea is to precompute the frequency spectrums of all the music in the database, then take the unknown piece and try to match its frequency spectrum against every segment of every music in the database. I did it by matching the frequency spectrum of the unknown piece to our database by sliding the window by 0.1 seconds and calculating the error by taking Absolute value, normalizing the audio, subtracting the normalized arrays, and taking the sum of absolute differences. The segment that shows the least error is considered the candidate for the match. The matching performance proved to be dependent on the complexity of the music. Matching simple music, such as single note pieces, was successful. However, more complex pieces, such as Chopins Ballade 4, were not successful, that is, the algorithm could not produce low error values in any of the music in the database. I suspect that it has to do with having too many notes: mismatches in the higher harmonics added up to a significant amount of errors, which swamps the calculations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑