472,993 Members | 1,973 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,993 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 2870
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: matt | last post by:
I have compiled some code, some written by me, some compiled from various sources online, and basically i've got a very simple flat file photo gallery. An upload form, to upload the photos and give...
5
by: Dave Smithz | last post by:
Hi There, I have a PHP script that sends an email with attachment and works great when provided the path to the file to send. However this file needs to be on the same server as the script. ...
7
by: Joseph | last post by:
Hi, I'm having bit of questions on recursive pointer. I have following code that supports upto 8K files but when i do a file like 12K i get a segment fault. I Know it is in this line of code. ...
3
by: StGo | last post by:
How can i read/write file's custom attributs(like subject,author...) in C#??? Thanks :))
1
by: Gustaf Liljegren | last post by:
I've been working on a home project in SharpDevelop for a while now, and it's getting hard to overview now. It would help if I had a tool in which I could feed the whole C# combine/solution file...
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
13
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming...
3
by: Kristof Thys | last post by:
Hello, I'm writing a ASP.net webservice wich will visualize an image, generated by another application. The generated image is a char*. I can transform this to a String*, but I want to view it...
0
by: psimakov | last post by:
I wrote an article that focuses on: - working with Hibernate 3.x metadata at runtime - drawing ER diagrams automatically by Ant tasks, not by hand - visualizing XML DTD, Apache OJB, WSDL and...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

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.