WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-12-2013, 12:02 PM
Chapre Chapre is offline
Member
 
Join Date: Sep 2010
Posts: 36
Question 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
Reply With Quote
  #2  
Old 03-13-2013, 01:57 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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?
Reply With Quote
  #3  
Old 04-12-2013, 05:40 PM
masaki masaki is offline
Member
 
Join Date: Jan 2008
Posts: 63
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
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Audio to CAF Animation WaterBottle Vizard 3 08-30-2011 06:54 PM
Audio does not play (even the one from the multimedia.py tutorial) Josh Vizard 2 03-10-2010 11:04 AM
Add an audio source (a radio)? Josh Vizard 4 03-05-2010 09:01 AM
Real Time Audio Data lomendil Vizard 2 06-02-2008 08:18 PM
audio object string Jerry Vizard 1 03-13-2008 11:06 AM


All times are GMT -7. The time now is 08:20 AM.


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