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
|