WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Error when playing wav files...? (https://forum.worldviz.com/showthread.php?t=360)

vjonshih 05-20-2005 02:03 PM

Error when playing wav files...?
 
Hi there,

I created a python dictionary of sound files for my world --

#Create a Python dictionary of experimenter sounds
soundMap = {}
#A list of all the different experimenter sound files
soundNames = ['first','topic1','suicide','execution','aftertopic ','againtopic','afteragaintopic', 'turnaround', 'beginspeech', 'timesup', 'nextphase', 'topic2']
#Iterate through soundNames and load wav files
for sound in soundNames:
soundfile = sound + '.wav'
newsoundfile = viz.add(soundfile)
#Save the sound in the sound map
soundMap[sound] = newsoundfile


and in my world there are two stages...in the first stage, it plays one of two sound files (A or B), and in the second stage, it plays the other sound file (either A or B).

For some reason, when I get to the second stage of the world and Vizard attempts to play the sound file, I get an error in the output console:

FAILED(hr=0x8007000e) in pMC->Run()

Do you have any insight as to what might be causing this error?

Thanks in advance,
Jon

farshizzo 05-23-2005 12:21 PM

Hi,

I looked up the error code and it refers to an "out of memory" error. How big are the wav files?


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

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