Sound in Opengl

Can someone tell me the easiest way to implement sound in opengl. I’m not looking for anything with fancy music commands, just something that is quick and intuitive.

ARENIUS STONE (Projected completion - January 2008)


OpenAL.org

Nice! Reminds me of Ultima game :smiley:

OpenAL is used for 3D sound usually. It has a syntax similar to OpenGL.

For a very basic (and easy) approach you could use Windows API to play .wav files, although I am quite sure you won’t be able to fade out sounds (OpenAL can do that and more).

This link could be useful : http://www.codeproject.com/audio/wavefiles.asp

Good luck!!!
Cheers!
Rod

Ok, thnx :slight_smile: