Say I have 10 audio files (the numbers 1 to 10 read out and saved as wav files);
What I want to do, is have a servlet that generates an audio stream of these files, dynamically added to the stream one after another indefinately (so the stream would appear to loop to the end user)
What are my best steps? Does anyone have any sample code for these 2 distinct problems?
1) Joining samples together on the fly
2) Streaming this to multiple listeners from a servlet
I'm not sure if javasound will do, or if I will need JMF...and all of the JMF examples I have seen are on about "capturing streamed data" or streaming to another JMF application, not streaming to whatever tool the end client is using to listen to the stream (media player, winamp, xine, whatever)
So I was hoping someone out there would have some code/links/advice to give ;-)