I got JLayer to try to help me load in my MP3 clips and with much tinkering I was able to get a Player or an AdvancedPlayer created. I held on to my byte[]'s so that I could re-create Player’s when I wanted to play the sounds multiple times, but it was very slow.
I’ve read through threads here talking about creating a Clip with a byte[] to play and that that’s fast, but to do that you need the appropriate AudioFormat to make it work, and I can’t figure out how to get that. I’ve looked through all the classes in JLayer and I can’t find anything to help me.
I tried looking at JOrbis and it was so ugly to read my eyes hurt looking at the code. Same result with their webpage. So no luck there either.
Could anyone give me some advice on how to get some audio playing at practical speeds? Thanks!