Not strictly an OpenGL question.3D Sound in OpenGL

Hi there,

At the moment I’m designing a 3D art gallery for a university project. I’m looking into adding some sound. (for example talking/chatter behind a door…so it sounds like others are in the next room)

I’ve tried using OpenAL but found it to be mostly unsupported now and most code examples for setting it up were from around 2003-2004.

So my question is, what resources would you recommend for implementing 3D sound? Is there a good updated OpenAL site or should I try something other than OpenAL?

Basically the simplest way of doing 3D sound the better.

If anyone could give me a few pointers that would be great.
Thanks

-Kev

P.s also it should probably be noted I might add ‘footstep’ sound when walking if the first part works out ok.

I’ve used OpenAL and found it easy to use. I don’t think there’s a much more simpler 3D Sound API around… What problems do you have with it?
Try this forum to get your questions answered:
http://old.nabble.com/OpenAL—Dev-f14242.html

I think I’m having problems linking the lib file. With openAL at the moment I have these errors.

Any pointers on linking the openal32.lib? I’m using Visual Studio 2010.

Error 3 error LNK2001: unresolved external symbol __imp__alutInit C:\Users\CURTIS\Documents\Visual Studio 2010\Projects\virtualgallery\virtualgallery\virtualgallery.obj virtualgallery
Error 4 error LNK2001: unresolved external symbol __imp__alListenerfv C:\Users\CURTIS\Documents\Visual Studio 2010\Projects\virtualgallery\virtualgallery\virtualgallery.obj virtualgallery
Error 5 error LNK2001: unresolved external symbol __imp__alGetError C:\Users\CURTIS\Documents\Visual Studio 2010\Projects\virtualgallery\virtualgallery\virtualgallery.obj virtualgallery
Error 6 error LNK2001: unresolved external symbol __imp__alGenBuffers C:\Users\CURTIS\Documents\Visual Studio 2010\Projects\virtualgallery\virtualgallery\virtualgallery.obj virtualgallery
Error 7 error LNK2001: unresolved external symbol __imp__alutLoadWAVFile C:\Users\CURTIS\Documents\Visual Studio 2010\Projects\virtualgallery\virtualgallery\virtualgallery.obj virtualgallery
Error 8 error LNK2001: unresolved external symbol __imp__alBufferData C:\Users\CURTIS\Documents\Visual Studio 2010\Projects\virtualgallery\virtualgallery\virtualgallery.obj virtualgallery
Error 9 error LNK2001: unresolved external symbol __imp__alutUnloadWAV C:\Users\CURTIS\Documents\Visual Studio 2010\Projects\virtualgallery\virtualgallery\virtualgallery.obj virtualgallery
Error 10 error LNK2001: unresolved external symbol __imp__alGenSources C:\Users\CURTIS\Documents\Visual Studio 2010\Projects\virtualgallery\virtualgallery\virtualgallery.obj virtualgallery
Error 11 error LNK2001: unresolved external symbol __imp__alSourcef C:\Users\CURTIS\Documents\Visual Studio 2010\Projects\virtualgallery\virtualgallery\virtualgallery.obj virtualgallery
Error 12 error LNK2001: unresolved external symbol __imp__alSourcefv C:\Users\CURTIS\Documents\Visual Studio 2010\Projects\virtualgallery\virtualgallery\virtualgallery.obj virtualgallery
Error 13 error LNK2001: unresolved external symbol __imp__alSourcei C:\Users\CURTIS\Documents\Visual Studio 2010\Projects\virtualgallery\virtualgallery\virtualgallery.obj virtualgallery
Error 14 error LNK1120: 11 unresolved externals C:\Users\CURTIS\Documents\Visual Studio 2010\Projects\virtualgallery\Release\virtualgallery.exe virtualgallery