Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Multiple Sounds

Tags:

java

audio

I'm working on a Java RPG. And now I want to play background music and other sounds when needed. For example a door opening sound. How can I play the background music always and sometime the sounds?

like image 214
bw2801 Avatar asked Oct 06 '22 13:10

bw2801


1 Answers

OpenAL is probably what you are looking for. Bindings are provided by several projects like:JOAL and the Light Weight Java Game Library.

like image 198
Eelke Avatar answered Oct 10 '22 03:10

Eelke