Jump to content

how to redirect speech received by Skype? //and Skype vs Fring

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1
johnyjj2

johnyjj2

    Newbie

  • Members
  • PipPip
  • 24 posts
Hello :-)!

I'd like to create application for mobile phone (maximum price of phone would be about 220USD, it is for Central Europe; I will be testing the application on Sony Ericsson k750i and maybe on Motorola V500). The application must recognize speech and properly react for recognized numbers (calculate control sum and respond). I'd like to use CMU Sphinx, but I still need to decide whether it would be [1] or [2]. Solution [1] is as follows: speech recognition on mobile phone (PocketSpinx) and sending results to server (post, httpconnection; I also tried Wireless Messaging API but it didn't work properly). Aprroach no. [2]: redirecting of speech from mobile phone to server (I thought about Digium + Asterisk but Digium cards are rather expensive) and speech recognition on server (Sphinx4).

I think I will choose the [2]-nd option, however I thought about different way of connecting to internet, because those Digium cards are expensive. I thought about GSM/3G or CDMA but I'm not sure whether those would be good enough to ensure real time speech between user on mobile phone and program on server.

Somebody suggested me that mobile phone with Skype would be cheap and good option. I will be using this application in the place where they've got office with access to cable internet and fax, and mobile phone would be several kilometers from the office. From my point of view, creating wireless network with some kilometers of range would be too expensive and there may be too many distortions of signal. And here I've got question for you. Let's assume I've got mobile phone. On this phone I installed Skype and the phone has access to internet (GSM/3G or CDMA). I also have got Skype and Sphinx4 on server. How should I configure it so that Skype on server can automatically receive the call from mobile phone and redirect it to Sphinx4, and server can answer from time to time to Skype? In other words: a) how to allow Skype to receive automatically call from mobile phone?, b) how to redirect speech from Skype to other application? (I also thought about Fring, which may be alternative for Skype).

Thanks very much for your answer in advance :-)!
Greetings :-)!

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I'm confused: what good does putting Skype on a mobile phone do? Or am I misunderstanding what you want to do?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
johnyjj2

johnyjj2

    Newbie

  • Members
  • PipPip
  • 24 posts
Thanks for your answer :-)!

I want to: establish speech connection between mobile phone and server. It is because I've got difficulties with using PocketSphinx on mobile phone so I decided to send speech (like during ordinary talk) from mobile phone to server and allow server to make speech recognition in real time (in Sphinx4).

But how to establish this speech connection between phone and server? I'd like to do something similar to what we do every single day while calling friend or somebody else from our mobile phones. It establishes connection between two mobile phones. I'd like to do the same, but the other user would be server, not human. The rest is the same - server would recognize the speech and answer to the user.

And my attempt to this fundamental question (about establishing speech connection in real time between phone and server) is shown in the following two points which present my ideas how to do it: 1. ordinary call from phone, received by Digium (with Asterisk) - too expensive, 2. call with the use of internet, i.e. a) wifi - too expensive to create local wireless network, b) GSM/3G, CDMA - this is why I thought about Skype/Fring.

So I think the best way to connect from mobile phone to server, would be to use mobile internet and some kind of real-time speech communicator. Now there appears the other question - how to do it :-)? I thought about Skype. However, somebody told me that Skype has got closed API so I won't be able to implement it (even if Skype, theoretically, should make my idea possible to be done). This is why I thought "what are other than Skype real-time speech communicators (but with open API)?" and found Fringe.

Summing up, am I right that there are only these three possibilities (1,2a,2b)? And how to implement this idea 2b? The most important thing is still the same, i.e. how to establish real-time speech connection between mobile phone and server?

Greetings!

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Another option: have skype on the computer and make an ordinary call to the skype computer. Not free, but not overly expensive.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
johnyjj2

johnyjj2

    Newbie

  • Members
  • PipPip
  • 24 posts
Thanks for your answer :-)! But how to capture audio from Skype and redirect it to the other application, i.e. Sphinx4? (I thought API of Skype is still closed). And how to allow Skype to receive call automatically, without need to manually receive the call?
Greetings :-)!

PS This is what I found about Skype API: API documentation - Skype Community
PS2 Does anybody use NetBeans?: http://forum.codecal...ans-errors.html

Edited by johnyjj2, 08 November 2009 - 04:05 AM.