WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-20-2005, 02:03 PM
vjonshih vjonshih is offline
Member
 
Join Date: Sep 2004
Posts: 15
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
Reply With Quote
  #2  
Old 05-23-2005, 12:21 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

I looked up the error code and it refers to an "out of memory" error. How big are the wav files?
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


All times are GMT -7. The time now is 03:42 AM.


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