box.playsound('buzzer.wav',viz.LOOP)
The last argument in the playsound command can be any of the following:
|
ARGUMENT |
DESCRIPTION |
|
viz.PAUSE |
stop playing the sound and save the current position |
|
viz.STOP |
stop playing the sound and reset the position to the beginning |
|
viz.PLAY |
play the sound once from its current position |
|
viz.LOOP |
play the sound continuously from its current position |
|
|
Attaching 3D sound to an object
|