iDevGames Forums
3d Audio - Printable Version

+- iDevGames Forums (
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: 3d Audio (/thread-6461.html)

3d Audio - Justin Brimm - Jul 9, 2004 03:21 AM

I'm entering the CMG "Blind" Contest, and I need to use 3d audio (like what Diordna's entry does), but I've yet to find a way to do it. I would think that OpenAL would be promising, but I can't even find an API reference, let alone any samples of it in work. I've also been looking at using Quicktime, but I've yet to find anything that would help me accomplish this.

At least I have NSSpeechRecognition working, and it works great (I want to thank Kelvin for the help he provided on that one).

3d Audio - Justin Brimm - Jul 9, 2004 04:21 AM

I just realized that I can probably fake it, by writing my own system. Make a location based system, that adjusts the speaker balance and volume based on the location of the sound relative to the player. Quicktime should allow both volume and speaker balance to be changed, and everything else I can do myself.

3d Audio - wadesworld - Jul 18, 2004 08:52 PM

OpenAL will certainly work.

How hard have you been looking? I went to Google and typed "OpenAL reference" and this was the first link returned:

When you download OpenAL from CVS, there are examples included in the distribution.


3d Audio - AnotherJake - Jul 18, 2004 10:13 PM

For OpenAL:

Some main links:

I thought I got my latest OS X SDK distribution from creative just a few weeks ago but it does not appear to be there anymore. I'm sure it's available on the CVS though.

General overview of OpenAL:

More specific Mac OS X tutorial to get you started (hopefully):

And then to package the OpenAL lib with your application instead of making the user install it:

You'll wind up with a solid OpenAL base in your arsenal. It might seem a little twisted at first but it's very simple and straight-forward after you pick it up.

Good luck!

3d Audio - GioFX - Jul 19, 2004 06:14 AM

the FMOD library ( is very powerful and easy to use (it's free for non commercial use)