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)

coolice 2010-03-26 17:58

Re: "Say who is calling"
 
Quote:

Originally Posted by thnninen (Post 583060)
Probably isn't, but it's a fix for the "eSpeakCaller says the number even if the name is defined" - bug. :D

btw,

I already tried to replace the lines:

if line.startswith("TEL"):
nr = line.split(":")[1]
if nr != None:
if nr == number:
return fname


with:

if line.startswith("TEL"):
nr = line.split(":")[1]
my_num = number.lstrip('0')
if nr != None:
if nr.endswith(my_num)
return fname

that seems to correct the "040" vs +35840 problem for me at least.

Hi !

Can you help me please, which file you had been edited exactly, and what should be in my case, where all numbers in my contacts are e.g. : + 1 (310) 6545621 please ?

Many many many thanks in advance,

Andrew

Arto 2010-03-26 23:00

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

Changelog:
Code:

  * UI changes:
  *  - Added: Voice options for volume, pitch and speed
  *
  *  - Added: Options for unknown caller
  * 
  *  - Added: Nickname support
  *
  * Daemon changes:
  *  - Fixed: "eSpeakCaller says the number even if the name is defined"-bug
  *    (Support for international phonenumbers)
  *    Thanks to Thnninen @ http://talk.maemo.org/showthread.php?t=34982&page=4
  *
  *  - Fixed: "Accented (non-ASCII) characters not working"-bug

I probably created bunch of new bugs but keep reporting them and one day this might actually be pretty good program :)


Still in development (TODO):
- Repeat saying callername (I gotta first learn python threading)
- Lower ringtone volume when speaking (I really don't know if this is even possible - still researhing)


Arto

RobertHall 2010-03-26 23:26

Re: "Say who is calling"
 
hi arto i tried the link you posted earlier and im unsure which files(s) to install...a little help please? thanks

raverpol 2010-03-27 00:07

Re: "Say who is calling"
 
Great appl man :) Thanks a lot :)

raverpol 2010-03-27 00:11

Re: "Say who is calling"
 
Quote:

Originally Posted by RobertHall (Post 583880)
hi arto i tried the link you posted earlier and im unsure which files(s) to install...a little help please? thanks

only this one: espeakcaller_0.3-1_armel.deb

F2thaK 2010-03-27 03:23

Re: "Say who is calling"
 
just tested new version and it works, but only says caller name once :D

Kyaner 2010-03-27 06:02

Re: "Say who is calling"
 
@Arto great app thank you very much for all your hard work, but could you please re-insert the text field for unknown caller you had on the previous version ?

Thanks in advance

Arto 2010-03-27 06:11

Re: "Say who is calling"
 
Quote:

Originally Posted by f2thak (Post 583982)
just tested new version and it works, but only says caller name once :D

This option is still under development. Maybe in next version :)


Quote:

Originally Posted by Kyaner (Post 584030)
@Arto great app thank you very much for all your hard work, but could you please re-insert the text field for unknown caller you had on the previous 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

pillar 2010-03-27 07:59

Re: "Say who is calling"
 
@Arto: Don't forget the important feature to cancel the saying of the name IF the phone call is answered beforehand. I have this app that switches automatically to speaker and people are confused when at the start of the phone call hear their own name! Even worse, with the old version it started saying the number.. Great advancements though, it's really coming together fast!

F2thaK 2010-03-27 10:50

Re: "Say who is calling"
 
haha thatd be weird, hering ur own name!!?!?

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

pabloniss 2010-03-28 20:58

Re: "Say who is calling"
 
I missed this:) but when I turn on the looping, the program pronounces the name of the caller after the end ring...:eek:

Kyaner 2010-03-29 03:48

Re: "Say who is calling"
 
Still not working for me :(
I did the update, rebooted, but is till refuses to speak...

Can someone tell e how to remove everything so i can do a fresh install ?
Through the purge command i mean.

Thamks in advance.

Arto 2010-03-29 07:46

Re: "Say who is calling"
 
Quote:

Originally Posted by Kyaner (Post 586180)
Still not working for me :(
I did the update, rebooted, but is till refuses to speak...

Can someone tell e how to remove everything so i can do a fresh install ?
Through the purge command i mean.

Thamks in advance.

Only config files in (home)/.espeakcaller are left when uninstalling.
You could try removing these files with command "rm -r .espeakcaller" from console.
Also you can try manually starting deamon from console typing "python2.5 /opt/espeakcaller/espeakcaller-daemon.py". This might also give helpful debug messages.

coolice 2010-03-29 09:23

Re: "Say who is calling"
 
Quote:

Originally Posted by Arto (Post 585869)
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?))


Removed depency as worked fine for me without it.


Try new version. Tell if this works.


This is still under development :)


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

Arto


Hi Arto,

- I had been updated to 0.4.
- CONFIRMED : I can uninstall that python dev package, not anymore dependent.

BUT PROBLEMS :

1. Every time when phone reboot "eSpeakCaller daemon enabled" checkbox gets OFF.

2. Even if this checkbox ENABLED, espeak caller NOT working. In detail :

TEST is working, but when somebody calls, name / number not said. Basically it is just ringing, thats all. Test numbers and names I tried with :

Name Displayed : "Bakos Andrea - Pocok"
Full name is in : lastname field
Number behind : +36 (20) 658235

AND

Name Dispalyed : "Démi Zsolt"
Full name is in : lastname field
Important : special ancent char in display name !
Number behind : +36 (30) 6678549

Can you be so kind to have a look why it not working ?

Many Thanks for your time and help,

Andras

F2thaK 2010-03-29 09:32

Re: "Say who is calling"
 
works GREAT for me this app, repeat and all :D thanks

HRZ 2010-03-29 09:35

Re: "Say who is calling"
 
Quote:

Originally Posted by f2thak (Post 586411)
works GREAT for me this app, repeat and all :D thanks

how do you get it to repeat? command or something?

F2thaK 2010-03-29 09:40

Re: "Say who is calling"
 
in the 'repeat' tab after you update

F2thaK 2010-03-29 10:40

Re: "Say who is calling"
 
Nokia N900 eSpeak Caller + Call Notify App
http://i1.ytimg.com/vi/lXPVfMgaUec/hqdefault.jpg

WhiteWolf 2010-03-29 10:45

Re: "Say who is calling"
 
I could install the v 0.4. Great GUI.

Now, does not work when receiving a call.

Nota: espeakcaller-daemon está en memoria de ejecución.

Natan_xy 2010-03-29 11:31

Re: "Say who is calling"
 
Hi Arto, i have this problem:
1) the program pronounces the name of the caller after the end ring (random)
2) every time when phone reboot eSpeakCaller turn off

Anyway, I really appreciate your works!!! :)

thanks in advance.

Kyaner 2010-03-29 11:52

Re: "Say who is calling"
 
I did a complete uninstall, removed config files and did the installation once more, now it works fine :)

Thanks Arto

WhiteWolf 2010-03-29 13:43

Re: "Say who is calling"
 
Mostrar forma romanizada
I found the problem.

If write characters tilde, eg "número", not warns calls. If the delete is working properly.

Is it complicated to solve this problem?

I'm using the Spanish language

radiosw 2010-03-29 13:46

Re: "Say who is calling"
 
Sorry still noob. Downloaded file how do I open it? And well done to those working on it!

Kyaner 2010-03-29 13:53

Re: "Say who is calling"
 
Quote:

Originally Posted by Arto (Post 586294)
Only config files in (home)/.espeakcaller are left when uninstalling.
You could try removing these files with command "rm -r .espeakcaller" from console.
Also you can try manually starting deamon from console typing "python2.5 /opt/espeakcaller/espeakcaller-daemon.py". This might also give helpful debug messages.

And now it stopped again.....
I runned the daemon manually and all i got in the terminal was "Segmentation fault"

It might be somehow related to using my bluetooth headset cause it only stopped working after i disconnected and shut down bluetooth on both occations, or it might just be a coinsidence....

Any ideas ?

Thanks in advance.

EDIT: Ok i can safely confirm this bug.
If bluetooth headset is connected, the program works perfectly.
Once i disconnect the bluetooth headset it stops working and i get the segmentation fault on the terminal.

This bug is not much of a bother for me cause i mainly need the espeakcaller when i do have my bt headset connected and the phone sitting in a pouch on my belt, so that i know who is calling without taking the phone out to check.

peyob 2010-03-29 13:58

Re: "Say who is calling"
 
Hi Arto, i note this :
- it's ok: The phone rings, I wait to hear caller name and I answer.

- it's not ok when I answer immeditly before to hear caller name. Then, the program pronounces the name of the caller after the end of call (and repeat, repeat...).

- every time when phone reboot eSpeakCaller turn off

fred123 2010-03-29 16:53

Re: "Say who is calling"
 
The app is not auto started on bootup.

@Arto
you could try this

in /etc/event.d/

create file espeakcaller-daemon
Code:

console none

start on started hildon-desktop

exec /usr/bin/python /opt/espeakcaller/espeakcaller-boot.py

in /opt/espeakcaller/

create file espeakcaller-boot.py
Code:

#!/usr/bin/env python
# autostart espeakcaller-daemon on boot

daemonFile = '/opt/espeakcaller/espeakcaller-daemon.py'
pidFile = '/tmp/espeakcaller_pid.txt'

proc = subprocess.Popen("python2.5 " + daemonFile + " &", shell=True)
   
pdFile = open(pidFile, 'w+')
pdFile.write(str(proc.pid + 1))
pdFile.close()


clooak 2010-03-29 18:02

Re: "Say who is calling"
 
How do I install these freshly new files aka the updates :) I can't seem to find it in devels catalogue.

benny1967 2010-03-29 20:24

Re: "Say who is calling"
 
I don't 'see' it either, although it's clearly there when you access the repository from your browser. - strange. might be one of the things that come with the new PR 1.2 infrastructure that's already implemented in the autobuilder, who knows... or else the packe is just broken ;)

clooak 2010-03-29 20:28

Re: "Say who is calling"
 
Quote:

Originally Posted by benny1967 (Post 587256)
I don't 'see' it either, although it's clearly there when you access the repository from your browser. - strange. might be one of the things that come with the new PR 1.2 infrastructure that's already implemented in the autobuilder, who knows... or else the packe is just broken ;)

In which of the devels is it in, link?:), seems like noone else has this problem with not finding it.. odd

benny1967 2010-03-29 20:48

Re: "Say who is calling"
 
http://repository.maemo.org/extras-d.../espeakcaller/

contains a version 0.4 which i dont see in the application manager


All times are GMT. The time now is 08:45.

vBulletin® Version 3.8.8