PDA

View Full Version : Pause in .speak


krimble
07-13-2011, 02:34 AM
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