WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Client Server Networking Problem pattie Vizard 12 07-04-2013 09:11 AM
Randomly and Continuously Change Avatar's Face Texture Karla Vizard 4 08-22-2008 12:14 PM
Moving avatars lips with sound dan12345 Vizard 5 01-29-2008 07:32 PM
avatars dig Vizard 4 09-20-2007 03:29 PM
sound problem alaa Vizard 7 09-02-2005 01:13 PM


All times are GMT -7. The time now is 06:54 PM.


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