Understanding mixing audio with JavaSound

Hi,

So I’m learning how to use JavaSound. Nifty API, but the names are really not intuative. Anyways, things are going well. I’m playing both single waves files and single midi files with no problems.

Now comes multiples wave files. I’m build a small 2D platform shooting game and I need the ability to play multiple waves at the same time. From what I understand, I need to use a mixer. This mixer should have multiple input lines and one output lines. Kinda like a mixer in a sound system.

The thing is, I’m having problems understanding the JavaSound tutorial. Is there another good ressource teaching how to use Java Sound mixing?

Hum … no replies …

Is it because nobody uses JavaSound, or because their isn’t a good ressource out there?

One of the best resources on the net about java sound is http://www.jsresources.org

Examples, FAQ etc

Hello,

  There is no answer for this question but there is one object (interface Mixer) in java sound package that would be useful. I also have same problem of mixing the sound.

Thanks and Regards