471,342 Members | 1,811 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,342 software developers and data experts.

Visualizing a wav file?

Hey everyone, I've done a good bit of google searching, and have found
quite a few different libraries available for sound processing.

I was wondering if anyone with more experience would like to say which
one(s) they would use for displaying the waveform of a .wav file in
real-time, or at least as the .wav is being played.

Or is this something that would be better handled by the GUI code?
Data from whatever's reading the sound, visualization by Tkinter or wx
or whatnot?
Jul 11 '07 #1
3 2815
Perhaps you can use parts/routines of Audacity.
See: http://en.wikipedia.org/wiki/Audacity

Wim Vogelaar, http://home.wanadoo.nl/w.h.vogelaar/
Jul 11 '07 #2
On 7/11/07, Wim Vogelaar <wi**************************@bag.python.orgwrot e:
Perhaps you can use parts/routines of Audacity.
See: http://en.wikipedia.org/wiki/Audacity

Wim Vogelaar, http://home.wanadoo.nl/w.h.vogelaar/
--
http://mail.python.org/mailman/listinfo/python-list
I'm aware of audacity.

Correct me if I'm wrong, but I don't think Audacity is written in
Python, although I think someone wrote a way to script it a bit using
python.

While looking at their code might prove useful to me, I'm looking for
a way to implement this in python.

To provide a clearer (and audacity related) example, I'd like to be
able to show the waveform as it's playing - like if you zoomed in
decently far on a sample in audacity while playing it back. If I can
accomplish that, I think I can figure out most of the other stuff I'd
like to do on my own.

Just looking for some points in the right direction.
Jul 11 '07 #3
kaens wrote:
On 7/11/07, Wim Vogelaar <wi**************************@bag.python.org>
wrote:
>Perhaps you can use parts/routines of Audacity.
See: http://en.wikipedia.org/wiki/Audacity

Wim Vogelaar, http://home.wanadoo.nl/w.h.vogelaar/
--
http://mail.python.org/mailman/listinfo/python-list

I'm aware of audacity.

Correct me if I'm wrong, but I don't think Audacity is written in
Python, although I think someone wrote a way to script it a bit using
python.

While looking at their code might prove useful to me, I'm looking for
a way to implement this in python.

To provide a clearer (and audacity related) example, I'd like to be
able to show the waveform as it's playing - like if you zoomed in
decently far on a sample in audacity while playing it back. If I can
accomplish that, I think I can figure out most of the other stuff I'd
like to do on my own.

Just looking for some points in the right direction.
For the visualization, you'll need a GUI-toolkit. Google this group for a
plethora of discussions which are available and the respective
advantages/disadvantages.

The main problem will be the synchronization between the playing-process and
your display. I have no idea if there is any feedback from the sound system
that you can faciliate to compute the actual playing position.

diez
Jul 11 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by matt | last post: by
7 posts views Thread by Joseph | last post: by
3 posts views Thread by StGo | last post: by
1 post views Thread by Gustaf Liljegren | last post: by
3 posts views Thread by Kristof Thys | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.