Mixing Audio and outputting differently

I have audio coming into me from several locations, online via sockets.

I want all the audio to go through all the speakers. No problem there... However i want to mix each piece of audio received to be sent back down the other end of the socket except the user who sent the audio over.... so no feedback or audio delay/reverberation

Do I call multiple instances of Mixer? Is there an algorithm I can use? I am dealing with 8 bit 8000 samples per second audio. . . Being streamed, so I need some kind of real-time solution either creating the bits live or dynamically, or I'm not entirely sure. Any help would be appreciated.

[644 byte] By [DJHotIcea] at [2007-11-27 6:11:58]
# 1
okay maybe a little bit simpler...I want to mix two or more (up to three) audioinputstreams into one single file... I saw some demo code over at jsresource.org but it used a plugin, i'm trying to steer away from that method... Anybody have a solution?
DJHotIcea at 2007-7-12 17:18:45 > top of Java-index,Security,Cryptography...
# 2

There are no special methods in the Java Sound API to do this. However, mixing is a trivial signal processing task, it can be accomplished with plain Java code .

So manually mixing the two or more audioinputstreams using some attitional api

please visit

http://javasolution.blogspot.com/2007/05/mixing-two-audio-files-using-java-sound.html

Arunssofta at 2007-7-12 17:18:45 > top of Java-index,Security,Cryptography...
# 3
I asked if there was a way without tritonus. Is there any other solution you can offer? I have posted my sample rate and info of that sort right there. What all would be involved dsp wise?
DJHotIcea at 2007-7-12 17:18:45 > top of Java-index,Security,Cryptography...