WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   unable to add audio files (https://forum.worldviz.com/showthread.php?t=6293)

newtoviz 12-04-2019 02:34 AM

unable to add audio files
 
ERROR: Failed to find sound file: G:\VizMSCudios.mid
i get the above code. please help.

sound = viz.playsound('G:\VizMSC\audios.mid') - here is my line of code. i tried several ways.
Would be nice if you could help

Jeff 12-08-2019 09:02 PM

Do you get an error if you place the sound file in the same folder as the Vizard script and run the following?

Code:

import viz
viz.go()

viz.playSound('audios.mid')



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

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