I have been trying to find an example of this that I could use for a couple years, I'm ashamed to admit. I would like to see a working, compileable example (most that I find online don't compile or don't actually work) of reading from the microphone, encoding the voice data in a speech-friendly encoding such as Speex, and streaming that information in real time to a Decoder which then plays the audio. I suppose this example would simply echo what is said. I would like to ultimately use this to learn to make an audio mixing chat server.
A:
Since no one has posted an answer yet, I guess the answer is to build your own free source thing out of the Java Speech API.
slipbull
2009-07-24 14:49:59
A:
look here for an example of exactly what you want with the source code. I don't think it does capture, but just the streaming. For audio capture, see here.
For encoding the audio, you probably need an external library like this.
And here is a guide to what you want using the javasound api.
Jeremybub
2009-07-27 06:01:07
A:
take a look at sphinx4 from cmu
http://cmusphinx.sourceforge.net/sphinx4/
it works fairly well and can be wired in with some other systems for that very purpose (take a look at gstreamer)
kolosy
2009-11-18 05:09:45
*sigh*. speech doesn't imply speech recognition. sorry - but this thing does work fairly well :)
kolosy
2009-11-18 05:17:00
A:
There are lot's of existing software for this and some of them with open source. For example you can check this sip webphone
alkrish
2010-03-08 21:15:43