You Are Here:

Community: Developer Discussion Boards

#1 Old Smile How to do text-to-speech over a phone call? - 2008-07-03, 13:26

Join Date: Jul 2008
Posts: 2
losheng
Offline
Registered User
Hi, Guys,

Is it possible to read a piece of custom message using the built-in speech engine over a call?

The reason I'm asking is because I'm intending to write a little application that will read a custom message received via SMS over the call.

I can't quite find any reference to pipe the audio output from the speech engine through the call instead of the built-in speaker.

Thank you in advance for any pointers!

ls
Reply With Quote

#2 Old Re: How to do text-to-speech over a phone call? - 2008-07-03, 14:03

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by losheng View Post
Hi, Guys,

Is it possible to read a piece of custom message using the built-in speech engine over a call?

The reason I'm asking is because I'm intending to write a little application that will read a custom message received via SMS over the call.

I can't quite find any reference to pipe the audio output from the speech engine through the call instead of the built-in speaker.

Thank you in advance for any pointers!

ls
Hi losheng and welcome to the Pys60 Dibo !

I just tested the audio.say() function on my Mobile during a call.

Thus you can have the output from audio.say during the call.

*Tested on Nokia N95 !

Best Regards,
Croozeus
Reply With Quote

#3 Old Re: How to do text-to-speech over a phone call? - 2008-07-03, 14:44

Join Date: Dec 2007
Posts: 409
Location: Tempe, AZ
Send a message via Yahoo to shubhendra Send a message via Skype™ to shubhendra
shubhendra's Avatar
shubhendra
Offline
Forum Nokia Champion
Please go through these links,

http://www.mobilenin.com/pys60/resou...to_speech_2.py

http://www.mobilenin.com/pys60/resou...to_speech_1.py


IDEAS is all they need but still they think only Genius can give them that.
Reply With Quote

#4 Old Re: How to do text-to-speech over a phone call? - 2008-07-03, 16:01

Join Date: Jul 2008
Posts: 2
losheng
Offline
Registered User
Hi, Guys,

Thank you for the welcome and the replies. But I'm not sure if I managed to expressed my question clearly: what I want to do is that one receiving an sms, the phone will make a call to a third party, and read the received sms to the person.

When i tried the following:

telephone.dial(<some_number>)
audio.say("Hi, I'm here to relay the message")
telephone.hang_up()

The words were spoken over the phone's speaker, but the receiver cannot hear the words. What I would like to achieve is to have the words read to the receiver during the call.

Croozeus: does that work as intended on your N95? I tried mine on the E90, and the voice simply wasn't piped through the call all. Is there something that I can do to bind the audio's output to the telephone module's audio input?

Reply With Quote

#5 Old Re: How to do text-to-speech over a phone call? - 2008-07-03, 16:38

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
hi losheng definitely
the code you have written is not going to work as you are calling the .say() function after that call has been established.
moreover the .say() function will make you listen the text not the person you are calling.
for making that receiver listen to the call you have to sent your data trough the carrier which is actually not possible in PyS60 as far as i know.
and moreover i will be pleased to be proven wrong.


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#6 Old Smile Re: How to do text-to-speech over a phone call? - 2008-07-03, 17:39

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by losheng View Post

The words were spoken over the phone's speaker, but the receiver cannot hear the words. What I would like to achieve is to have the words read to the receiver during the call.

Croozeus: does that work as intended on your N95? I tried mine on the E90, and the voice simply wasn't piped through the call all. Is there something that I can do to bind the audio's output to the telephone module's audio input?

Yes, It worked on my N95 ! I did the calling externally rather using the telephone module.
The text is read over the call, I am not sure if the person on the otherside can hear it, but I heard it in the call and not through the speaker.

Just tested on my E90 and got similar results.

Best Regards,
Croozeus
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Ownership of an outgoing call initiated by default phone application roji Symbian Networking & Messaging 1 2006-11-21 23:53
Problem in makeing Phone Call in 2nd edition yogesh.bhople General Symbian C++ 4 2006-11-18 09:47
Unattended conference call phone CRoedel Mobile Java General 5 2006-11-10 01:17
SX1 dialling initiates fax call instead of voice call kdinn Symbian Networking & Messaging 3 2005-08-25 07:12
Problem with recording on N6600 during a phone call. Igor Pchelko General Symbian C++ 1 2004-02-11 12:19

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia