View Single Post
  #2  
Old 08-04-2010, 09:58 PM
Deltcho Deltcho is offline
Member
 
Join Date: Sep 2007
Posts: 18
Figured it out.


If anyone else needs to make the sound from the talking avatars project from them, just open up vizact.py from the vizard\python folder and change the following line:

if sync:
self.audio = viz.addAudio(self.filename)
self.audio.play()

to

if sync:
self.audio = object.playsound(self.filename)
self.audio.play()

can also add self.audio.volume() to adjust volume.

Adjusting the resync time (default = 5 seconds) to 1 second also helps lips stay synchronized much better (that part is a couple of lines down).
Reply With Quote