Total members 10261 | Gratitudes |It is currently Wed May 23, 2012 9:49 am Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 4 posts ] 
Author Question
 Question subject: [Java][C#][Skype][WinAPI] simple plugin for Skype, sound red
PostPosted: Mon Dec 07, 2009 11:35 pm 
Offline
Newbie
User avatar

Joined: Sat Nov 28, 2009 11:45 am
Posts: 3
Has thanked: 0 time
Have thanks: 0 time

Hello!

I'd like to call from mobile phone with Skype to server with WinXP and Skype. Skype on server would be sending sound for speech recognition in application Sphinx4. In order to enable communication between Skype and Sphinx4, I need to develop plugin for Skype, i.e. so-called "3rd party application" (which would be in C#). I would do it with the use of Skype4COM, a little bit using SEHE and this: http://forum.skype.com/index.php?showtopic=260361&st=0&p=1158301&#entry1158301 .

In the example from link above there is a function OurCallStatus, called every time when the status of call is changed (https://developer.skype.com/Docs/Skype4COMLib/ISkypeEvents). So as I understand (I hope I'm not mistaken) only at the beginning and end of the call. I'd like this function to change default output of Skype sound from speakers to something like "port" (after first call of function OurCallStatus). Second (last) call would restore default behaviour of Skype output. Later in my application for Sphinx4 (it would be in Java), at the beginning of main function I will need to change line "Microphone microphone = (Microphone) cm.lookup("microphone");" to such a line which would be able to receive sound from this "port" to which I would be redirecting output of Skype, instead of speakers. (The whole code of examplary file HelloWorld.java can be found in Sphinx4 here: https://sourceforge.net/projects/cmusphinx/files/sphinx4/1.0%20beta3/sphinx4-1.0beta3-src.zip/download).

And my question is as follows: What can be this so-called "port"? How to implement such a "port" in C# and use in Java? I thought that WinAPI may be somehow helpful. More information about plugins for Skype here: http://forum.skype.com/index.php?showtopic=464711&st=20&start=20 . Main idea of my plugin here: http://images38.fotosik.pl/230/e4cdc1e83a11a77d.jpg .

Greetings!


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: [Java][C#][Skype][WinAPI] simple plugin for Skype, sound red
PostPosted: Wed Dec 09, 2009 8:01 pm 
Offline
Newbie
User avatar

Joined: Sat Nov 28, 2009 11:45 am
Posts: 3
Has thanked: 0 time
Have thanks: 0 time
Hello!

I found that it should be possible to do it with the use of ordinary TCP socket or with IPC (Inter-Process Communication -> look at wikipedia for more info).

I think that solving my problem with the use of TCP socket shouldn't be difficult because it is rather well-known term. May I ask you for any advices, please?

Greetings!

PS Let me summarize what I want to do. I'd like to create plugin for Skype. Normally Skype sends received speech to speakers. I'd like it to send it to the other application. This other application is speech recognition engine. I thought it can be done through some kind of port. So it would be not: Skype -> speaker AND microphone -> Sphinx4. But it would be: Skype -> port -> Sphinx4 and vice versa. I am more or less familiar with creating plugins for Skype (3rd party applications).


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: [Java][C#][Skype][WinAPI] simple plugin for Skype, sound red
PostPosted: Fri Dec 11, 2009 12:35 pm 
Offline
Mastermind
User avatar

Joined: Tue Mar 27, 2007 10:55 pm
Posts: 2279
Location: Earth
Has thanked: 39 time
Have thanks: 61 time
thanks for sharing .

_________________
Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: [Java][C#][Skype][WinAPI] simple plugin for Skype, sound red
PostPosted: Mon Dec 14, 2009 5:46 pm 
Offline
Newbie
User avatar

Joined: Mon Dec 14, 2009 5:37 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
Wow thanks for the great info.


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 4 posts ] 
Quick reply


  

 Similar topics
 video chat application in java
 navigating to database using java
 java mobile apps
 need help in java
 Read your gmail using Java code
 Java Programing to communicating port parallel
 Simple Light
 Java Chat
 Steganography in java
 java code for listing folder contents from remote folder

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: Google Adsense [Bot] and 2 guests



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team