录音中承认票据 - 的Python [英] Recognizing notes within recorded sound - Python
问题描述
我想知道如果我可以使用Python录制的声音中提取的音符序列。
I'm wondering if I can extract a sequence of musical notes from a recorded sound using Python.
这是我使用Python这种考虑是第一次。
It is the first time I'm considering using Python for this.
帮助将是真正真棒:)
推荐答案
你会想要做的就是把你的音频样本,将它们转换成频域中的快速傅立叶变换(FFT),发现在最强大的频率样本,以及频率转换成音符。
What you would want to do is take your audio samples, convert them into the frequency domain with a Fast Fourier Transform (FFT), find the most powerful frequency in the sample, and convert that frequency into a note.
请参阅http://stackoverflow.com/questions/1303307/fft-for-spectrograms-in-python为指针函数库,有助于前两个项目。请参见 http://80.68.92.234/sigproc.html 获取一些样本code让你开始。。
See http://stackoverflow.com/questions/1303307/fft-for-spectrograms-in-python for pointers to libraries to help with the first two items. See http://80.68.92.234/sigproc.html for some sample code to get you started.
这篇关于录音中承认票据 - 的Python的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!