开发者

Looking for a sound library for Java [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. 开发者_JS百科

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

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.


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.


JOAL is maintained and available from JogAmp

http://jogamp.org/joal/www/

http://jogamp.org/joal-demos/www/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜