Does anyone know of a Python library which handles sound file formats
(MP3, Ogg, FLAC are the three I'm nost interested in). I'd like
something that can manipulate "metadata" - stuff like artist, title,
album tags. I'm not critically interested in format conversion, or
playing sound files - I can handle that with other applications.
I'm using Windows, and Python 2.3, if it matters (as it might for C
extensions).
I can manage with just reading the metadata, but ideally writing
would be useful, too. Multiple libraries is OK, but I need something
more than just MP3.
If there's nothing available for Python, does anyone know of a good C
library that could be wrapped? (Or used via ctypes, maybe).
Thanks,
Paul.
--
Ooh, how Gothic. Barring the milk. 6 3515
On Thu, 26 Aug 2004 22:24:33 +0100, Paul Moore <pf******@yahoo.co.uk> wrote: Does anyone know of a Python library which handles sound file formats (MP3, Ogg, FLAC are the three I'm nost interested in). I'd like something that can manipulate "metadata" - stuff like artist, title, album tags. I'm not critically interested in format conversion, or playing sound files - I can handle that with other applications.
I'm using Windows, and Python 2.3, if it matters (as it might for C extensions).
I can manage with just reading the metadata, but ideally writing would be useful, too. Multiple libraries is OK, but I need something more than just MP3.
If there's nothing available for Python, does anyone know of a good C library that could be wrapped? (Or used via ctypes, maybe).
Thanks, Paul. -- Ooh, how Gothic. Barring the milk. -- http://mail.python.org/mailman/listinfo/python-list
I'm playing with some of those things right now. You may want to look
at mad and id3tag. I know there are several others that allow you to
work with ID3 Tags.
--
Stand Fast,
tjg.
"Paul Moore" <pf******@yahoo.co.uk> wrote in message
news:uu***********@yahoo.co.uk... Does anyone know of a Python library which handles sound file formats (MP3, Ogg, FLAC are the three I'm nost interested in). I'd like something that can manipulate "metadata" - stuff like artist, title, album tags. I'm not critically interested in format conversion, or playing sound files - I can handle that with other applications.
I'm using Windows, and Python 2.3, if it matters (as it might for C extensions).
I can manage with just reading the metadata, but ideally writing would be useful, too. Multiple libraries is OK, but I need something more than just MP3.
If there's nothing available for Python, does anyone know of a good C library that could be wrapped? (Or used via ctypes, maybe).
You may try to use pymedia: http://pymedia.sourceforge.net
There is no writing at this point( but you may add it though ), also FLAC
not supported also.
If you need writing you may need to use ffmpeg/libavformat for that...
Dmitry/
"Paul Moore" <pf******@yahoo.co.uk> wrote in message
news:uu***********@yahoo.co.uk... Does anyone know of a Python library which handles sound file formats (MP3, Ogg, FLAC are the three I'm nost interested in). I'd like something that can manipulate "metadata" - stuff like artist, title, album tags. I'm not critically interested in format conversion, or playing sound files - I can handle that with other applications.
I'm using Windows, and Python 2.3, if it matters (as it might for C extensions).
I can manage with just reading the metadata, but ideally writing would be useful, too. Multiple libraries is OK, but I need something more than just MP3.
If there's nothing available for Python, does anyone know of a good C library that could be wrapped? (Or used via ctypes, maybe).
Thanks, Paul. -- Ooh, how Gothic. Barring the milk.
I would try the Snack toolkit at http://www.speech.kth.se/snack/
Highlights
High level sound objects, with flexible storage management and streaming
support.
Multiple simultaneous playback and recording threads (system dependent).
All audio data handled as floating point internally for fast and accurate
computations.
Multi-platform, same scripts usable on Windows 95/98/NT/2K/XP, Linux,
Macintosh, Sun Solaris, HP-UX, FreeBSD, NetBSD, and SGI IRIX.
Script compilation tool included, for easy deployment using stand-alone
executables.
Filters which can be used to process sound objects or during playback for
on-the-fly operation.
Visualization with waveforms, spectrograms, and spectrum sections.
Postscript support.
Real-time visualization/spectrum analysis.
Web enabled, possible to run scripts embedded in web pages through the use
of the Tcl plug-in.
Extensible, new commands, filters, and sound file formats can be added
using the Snack C-library.
Lots of examples included as well as a skeleton C-extension.
Supported sound file formats: WAV, AU, AIFF, MP3, CSL, SD, SMP, and
NIST/Sphere
Tom
"Tom B." <sb******@commspeed.net> writes: I would try the Snack toolkit at http://www.speech.kth.se/snack/
Looks good, but more focused on manipulation and playback. I couldn't
see any handling of tags/metadata.
Supported sound file formats: WAV, AU, AIFF, MP3, CSL, SD, SMP, and NIST/Sphere
No Ogg or FLAC :-(
I'll keep it in mind, though.
Paul.
--
"Bother," said the Borg, "We've assimilated Pooh."
"Dmitry Borisov" <jb***@mail.ru> writes: You may try to use pymedia: http://pymedia.sourceforge.net
Looks nice. I'll give it a try.
There is no writing at this point( but you may add it though ),
Not something I need right now.
also FLAC not supported also.
A pity, but not as important to me as Ogg. How hard is it to add
codecs to pymedia?
Paul.
--
The major difference between a thing that might go wrong and a thing
that cannot possibly go wrong is that when a thing that cannot
possibly go wrong goes wrong it usually turns out to be impossible to
get at or repair. -- Douglas Adams
"Paul Moore" <pf******@yahoo.co.uk> wrote in message
news:uk***********@yahoo.co.uk... "Dmitry Borisov" <jb***@mail.ru> writes:
You may try to use pymedia: http://pymedia.sourceforge.net
Looks nice. I'll give it a try.
There is no writing at this point( but you may add it though ),
Not something I need right now.
also FLAC not supported also.
A pity, but not as important to me as Ogg. How hard is it to add codecs to pymedia?
I don't see any special handling for flac. So I suppose it may use regular
raw format for demuxing. In this case, it will be trivial to include
libavcode/flac.c from ffmpeg into pymedia. No changes. For meta tags, you
may need to do a small research and write a simple parser.
Dmitry/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Michael Peuser |
last post by:
There is not so much multimedia for Python. So I became quite excited about
this nice sound output and manipulation tool. The DLL is not small but it
can do a lot of things. Seems that it is in...
|
by: Chris |
last post by:
I want a program that can "draw" sound.
Imagine drawing a graph of frequency against time -
and then being able to play it over the computer speakers.
Can this be done in Python?
As a...
|
by: Bill Dandreta |
last post by:
I posted a message ("Help with my 1st Tkinter program") a few days ago
complaining that Python did not have any built in basic cross platform
sound capability. I was wrong (at least partly). Python...
|
by: Lynn |
last post by:
I have a SuSe 9.1 linux box (although this isn't a new issue) with
reasonably up to date everything. When I run PySol, it grabs the sound
system in a rude and complete way.
I don't listen to...
|
by: talsharf |
last post by:
Hi everyone,
I have this small problem and I wonder if someone could put me in some
direction.
I am trying to build a simple sound generator, mainly for playing the
sound of a car's engine.
I...
|
by: Bradley Jewell |
last post by:
I am wanting to be able to take a templated sound file and superimpose other sound files overtop of it. If anyone has any idea's I would appreciate it.
|
by: sittner |
last post by:
Hi everyone,
I'm looking for a module for sound processing (manipulating sound objets,
filters, ffts etc.).
I tried Snack, but when i downloaded the package that was supposed to be
for python,...
|
by: Memozio |
last post by:
Is there a library in python that has methods applicable to volume(in terms of sound) of a given file? For example if it can check if the sound volume of a file is on the same level for the entire...
|
by: Woot4Moo |
last post by:
Hey guys I am running Windows XP and am having an issue with a game
that my team has created. Whenever an audio file is played it creates
a very distorted, crackly sound. Any ideas what could be...
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Aftab Ahmad |
last post by:
Hello Experts!
I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
|
by: Aftab Ahmad |
last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
Dim IE As Object
Set IE =...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: marcoviolo |
last post by:
Dear all,
I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
| |