Java Sound Sucks

Yes, that is a fact, ask my cat.

If I play any sound at all, I lose 20 frames. Also, from what I can see - volume/pan/whatever doesn’t even work in windows. I read something with the JSR adding streaming blah blah, but nothing on just fixing and completing what should be there already. So wtf is going on with this.

You out there Sun? It seemed to me at one time this forum got some attention and now I see almost 0 activity. Are we going to see an acual page for this forum sometime?

Seems like all the lights went out.

ah bollocks to it, just use our OpenAL library and plonk JOrbis in there and you’re done…

Cas :slight_smile:

Assuming you can get JOrbis to work right. I still have that problem with the OGG -> WAV never returning. I hope OpenAL is better.

all openAL does is play PCM format sound buffers at particular locations in 3D space, and that’s it. Not much to go wrong :slight_smile:

If you can’t get JOrbis working have a look at my code in the Shaven Puppy Game Library - there’s a class in the CVS (com.shavenpuppy.jglib.sound.OggVorbis.java) which is what I use with Alien Flux and I’ve had no trouble with it whatsoever.

Cas :slight_smile:

Any advantage to using Ogg Vorbis as opposed to other formats?

  1. It’s free, in more ways than one; not only is it commercially free it stands for commercial freedom
  2. It’s at least twice the quality of an MP3 of the same size, and that’s very, very impressive.

Cas :slight_smile:

Cas,

Just tried the Ogg format myself. Oh, WOW. I wrote the music for my game, and saved it originally in WAV format since it had to be mixed with hardware synths as well. When all that was done I used Sound Forge, a sound editing program, to balance the levels (still haven’t got that right) and saved from there to MP3. Well, guess what, it supports Ogg Vorbis, too, and the quality is MUCH closer to the original WAV files. I’m in shock… and in love. :slight_smile:

Vorbis is great… Me and ErikD wrote a voice comm application for streaming audio over the net and the Speex version of vorbis works like a dream!