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
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
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.