Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCP socket for audio transmission on localhost

Status
Not open for further replies.

johnyjj2

Technical User
Jul 28, 2009
10
0
0
PL
Hello!

I found code of simple client - server application using TCP sockets, written in C#: . It makes possible to send and receive text. What I'd like to do is to send audio from one application to the other, I don't have to have communication in the opposite direction. Can you help me, please, how to change the code so that it can send audio, not text?

In general I've got Skype and Sphinx4 (speech recognition engine). Normally Skype sends speech to the speaker and Sphinx4 receives speech from the microphone:
( Skype -> speaker ) AND ( microphone -> Sphinx4 )
I'd like to change it to:
( Skype -> Sphinx4 )
However I guess it cannot be done directly, so perhaps it should be:
( Skype -> socket -> Sphinx4 )
And now my question is how to send speech from Skype to socket. I will take care of things connected with Skype later. Now what I'd like to do is only to know how to send speech instead of text in client - server application.

Greetings!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top