Skip to main content
GameDev.net gamedev.net
🔒 Locked

3D Positional Audio

Started by Richy2k Jan 26, 2006 at 5:05 AM 1 replies 850+ views
Original Post
Richy2k
Richy2k
I'm finally implemented 3D positional functionality into my audio system, rather primatively albeit. The problem is, I derieved the formulae myself, for the most part, its great, gets the job done, but its a touch, well, not right sometimes. Each channel of audio is basically a microphone with a position and a direction in the 3D world. To work out the attenuation based on direction, its pretty much a dot product between the direction of the sound, and the direction of the microphone. This gives me reasonable results, but I was wondering if anyone knows of any good books, or even websites that'll point me in a better direction? I've had little luck with google this time, sadly enough. Thanks.
glSmurf
glSmurf
I recommend that you just use OpenAL ..it will do all that work for you
Richy2k
Richy2k
Been there and done that. I'm doing this as a learning exercise, and the fact that I struggled getting any DSP to work how I wanted in OpenAL. I prefer understanding how things work before I go and just blindly use them.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.