![]() |
|
|
|
#1
|
|||
|
|||
|
Hi, thanks for the info. I'll check out the AuSim plugin and see what I can derive from that.
Cheers. |
|
#2
|
|||
|
|||
|
What 3D sound system are you looking to integrate?
__________________
Paul Elliott WorldViz LLC |
|
#3
|
|||
|
|||
|
I'm not really looking to integrate another sound system, I just want to override the default attenuation properties with my own formula, but I still want to keep all the spatialization effects. For instance, when I move around my virtual room I need the sound to diminish if I walk behind a wall or door, etc. I have a formula that works perfectly well, I just need to be able to implement it.
Thanks. |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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 |