WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-28-2011, 06:36 PM
smith_toh smith_toh is offline
Member
 
Join Date: Mar 2011
Posts: 5
WARNING: Failed to set media volume (Unspecified error)

hi all,
i use the following sample code:

sound = viz.addAudio('bach_air.mid')
sound.loop(viz.ON)
sound.volume(.5)
sound.setTime(3)
sound.setRate(2)
sound.play()


and it will show me this error:
WARNING: Failed to set media volume (Unspecified error)
Please help me.
Thank you so much.
Reply With Quote
  #2  
Old 09-29-2011, 04:00 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
This seems be to be an issue specific with the midi format. It should work if you convert the file to another format.
Reply With Quote
  #3  
Old 09-30-2011, 02:16 AM
smith_toh smith_toh is offline
Member
 
Join Date: Mar 2011
Posts: 5
hi Jeff,
but my project require only midi format.
Is there other way to adjust volume for midi file?
Thanks.
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
ERROR: Failed to load .ive file turgutm Vizard 1 09-16-2010 05:16 AM
ERROR: Failed to initialize python kay Vizard 1 10-07-2009 11:51 AM
5DT glove ultra error 5dt.dls failed kabk Vizard 2 05-05-2009 12:43 PM
Warning:: Picked up error in TriangleIntersect Mike Konstant Vizard 1 07-07-2008 02:32 PM
PPT talk button error: Failed to connect to COM4 jpq Precision Position Tracker (PPT) 3 12-08-2005 02:36 PM


All times are GMT -7. The time now is 05:58 PM.


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