WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   WARNING: Failed to set media volume (Unspecified error) (https://forum.worldviz.com/showthread.php?t=3931)

smith_toh 09-28-2011 06:36 PM

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.

Jeff 09-29-2011 04:00 PM

This seems be to be an issue specific with the midi format. It should work if you convert the file to another format.

smith_toh 09-30-2011 02:16 AM

hi Jeff,
but my project require only midi format.
Is there other way to adjust volume for midi file?
Thanks.


All times are GMT -7. The time now is 11:00 AM.

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