WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Pause in .speak (https://forum.worldviz.com/showthread.php?t=3836)

krimble 07-13-2011 02:34 AM

Pause in .speak
 
Hi,
what I'm trying to do is pausing a speaking avatar. Pausing the animation was easy.

avatar.pauseActions()
# node.resumeActions()

But the sound file keeps on playing. How can I pause the sound file?


speech = vizact.speak("soundFile.wav")
avatar.addAction(speech)

# on keypress
avatar.pauseActions()

# node.resumeActions()



Thanks in advance!!

Best, Jeroen


All times are GMT -7. The time now is 02:13 PM.

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