Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Sound in Opengl

  1. #1
    Intern Contributor
    Join Date
    Mar 2006
    Location
    chicago
    Posts
    73

    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)






    zadeh

  2. #2
    Member Regular Contributor
    Join Date
    Mar 2007
    Location
    California
    Posts
    410

    Re: Sound in Opengl

    OpenAL.org

  3. #3
    Member Regular Contributor
    Join Date
    Dec 2005
    Posts
    256

    Re: Sound in Opengl

    Nice! Reminds me of Ultima game

    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

  4. #4
    Intern Contributor
    Join Date
    Mar 2006
    Location
    chicago
    Posts
    73

    Re: Sound in Opengl

    Ok, thnx
    zadeh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •