tags:

views:

59

answers:

1

I'm working on a OpenGL game in Java and I want to incorporate sound.

I've done some ferreting, and having some trouble finding something. I've seen that JOAL is now defunct, and there's a popular 3D Sound Engine (paulscode) which seems a bit complicated, and there were references to JOrbis but I wasn't sure it was what I wanted.

I will settle for Ogg or WAV format, it's just for a little 2D game so it doesn't have to be super hi-fi quality, just something the players can hear. I would like sound FX and also music.

+1  A: 

How should we know what you want if you don't know yourself?

For PCM encoded WAV files, you can use JavaSound directly, which is part of the standard Java API (javax.sound). For Vorbis files, there are several Java decoders available. JOrbis as you already mentioned is one, J-Ogg another and Xiph has also recently released a Java libraries for the Vorbis decoder.

jarnbjo