Right i will implement the STOP command as soon as I get some free
time.
To help fine out the voices list there are two ways to go about this
that spring to mind.
1. You can read the stdout output from the client process when run
with this command.
Command = ~/open-sapi/rockbox/client-server/rbutil-sapi-cli.tcl -e
Ouput on stdout =
297:0:Microsoft Mary:Female:English_United_States:Microsoft:Adult
297:1:Microsoft Mike:Male:English_United_States:Microsoft:Adult
297:2:Microsoft Sam:Male:English_United_States:Microsoft:Adult
297:3:VW Julie:Female:English_United_States:Voiceware:Adult
297:4:VW Kate:Female:English_United_States:Voiceware:Adult
297 = Voice List Entry : Name of Voice : Gender : Language :
Distributor : Age
Now if you do not have the skills yet to read the output from a
process you have run then I recommend trying this method.
Run the command once at startup:
~/open-sapi/rockbox/client-server/rbutil-sapi-cli.tcl -e > /tmp/
osapiv.list
This will add the list of voices as seen above into a file located in
your tmp directory called osapiv.list. You can then read this file
line by line and separate it by ":" to give you the data you want.
Then you can add this to the GUI in a suitable manner. You can also
add rate, pitch and volume to your GUI and send those commands to the
server.
Volume: 0 to 100
Rate: -10 to + 10
Pitch: -10 to + 10
I will check the latest SVN version for bugs in terms of running with
the server and client together and e-mail you as soon as i implement
the stop commend. It should only be 20 mins work. :) Then you can
download the latest svn version for your pleasure.
Little bits of work like this make for great projects in the end. A
little tools like this is a life saver for people with poor eyesight
having to read web pages all day. Don't think your work is not
appreciated as I thought that same as then someone like you comes
along and starts using it and helping out and it makes it all work
it.
Tom
On Jul 29, 10:58 pm, "Dawid L." <
laszukda...@gmail.com> wrote:
> Thank you for replay :) Sorry for delay in response, but I'm currently
> at holidays.
>
> If you could, it would be great to have that 'stop' function callable
> from outside. Well, mainly due to my lack of linux-user skills I can't
> figure out how to shut process.
>
> Python GUI, which I wrote, isn't very sophisticated. My goal was only
> to click button or press key rather than type whole command into
> terminal. I've done in about an hour (which should tell you about it's
> complexity). Nevertheless, of course I can share it. I've put it onto
> my google docs account. Here's link:
http://docs.google.com/leaf?id=0B2TX11t9b2gDZGRjZTcxMmMtMDlmOC00Y2NlL...
> , though if needed it can be placed anywhere you want.
> To run it you'll have to have python and PyQt4 module. It read paste
> text either by clicking on 'read' button or by pressing CTRL+SHIFT
> +SPACE.
> I was planning to add that "stop" button and somehow make it to
> automatically find what voices are available and put their names into
> spinBox, rather then just numbers.
>
> How am I using it?
> I've installed your open-sapi via wine, added my Ivona voices and run
> it through terminal commands. Step-by-step of how I installed all can
> be read on Polish Ubuntu Forumhttp://
forum.ubuntu.pl/showthread.php?t=128480