File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes I/O and Streams and the fly likes speech redirection from one app to other; changing input from mic to socket Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "speech redirection from one app to other; changing input from mic to socket" Watch "speech redirection from one app to other; changing input from mic to socket" New topic
Author

speech redirection from one app to other; changing input from mic to socket

Johny Wyenski
Greenhorn

Joined: Sep 11, 2009
Posts: 21
Hello!

I've got Skype and Sphinx4 (speech recognition engine). Skype normally sends speech to speaker. Sphinx4 normally receives speech from microphone. I'd like to change it in such a way that output of Skype would become input of Sphinx4. In other words, I've got:
( Skype -> speaker ) AND ( microphone -> Sphinx4 )
and I'd like to have:
( Skype -> Sphinx4 )
I thought it may be impossible to do it directly so it may be better thing to do:
( Skype -> socket -> Sphinx4)
I just wonder what can be this socket. I thought about using TCP or UDP socket, in other words TCP connection on localhost.
And my question is as follows: how to let Sphinx4 to receive speech from socket, rather than from microphone?
At this moment code looks as follows:


Greetings!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: speech redirection from one app to other; changing input from mic to socket
 
Similar Threads
java.net.SocketException: Unrecognized Windows Sockets error: 10106: create
Networking between a Java application and an executable launched with Runtime.exec()
Voice Recognition?
JSAPI - other languages than English; MIDlet - settings loading; JSAPI - algorithm application
running application in C on mobile phone with Android