![]() |
|
#2
|
|||
|
|||
Are you saying you want to use the <node3D>.playsound command but also manipulate the sound volume yourself? If so, look at the following:
Code:
import viz viz.go() ball = viz.add('ball.wrl',pos = [0,1.8,2]) slider = viz.addSlider() slider.setPosition(0.5,0.2) slider.set(1) sound = ball.playsound( 'boing!.wav', viz.LOOP ) def changeVolume(value): sound.volume(value) vizact.onslider(slider,changeVolume) |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sound Looping Problem | JMOwens | Vizard | 4 | 09-29-2010 09:42 PM |
Attaching sound to a moving object | GiudiceLab | Vizard | 6 | 08-21-2009 08:52 AM |
Multiple Sound Devices | GiudiceLab | Vizard | 2 | 06-06-2009 10:29 AM |
Stuttering sound | Jerry | Vizard | 1 | 06-13-2007 12:36 PM |
sound problem | alaa | Vizard | 7 | 09-02-2005 01:13 PM |