You Are Here:

Community: Developer Discussion Boards

#1 Old A problem with text2speech engine (audio.say) - 2007-11-09, 22:38

Join Date: Nov 2007
Posts: 7
e_lotan
Offline
Registered User
I've tried using the procedure audio.say but it works only in English. The phone itself (N95) can read other languages as well.
What am I missing? Why can't I use other languages other than English?
This is the code I'm using:
Code:
import inbox
import e32
import audio

def read_sms(id):
    e32.ao_sleep(0.1)
    sms_text = i.content(id)
    audio.say(sms_text)
    
i=inbox.Inbox()
print "send now sms to this phone"
i.bind(read_sms)
Reply With Quote

#2 Old Re: A problem with text2speech engine (audio.say) - 2007-11-10, 16:56

Join Date: Oct 2007
Posts: 67
nlsp
Offline
Regular Contributor
You can't change much. I believe it is determined by the language set in your telephone settings control panel. Mine reads Dutch, be it with a funny french accent.

I actually tend to like it :-/
Reply With Quote

#3 Old Re: A problem with text2speech engine (audio.say) - 2007-11-10, 18:16

Join Date: Nov 2007
Posts: 7
e_lotan
Offline
Registered User
I don't think this is the case/ Mine is set to hebrew, and reads hebrew names from the contacts, but hebrew (unlike dutch or french uses different letters and I think that here lies the problem. The python interpreter shouts about ascii characters not in range (128).
Reply With Quote

#4 Old Re: A problem with text2speech engine (audio.say) - 2007-11-11, 16:51

Join Date: Oct 2007
Posts: 67
nlsp
Offline
Regular Contributor
Yeah i noticed it doesn't like unicode. Too bad :-/

Anybody found out how to set the playback volume for audio.say?
Reply With Quote

#5 Old Re: A problem with text2speech engine (audio.say) - 2007-11-11, 17:09

Join Date: Nov 2007
Posts: 7
e_lotan
Offline
Registered User
Quote:
Originally Posted by nlsp View Post
Yeah i noticed it doesn't like unicode. Too bad :-/
Do you suggest that python uses their own text2speech engine and not the built in one? Because the built in one handles hebrew smoothly.
Reply With Quote

#6 Old Re: A problem with text2speech engine (audio.say) - 2007-11-12, 14:50

Join Date: Oct 2007
Posts: 67
nlsp
Offline
Regular Contributor
Quote:
Originally Posted by e_lotan View Post
Do you suggest that python uses their own text2speech engine and not the built in one? Because the built in one handles hebrew smoothly.
On my device the messagereader application speaks with a different voice than the speach recognition/voice command response apps do. Pythons audio.say interface *seems* to use the latter.

Anybody found out how to set things like playback volume or language support for audio.say() ??

I'm not suggesting anything. Just sharing thoughts and findings.

Regards,

Niels
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
netcards - Problem with opening adapter kernj Symbian Tools & SDKs 5 2007-01-10 09:56
Problem: S60 SDK for CW in PC with .NET anttij Carbide.c++ IDE and plug-ins 1 2005-02-28 12:36
Engine class naming convention problem lauyk001 General Symbian C++ 1 2004-11-23 06:04
7210 Silent Problem MarkMckim Mobile Java General 1 2003-03-18 13:36
PJava runtime problem within Nokia 9210, Hrlp~! Nokia_Archive PersonalJava 1 2002-05-28 14:15

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