11

I've looked around Stack Overflow for an answer to this, but nowhere seems to give the correct answer or direction...

My project will allow a user to upload a WAV, which ultimately will be converted to a low quality MP3 using FFmpeg on the server and it'll all be stored and served on Amazon S3. The next obstacle is working out how to extract a reliable waveform visualisation from this uploaded sound. I'm using Python and Django on Linux Ubuntu 10 on a VPS for this project...

I'm, at the vert least, needing some sort of direction... I'm at a lost of where to start to look for such a tool?

3 Answers 3

8

This one (uses audiolab, PIL and numpy) is decent: http://www.freesound.org/blog/?p=10

1
  • +1 Good suggestion! Maybe a turnkey solution is a better fit to this need than the more generic approach I suggested.
    – tom10
    Jul 20, 2010 at 17:49
6

To make a graph or plot of the waveform, the usual Python appoach is to get the waveform into a numpy array, and then use matplotlib to make the plot.

The easiest way to read the data into a numpy array is to use scipy.io.wavfile.read, though if you prefer not to use scipy (it's a big package), it's not difficult to read and convert the data using Python's wav module.

3

Not trying to answer my own question here, but it's a suggestion that may help others clearly when seeing this quesion...

After lots of searching around, I found this solution... It seems well done, but does anyone else know anything about it?

Seems to do the lot!

http://code.google.com/p/timeside/

1
  • I've not yet. I'm hoping to have a good go with this soon. And it seems like it's being actively developed. Could be a really cool option. Sep 2, 2010 at 9:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.