PDA

View Full Version : Audio Informaion


Chapre
03-12-2013, 12:02 PM
How do I get audio basic information like duration without having to load it (not using viz.addAudio); as loading takes quite some time that would be critical for my application

Jeff
03-13-2013, 01:57 AM
Perhaps there is some 3rd party Python library that will allow you to access properties of the audio file. Can you save the information to a text file and read it from there?

masaki
04-12-2013, 05:40 PM
Mutagen is a good library for this and you won't have to save the information out; you can just extract the information from the file without loading it into memory.

https://code.google.com/p/mutagen/

Masaki