乐谱的音频分析 [英] Audio Analysis for Sheet Music

查看:149
本文介绍了乐谱的音频分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我目前正在开发一个程序,该程序可以分析演奏乐器的独奏音乐家的wav文件并检测其中的音符.为此,它执行FFT,然后查看生成的数据.目标是(在某个时候)通过编写一个midi文件来制作乐谱.

我只是想就它可能存在的困难获得一些意见,无论是否有人曾尝试过,也许有些事情对研究都是有益的.目前,我最大的困难是并非所有的音符都只是一个频率,而我仍无法检测到和弦.只是单音.在我检测到的音符之间也必须稍作停顿,这样我才能确定一个音符已经结束而另一个音符已经开始.

Hi all,

I''m currently working on a program that analyses a wav file of a solo musician playing an instrument and detects the notes within it. To do this it performs an FFT and then looks at the data produced. The goal is to (at some point) produce the sheet music by writing a midi file.

I just wanted to get a few opinions on what might be difficult about it, whether anyones tried it before, maybe a few things it would be good to research. At the moment my biggest struggle is that not all notes are purely one frequency and I cannot yet detect chords; just single notes. Also there has to be a pause between the notes I am detecting so I know for sure one has ended and the other started. Any comments on this would also be very welcome!

推荐答案

问题有点类似于DTMF识别(找出电话按键产生的两声和弦").一个非常有效的 Goertzel算法 [ ^ ]被广泛使用.它可能会或可能不会帮助您解决当前的问题,但是绝对值得一试.祝您好运!
The problem is somewhat similar to DTMF recognition (figuring out "two-sound chords" produced by telephone buttons). A very efficient Goertzel Algorithm[^] is used rather widely for that. It may or may not help you solve the problem at hand, but it''s definitely worth giving a try. Good luck!


音乐现象-所演奏频率的音符可能包含该音符较高八度的出现.例如. A440(440Hz)可能包含A5(880Hz)和A6(1760Hz)等的实例.我发现音符越低的可能性就越大.
Musical phenomenons - notes of the frequency being played may contain occurrences of the note''s higher octaves. E.G. A440 (440Hz) may contain instances of A5 (880Hz) and A6 (1760Hz) etc. I''ve found this is more likely the lower the note gets.


这是一个有趣的项目,但我可以告诉您,识别和弦会非常困难,因为您不仅会合并音符,而且还会产生各种副产物频率.您一定会找到各种有趣的东西,祝您好运!
This is an interesting project, but I can tell you you''ll end up having a really hard time identifying chords, since you''ll end up not only with a combination of notes, but a variety of byproduct frequencies. You''re bound to find all sorts of interesting things, good luck!


这篇关于乐谱的音频分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆