Sound file manipulation in Python

Dmitry Borisov jbors at mail.ru
Thu Aug 26 19:54:08 EDT 2004


"Paul Moore" <pf_moore at yahoo.co.uk> wrote in message
news:uu0upzj72.fsf at 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/





More information about the Python-list mailing list