WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Audio Informaion (https://forum.worldviz.com/showthread.php?t=4514)

Chapre 03-12-2013 12:02 PM

Audio Informaion
 
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


All times are GMT -7. The time now is 02:17 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC