View Single Post
  #6  
Old 05-06-2009, 11:42 AM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
Ah. In that case you can just set the volume of the DirectX 3D sound.

Code:
asdfSound = noisyThing.playsound('asdf.wav')
...

#every frame
newVolume = soundVolumn(noisyThing, viewPosition)
asdfSound.volume(newVolume)
__________________
Paul Elliott
WorldViz LLC
Reply With Quote