maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [eSpeakCaller] Say who is calling (https://talk.maemo.org/showthread.php?t=34982)

benny1967 2010-03-27 13:03

Re: "Say who is calling"
 
Just something to play with (maybe some of you knew, I didn't until now):

espeak - and therefore espeakcaller - supports SSML (Speech Synthesis Markup Language) tags in the text if the "-m" switch is added to the command line (tab "Misc." in espeakcaller).

I now use SSML to add emphasis to certain words (the "<emphasis>"-element) or change the language within a string. (Say the English word "Sir" within a German sentence using "<voice xml:lang="en">").

The espeak documentation says:
Quote:

-m
Indicates that the text contains SSML (Speech Synthesis Markup Language) tags or other XML tags. Those SSML tags which are supported are interpreted. Other tags, including HTML, are ignored, except that some HTML tags such as <hr> <h2> and <li> ensure a break in the speech.
So you might also use some simple HTML like <hr> for breaks, if this is useful.

benny1967 2010-03-27 14:24

Re: "Say who is calling"
 
there's one thing i've always hated in the S60 speech synthesizer when it pronounced names:

i'm living in austria and most of the people in my contacts database have names that work well with a german pronunciation. however, some people have french, turkish or croatian names that sound awful when the speech synthesizer is set to german.

it would be nice if some fure version (2.0, 3.0,... ;) ) of espeakcaller could allow settings per number. like: you define all settings as you do now, but then you can add certain numbers to the espeakcaller-database and have distinct settings for each of these numbers. this would allow me to set the language differently for some callers, but it would also have the nice side effect that you could have other voices, different texts or maybe even no text at all for some of your contacts.

Kyaner 2010-03-27 15:48

Re: "Say who is calling"
 
Quote:

Originally Posted by Arto (Post 584032)
This option is still under development. Maybe in next version :)




There are basicly same options for this under "Unknown caller"-tab.

Just change "Call from %number%" and "Call from blocked number." to "Unknown caller calls" or whatever you like :)


Arto

sorry i ment to say the private number text input field

Edit. now i get it, by blocked number you mean private/witheld number

benny1967 2010-03-27 15:52

Re: "Say who is calling"
 
It's the most fantastic piece of software I've ever heard. :D

henkp 2010-03-27 16:13

Re: "Say who is calling"
 
This is one of the functions i have been missing up until now. I was in the process of learning a bit of python and dbus-stuff to get the caller-id to 'print' but you beat me to it! (and saved me the hassle of spending a week on learning it all :-) )

In short: Thanks for this mighty fine piece of software!

Kyaner 2010-03-27 16:35

Re: "Say who is calling"
 
And now it's broken :(
It just stopped working for me, i uninstalled/rebooted/reinstalled it but still nothing, it tried to speak at one of my tries but it was garbled...
Still the synthesizer works preoperly through xterminal....

Any ideas ?

Thanks in advance

benny1967 2010-03-27 18:30

Re: "Say who is calling"
 
same problem now. dont have time to investigate ATM, but it doesn't make a sound when the call comes in. test-button in the GUI works fine, though.

foobar 2010-03-27 18:56

Re: "Say who is calling"
 
this is cool stuff!

it works for me so long as there's no umlauts in the text (either directly or in the callee's name). the test from the ui works with umlauts, though.

coolice 2010-03-28 17:23

Re: "Say who is calling"
 
Hi Arto !

I had found an important "bug" i would like ot report :

Your great application is dependent on : maemo-python-device-env 1.0.0-3.

This is not an issue UNTIL an other application installed which is ALSO dependent on the same package. As soon as it happens, both application fail to operate.

If you wish to test this, simple installe e.g: smscounter widget, and here you go.

May I ask to check how you can compile or such WITHOUT this package ? I am not a programmel, but there are tons od python applictaion does not using this, so surely possible.

Many Thanks for your soonest answer,

Andrew

Arto 2010-03-28 20:43

Re: "Say who is calling"
 
I just uploaded version 0.4 to extras-devel and garage.
Changelog:
Code:

UI changes:
- Added: Option to repeat saying caller name.
  Note: This is done using SSML markup so -m flag is enabled by default

Daemon changes:
- Fixed: "eSpeakCaller still has no clue about caller name"-bug
  (Phonebook number containing spaces should work)

- Fixed: "Me speaks no umlauts"-bug
 (Umlauts & other non-ascii character should now work (finally?))

Quote:

Originally Posted by coolice (Post 585607)
Your great application is dependent on : maemo-python-device-env 1.0.0-3.

Removed depency as worked fine for me without it.

Quote:

Originally Posted by pillar (Post 584063)
@Arto: Don't forget the important feature to cancel the saying of the name IF the phone call is answered beforehand.!

Try new version. Tell if this works.

Quote:

Originally Posted by benny1967 (Post 582381)
one last thing would be to have more than one variable for parts of the name. e.g. %first% for first name, %last% for last name, %nick% for nickname, %name% for full name...

This is still under development :)

Quote:

Originally Posted by benny1967 (Post 584283)
it would be nice if some fure version (2.0, 3.0,... ;) ) of espeakcaller could allow settings per number.

Maybe in future. Might take a while so I don't make any promises :)

Arto


All times are GMT. The time now is 17:51.

vBulletin® Version 3.8.8