![]() |
[Idea] espeak Messages?
Why did not one think to use espeak to read your new message with a long press of the camera button? Good idea bad idea?
|
Re: [Idea] espeak Messages?
Quote:
|
Re: [Idea] espeak Messages?
Quote:
To the OP: Are you referring to new SMS/IM messages? |
Re: [Idea] espeak Messages?
Quote:
I tried out espeak Time but I naturally press the button twice to unlock (habit) thus every time I was unlocking my phone it would spout off the time. |
Re: [Idea] espeak Messages?
Thank you! I didnt know how to get espeaktime to say the time, its not written anywhere (I could find!)
|
Re: [Idea] espeak Messages?
Hi,
anything new on this topic? I discovered espeak while using gtranslate. is it possible to run espeakt from the terminal? I would like to let read my new messages to me dabozz |
Re: [Idea] espeak Messages?
Here is a quick script to speak the time
Quote:
|
Re: [Idea] espeak Messages?
You would need something that could read the database file in which phone records and IM/sms are kept. I know you can see them in glogarchive but I don't know how to get espeak to read a line in the database using the command line.
|
Re: [Idea] espeak Messages?
1 Attachment(s)
I wrote simple script in perl to speak sms IM messages and time
(like espeaktime). You could try this (attached file). czech muttation is here :) http://mymaemo.cz/forum/index.php/topic,1234.0.html Download it and run in term. perl espeakxen.pl.txt Dependencies espeak zenity by root run apt-get install espeak apt-get install zenity break is CTRL+c |
Why not do it without Perl?
Without invalidating the Perl script above which reads the message, wouldn't it be simpler just to type in the command for reading the message? Just open the X Terminal window and type
sqlite3 -csv $( ls $HOME/.rtcom-eventlogger/el*db -1t | head -n1 ) "SELECT free_text FROM Events WHERE service_id='3' ORDER BY start_time DESC;" | head -n1 | espeak You do have to make sure espeak is installed. You can do it from the usual App Manager or, if you know how to gain root, run as root: "apt-get install espeak". (You don't need espeakmsg or espeaktime or whatever.) Of course, typing that 166-character line above is not that convenient, so you can stick it in a two-line shell script file that says: #!/bin/sh sqlite3 -csv $( ls $HOME/.rtcom-eventlogger/el*db -1t | head -n1 ) "SELECT free_text FROM Events WHERE service_id='3' ORDER BY start_time DESC;" | head -n1 | espeak If you name the file "ss", for example, then you just type "ss"[Enter] which is 3 characters. You can also stick it in a widget on your N900 "desk"top, so you can just tap the icon to read the most recent sms message. |
| All times are GMT. The time now is 23:33. |
vBulletin® Version 3.8.8