Thread: Pause in .speak
View Single Post
  #1  
Old 07-13-2011, 02:34 AM
krimble krimble is offline
Member
 
Join Date: Nov 2006
Location: Nijmegen
Posts: 63
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
Reply With Quote