WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   After loading all my objects (https://forum.worldviz.com/showthread.php?t=1103)

djdesmangles 05-24-2007 01:35 PM

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.

farshizzo 05-24-2007 02:45 PM

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)


djdesmangles 05-27-2007 06:30 PM

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.

farshizzo 05-31-2007 11:01 AM

The vizmic module does not currently support looping the microphone audio back through the speakers.

djdesmangles 06-03-2007 03:23 PM

Loopback...
 
:confused:

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

viz.FOREVER,
D.


All times are GMT -7. The time now is 06:51 AM.

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