WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-24-2007, 01:35 PM
djdesmangles djdesmangles is offline
Member
 
Join Date: Nov 2006
Posts: 88
After loading all my objects

Hello Wizards,

I would like to play a audio track AFTER all my osg objects finish to load. I've tried "viz.setOption('viz.preload',1)" but the sound still begin during the loading...
What can I do ?

viz.FOREVER,
D.
Reply With Quote
  #2  
Old 05-24-2007, 02:45 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Try adding the audio object after you add all your models. If that doesn't work, then create a timer event to initialize the audio for the first time. Here is sample code:
Code:
def InitializeSound():
	#Add code to initialize audio objects
	pass
vizact.ontimer2(0,0,InitializeSound)
Reply With Quote
  #3  
Old 05-27-2007, 06:30 PM
djdesmangles djdesmangles is offline
Member
 
Join Date: Nov 2006
Posts: 88
Question Real time Lipsync...

Hello Wizards,

Thanks for the advice. the timer is working fine... I got another one :
I've tried the vizmic example (realtime liosync). How can I have a loopback ? When I'm talking the avatar head is morphing, but there's no sound in the speaker. I've tried several things, like vizact.parrallel, to record in the wav file and to read it... but I simply don't understand why it doesn't work...

Thanks a lot...
viz.FOREVER
D.
Reply With Quote
  #4  
Old 05-31-2007, 11:01 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The vizmic module does not currently support looping the microphone audio back through the speakers.
Reply With Quote
  #5  
Old 06-03-2007, 03:23 PM
djdesmangles djdesmangles is offline
Member
 
Join Date: Nov 2006
Posts: 88
Loopback...



ok... I'm going to see what can find...

viz.FOREVER,
D.
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 01:55 PM.


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