Hi,
I’ve just started out with java and coding games in java. I made a simple minded little game and wanted to have some background music for it. I originally thought to use an mp3 for it. But no mp3 support in the java sound api… but it seems in java 7, javafx is included. I don’t really want to deal with javafx, but the Media and Mediaplayer part of it did exactly what I wanted (load mp3, play mp3, allow volume control and mute, all very simple to use). It seemed to have good speed, and didn’t try to decompress the whole file at once or anything, etc.
However, when I tried to send the game to other people to test, I found that 2/3 of them didn’t have Java 7 installed on their desktops.
Should I continue using the JavaFX bits and hope for the best? (everyone will update? Maybe?) Or try using some other library? (I did bash my head for awhile with javazoom… got jlayer player to work, but not basicplayer. Downloaded some of the suggested libraries from here but have only tried tinysound so far.).
Thanks.