473,396 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 2878
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.