views:

80

answers:

1

Hi folks,

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 :)

+2  A: 

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

Gabe