![]() |
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
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) |
#3
|
|||
|
|||
![]()
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. |
#4
|
|||
|
|||
The vizmic module does not currently support looping the microphone audio back through the speakers.
|
#5
|
|||
|
|||
Loopback...
![]() ok... I'm going to see what can find... viz.FOREVER, D. |
![]() |
|
|