WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-08-2008, 03:34 AM
znchb znchb is offline
Member
 
Join Date: Sep 2008
Posts: 21
Unhappy how to clear background sound of an animation

#the following program try to clean the animation-teacher and the sound,
#but I can't perform the later one, could you please help me? Thanks
import viz
import vizact
viz.go()
viz.clearcolor(viz.SKYBLUE)
viz.add('tut_ground.wrl')

teacher = viz.add('c:\\Program Files\\WorldViz\\Vizard30\\resources\\vcc_female.c fg')
teacher.translate(1,1,1)
viz.MainView.translate(0,2,-10)
teacher.setEuler(-180,0,0)
teacher.state(14)
#speech = vizact.speak('c:\\Program Files\\WorldViz\\Vizard30\\resources\\carousel.wav ')
teacher.addAction(vizact.speak('c:\\Program Files\\WorldViz\\Vizard30\\resources\\carousel.wav '))

def clean():

teacher.clearActions()#vizact.speak)
teacher.remove()

vizact.onkeydown(' ', clean)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Looping Problem JMOwens Vizard 4 09-29-2010 10:42 PM
Stuttering sound Jerry Vizard 1 06-13-2007 01:36 PM
Animation Tracks.... k_iwan Vizard 2 03-26-2007 06:52 PM
avatar animation problems jrodman Vizard 1 01-18-2006 10:12 AM
sound problem alaa Vizard 7 09-02-2005 02:13 PM


All times are GMT -7. The time now is 11:44 PM.


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