From: wxpython-users-bounces@lists.wxwidgets.org
[mailto:wxpython-users-bounces@lists.wxwidgets.org]On Behalf
Of Lucas Boppre Niehues
Sent: January 26, 2009 13:33
To: wxpython-users@lists.wxwidgets.org
Subject: [wxpython-users] MP3 wave graphHello
I'm looking for a way to display a MP3 file's wave. It's for
an audio lessons player, so the main purpose is allowing the
user to see where are the sounds and pauses, so he / she can
fast forward to the next chapter or rewind to the past one.
[snip]
Question: is there any package / library / function that can
successfully extract an waveform-like graph from an MP3 file?
It doesn't have to create an image file, like the given
example, just the graph points are enough.
I don't think there is any way of getting the waveform from an MP3 *without* decoding it. You could try decoding it a piece at a time, as needed. I do believe it's possible to extract the volume level from each frame without fully decoding (I have some closed-source freeware that displays MP3s like this) but I don't know of a library that does this. That might be enough, though.
If you are the one producing the audio, you might want to think about splitting the MP3 into separate files, one per chapter, or using a navigable digital talking book format such as DAISY (www.daisy.org). (Disclosure: I work for a DAISY producer. The bulk of my team's work is finding chapters in books to mark them up as navigable points in DAISY DTBs. DAISY is primarily aimed at blind, dyslexic, and otherwise print-disabled people.)
Geoff
Geoffrey Gilmour-Taylor
Business Analyst and Supervisor, Audio Conversion Unit
CNIB
1929 Bayview Ave.
Toronto, ON
M4G 3E8
T: (416) 486-2500, ext. 7555
F: (416) 480-7700
CNIB: Vision health. Vision hope. Visit www.cnib.ca
Privacy Disclaimer - Français à suivre
This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is priviledged, proprietary, confidential. If you are not the intended recipient, you are notified that any dissemination, distribution, or copy of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately.
···
-----Original Message-----
-----------------------------------------------------------------------------------
Déclaration de confidentialité
Le présent courrier électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. Si ce message vous a été transmis par erreur, veuillez en informer l'expéditeur et le supprimer immédiatement.