Thread: 3d sound
View Single Post
  #2  
Old 04-22-2008, 10:05 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
This is not currently possible. If you want ambient sound then you will need to use the non-3D sound features. You can manually decrease the volume of the sound as you move away from the specific area. Here is how you would create a sound object:
Code:
ambient = viz.add('BusyStation.wav',loop=True)
ambient.play()
You can also set the volume using the following code:
Code:
ambient.volume(0.5) #Set volume to 50%
Reply With Quote