<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'redirecting Skype output speech to TCP socket and receiving in other a' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'redirecting Skype output speech to TCP socket and receiving in other a' posted on the 'WEB-Services / SOAP' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Thu, 09 Feb 2012 09:41:12 -0800</pubDate>
    <lastBuildDate>Thu, 09 Feb 2012 09:41:12 -0800</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>redirecting Skype output speech to TCP socket and receiving in other a</title>
      <link>http://www.programmersheaven.com/mb/web-services/410575/410575/redirecting-skype-output-speech-to-tcp-socket-and-receiving-in-other-a/</link>
      <description>Hello!&lt;br /&gt;
&lt;br /&gt;
SUMMARY:&lt;br /&gt;
&lt;br /&gt;
I'd like to create such a system: [1] Skype on mobile phone -&amp;gt; [2] Skype on server -&amp;gt; [3] plugin to Skype (3rd party application) -&amp;gt; [4] speech recognition Sphinx4. Normally Skype outputs speech to the speaker, normal behaviour of Sphinx4 is to receive speech from microphone. I need to change it so that &lt;span style="text-decoration: underline;"&gt;Skype would redirect its output sound to TCP socket&lt;/span&gt; and Sphinx4 would receive it from this TCP socket.&lt;br /&gt;
&lt;br /&gt;
I think this plugin would be server with two children - Skype and Sphinx. I would write this plugin in C#. &lt;span style="text-decoration: underline;"&gt;Can anybody give me, please, any suggestions how to do it?&lt;/span&gt; (Examplary codes for other languages than C# would also be useful).&lt;br /&gt;
&lt;br /&gt;
DETAILS:&lt;br /&gt;
&lt;br /&gt;
[2] and [3] can easily communicate with each other by sending Skype4COM commands. When the new call is established on Skype (in other words when I call from [1] to [2] and [2] automatically answers this call), plugin [3] enters OurCallStatus function. And inside this function I need to change default output of Skype sound which is set to speakers and make it to be "port".&lt;br /&gt;
&lt;br /&gt;
So there must be Skype -&amp;gt; TCP socket (on localhost) -&amp;gt; Sphinx4. I also thought about other approaches. Those are: IPC (Inter-Process Communication) and maybe some kind of usage of WinAPI.&lt;br /&gt;
&lt;br /&gt;
Why do I have to use TCP socket (Skype -&amp;gt; TCP socket -&amp;gt; Spinx4)? Because I guess it may be impossible or difficult to forward it directly. I need to change this line in code of Sphinx4 application "Microphone microphone = (Microphone) cm.lookup("microphone");" to such a line which would be able to receive speech from "port". I cannot simply save the whole speech from Skype to mp3/wav file and then to open this mp3/wav file in Sphinx4 because it must be done &lt;span style="text-decoration: underline;"&gt;in real time&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
Greetings!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/web-services/410575/410575/redirecting-skype-output-speech-to-tcp-socket-and-receiving-in-other-a/</guid>
      <pubDate>Wed, 09 Dec 2009 20:20:26 -0800</pubDate>
      <category>WEB-Services / SOAP</category>
    </item>
  </channel>
</rss>
