[linux-audio-dev] mp3 fft with python

michael tewner tewner at jct.ac.il
Wed Aug 18 08:27:27 UTC 2004


For my college final project, I'm embarking on a very similar idea. My
project advisor has me implementing a wavelet transform in python, and
displaying a waterfall in tcl/tk. GRanted, I've never programmed in either
language;  I'm not even sure either of those are efficient enough to
handle it in real time!

Anyway, any help you (Garret, or anyone) would be greatly appreciated!

advTHANKSance

-tewner



On Tue, 17 Aug 2004, Garett Shulman wrote:

> Hello, I would like to do a fft on an mp3 in python. I beleive I have
> all of the fft stuff straight in my mind but am not sure of the best way
> to get the sample data into a python array. I ran accross a web site a
> while back which suggested using sox to convert a wav file into a raw
> sample file and then open the raw file with python. However, I did not
> bookmark this site when I came accross it and cannot seem to find it
> now. If anyone has any suggestions as to a good way to get sample data
> out of an mp3 and into a python array for an fft I would greatly
> appreciate your suggestions. Thanks a lot. -Garett
>



More information about the Linux-audio-dev mailing list