| 
			
			Thanks for the quick reply (you've saved me a lot of time!)
 The only unclear thing is the following line:
 
 songCycle = viz.cycle([ viz.addAudio(filename) for filename in songs ])
 
 It will load the songs as it is or I have to change something? (ie replace the "filename" with the first (actual) filename in songs?)
 
 I also met another problem. I had these errors when I run the code:
 
 Traceback (most recent call last):
 File "C:\Program Files\WorldViz\Vizard30\python\viztask.py", line 685, in _onupdate
 self._tasks = [ t for t in self._tasks if not t.update() ]
 File "C:\Program Files\WorldViz\Vizard30\python\viztask.py", line 652, in update
 val = self.__stack[-1].next()
 File "museum.py", line 78, in PlayMusicTask
 songCycle = viz.cycle([ viz.addAudio(filename ) for filename  in songs ])
 File "C:\Program Files\WorldViz\Vizard30/python\viz.py", line 7524, in addAudio
 return VizAudio(_ipcSend(_VIZ_ADDAUDIO,0,0,fileName,0.0,0  .0,0.0,0.0),**kw)
 TypeError: message must be a string
 |