![]() |
|
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Yes, I've tried this, but the default attenuation doesn't seem to get overridden, it still seems like the default (linear?) relationship, whereas my algorithm is slightly different. I'll check it out again next week and just double check that is what I'm getting.
Thanks. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sound Looping Problem | JMOwens | Vizard | 4 | 09-29-2010 09:42 PM |
| HRTF-based spatial audio with Vizard? | bernie | Vizard | 4 | 10-16-2008 09:58 AM |
| On click Sound Play Problems | Robbos | Vizard | 1 | 02-28-2008 02:02 PM |
| Stuttering sound | Jerry | Vizard | 1 | 06-13-2007 12:36 PM |
| sound problem | alaa | Vizard | 7 | 09-02-2005 01:13 PM |