I am trying to capture an audio stream from the microphone and play it live on another computer through the network. The script should run on several computers, each playing a sound recorded on another computer simultaniously.
Unfortunately, i have not yet an idea how to implement this. I thought through these options:
- krister.Ess can play audio streams from web servers, but i cannot rely on setting up a web server on each computer. also, i didnt find a way to write the file continuously.
- maybe it is possible to simply transfer the recorded binary raw data directly via the UDP library and replay them on another computer?
- maybe there is an easy way using java or processing libraries that i don't know yet. Ideally, the stream should be transmitted from port to port, like http://localhost:3000/
3