开发者

Recognizing notes within recorded sound - Python [closed]

开发者 https://www.devze.com 2023-01-13 12:29 出处:网络
Closed. This question needs to be more focused. It is not currently accepting answers. 开发者_开发知识库
Closed. This question needs to be more focused. It is not currently accepting answers.
开发者_开发知识库

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 4 years ago.

Improve this question

I'm wondering if I can extract a sequence of musical notes from a recorded sound using Python.

It is the first time I'm considering using Python for this.


Help would be truly awesome :)


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.

See 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消