Make X apps speak text too! fokSyf Eye R (Puppy and Ubuntu)

Stuff that has yet to be sorted into a category.
Message
Author
mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

The speech synthesiser

#31 Post by mcewanw »

Of course, the output can only be as good as the available speech synthesiser. Unfortunately, e speak is all I have to work with. Better than nothing, and a limitation that a paid for quality synthsiser would fix... In practice, the package shouldn't be too difficult to modify should a better speech synthesiser become available. But I don't have one to try!

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

yasr usage help

#32 Post by mcewanw »

Sleepy though I currently am,
I just suddenly realised that I forgot to include a usage
help for yasr itself. A bit of an oversight that I will fix tomorrow.
I'll upload a new dotpet 0.9.5 with that on the menu then.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

The foksyf Eye R, Screen Environment Reader (was the SRE)

#33 Post by mcewanw »

The foksyf Eye R, Screen Environment Reader (was the SRE)
new version 0.9.5 package is now available for download; currently still in the repository folder named:

http://www.puppylinux.ca/tpp/ScreenReaderEnviro/

at Caneri's site.

See top of present thread for some details. i e .:
http://www.murga-linux.com/puppy/viewto ... 879#172879

Unfortunately, the name alteration has involved some relatively minor cut and paste documentation alterations,
some documentation file renaming, as well as some menu coding alterations.
The new dotpet menusp reflects these additions. This version has a GPLv3 license only. I'm pretty certain that all the included apps in the package are GPL of one sort or another, but it would be good if you'd check on their websites for yourself, in case I blunder in that regard!
I'm currently also developing a version compatible for the ubuntu family,
but that is taking second place in my priorities at present.

Eventually I'll put the project's documentation in some revision control system to make it easier to handle, but I'm not ready to do that at the moment. In the meantime, if you have any documentation samples of your own (or menusp customisations) that you would like to be considered for inclusion just post them in.

For the moment I'm keeping a simple notebook (along with Notecase) for noting words and phrases that I need to improve or fix to make them spoken more clearly by the speech synthesiser. It would thus be good if you could post a file with any such words/phrases etc that you notice in your testing, for adding to my own notes and todo list. You can either post such an erratum here or to:

wiakapps *AT* wiak *dot* org

The overall erratum is undoubtedly large, so I may take a while implementing all the necessary changes.
Last edited by mcewanw on Fri 07 Mar 2008, 01:13, edited 1 time in total.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

configuring yasr speech 'reader' on the fly

#34 Post by mcewanw »

I'm working on configuration issues at the moment, prior to adding some config options to menusp etc. In the meantime you may find the following info useful, if you haven't already discovered it yourself. Note that these are "aural" only configurations, for a blind user - you don't see anything happening on the screen; you have to listen to what is going on:

When yasr the speech reader is enabled you can change most of its options on the fly, including whether to echo typed text or not. Here is a short list of options I know about so far:

1. With yasr enabled, to enter the yasr options menu you should enter the key combination:

ctrl alt o

If you then press letter k it will aurally tell you the current key echo state.

Pressing the space bar cycles you through the possibilities: off, keys, word

Once you have the one you want, you should press the escape key. Yasr then announces it is leaving the options menu.

Finally, you need to save your configuration change by pressing ctrl alt s

To test the effect of what you just did, I recommend that you try typing something, for example in v i, so that you can hear what difference the new option makes. For example, if you have set key echo to "word", then everytime you have finished typing a word, the word will be echoed. If you have set key option to "keys" every key press will be echoed.

2. After pressing ctrl alt o for the option menu:

If you then press letter u it will tell you the current effect of pressing the up and down cursor arrow keys.

Pressing the space bar cycles you through the possibilities: speak line, speak character, or speak word

Once you reach the one you want it to be, press escape key to leave the options menu and save your new configuration with ctrl alt s as you did before.

3. Similarly after ctrl alt o, pressing key c allows you to alter the assignment for "cursor tracking". Again you use the space bar to cycle through the possibilities, and then press escape key and ctrl alt s to save whatever you have selected. Once again you can test the effect in v i; best to type a few lines of text first and then try moving around.

4. One special case after a ctrl alt o, is key s. This has multiple options assigned to it. Each time you press s, a different option starting with the letter s is announced. The options cycled through are:

synthesiser option, synthesiser port, shell, and, split caps.

Most of these are pretty technical and you won't want to alter them.
[Edit] Maybe you do! synthsiser option is very useful, see next post.

Again, the space bar is used to assign new preset values to whichever one you are interested in. Then you press escape and ctrl alt s to save as before.

Finally, there is another way of doing it...

Once you press ctrl alt o to change an option, you can use the up and down cursor keys to cycle through all the possible options. You can change any option thus reached by using the space bar, as before, or by using the cursor left and right arrow keys to assign a new value.

It may all sound a bit complicated, but I found either method easy once I'd tried it a couple of times and got the idea.

I'm still working on what options can be changed altogether, so that is all I know about configuring yasr at this time.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

configuring e speak via yasr: synthsiser option

#35 Post by mcewanw »

Changing the speech itself:

After ctrl alt o to select yasr options,

And pressing s until you hear "synthesiser option"

Tap the right cursor key once to hear the word "rate"
space bar (or a further tap on the right cursor key) lets you then alter
that rate (i.e. the speed of e speak speaking). If you change you mind
about entering a new value, press escape key to abort, and then continue
selecting options if you wish by pressing s (or the up/down cursor key).

Alternatively, one you first hear the word "rate", continually tapping
down cursor key will take you through all of the synthesiser options:
rate, pitch, volume, language, output module (for cases where you have an
alternative speech synthesiser to e speak), punctuation (whatever
punctuation you want spoken)

Then press escape key to leave the options and ctrl alt s to save as before.

djringjr
Posts: 157
Joined: Sun 14 Jan 2007, 21:08

#36 Post by djringjr »

I'm just reposting part of mcewanw's post above so that the links work.
The foksyf Eye R, Screen Environment Reader (was the SRE)
new version 0.9.5 package is now available for download; currently still in the repository folder named:
http://www.puppylinux.ca/tpp/ScreenReaderEnviro/ at Caneri's site.

See top of present thread for some details. i e .:
http://www.murga-linux.com/puppy/viewto ... 879#172879

Thanks

David

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

wiak.org's fokSyf Eye R development site

#37 Post by mcewanw »

wiak.org's fokSyf Eye R development site

http://foksyfeyer.wiak.org/

which points to the current host site:

http://foksyfeyer.freehostia.com/

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

fokSyf Eye R, version 0.9.6 now ready

#38 Post by mcewanw »

The new 0.9.6 includes the latest compilations of espeak and speech-dispatcher. The bug with "less than signs" not being read out in edbrowse, etc, has now been fixed.

Expanded menusp included and a new setup script, fokssetup, which should be run immediately after the dotpet has been installed. NOTE: it is important that you uninstall any previous version before installing this new one.

Best to read the provided installREADME.txt carefully and not miss out any steps.

Caneri
Posts: 1513
Joined: Tue 04 Sep 2007, 13:23
Location: Canada

#39 Post by Caneri »

Hi mcewanw,

I did a quick test of your new setup.

It seems to work well...I cheat because I am sighted but following your install guide and the menusp it's quite easy to start using your .pet for fokSyf Eye R.

Somehow I crashed fokSyf Eye R..probably because I was typing in commands and made mistakes so the program became confused..if that is possible (maybe the wrong way to say that).

Anyway..this is quite an accomplishment..WELL DONE.

Best,
Eric
[color=darkred][i]Be not afraid to grow slowly, only be afraid of standing still.[/i]
Chinese Proverb[/color]

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

fokSyf Eye R, Screen Environment Reader

#40 Post by mcewanw »

fokSyf Eye R, Screen Environment Reader

new version 0.9.7 now released

See top post of this thread for details:

http://www.murga-linux.com/puppy/viewtopic.php?t=26184

initsp now renamed to: ifoksy
menusp now renamed to: foksy
The foksy menu has undergone some major restructuring and some tidying up.
foksy now has a few simple options,
enter: foksy -? or foksy --help for brief usage details.

I'll be creating an addon for extra fokSyf Eye R compatible applications soon once I've compiled and tested some. The current "eXtra" menu item is currently just a skeleton. However, a somewhat pre-configured version of Brltty, as promised some time back, will be included in the CORE dotpet.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

BRLTTY partially pre-configured dotpet ready for download.

#41 Post by mcewanw »

I changed my mind. Since not everyone will want to use BRLTTY and since it is quite a large file (> 1 MByte), I decided to make it a standalone dotpet. Anyway, I don't have a Braille Display, so couldn't really do many tests of any conclusive sort and don't like including things in foksy CORE that haven't had a lot of testing. You will probably only want brltty-x.x-i486 if you have a Braille Display.

If you do want to try it, make sure you read my brlttyREADME.txt file first. If by chance you have a Braille Display and get it going let me know the details if you don't mind, so that I can fine tune any follow up version.

You'll find it with the foksy CORE files on Eric's (Caneri's) site
(url in top post of this thread).

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#42 Post by Keef »

I've got this latest version running on 2.14R. However initially I could not get foksysetup to run. Tried simply clicking on it, and then tried running it from a terminal, but no joy. Eventually opened it in geany (not that I would understand the contents, but I thought I'd have a butchers anyway). I remembered that you could run some files from geany so I clicked 'execute' and that did the trick.
I'm getting used to the voice - I'm sure an experienced HAL or Jaws user would have no problem with it as I've heard some people using voices that sound like a talking watch on speed. A 'natural' voice would probably be too slow and tedious for a competent computer user.
Not that it's particularly necessary for package based on speech, but I have got a terminal setup with larger font and with white text on a dark background. Could be useful for people with some residual vision
(I nicked the script from GLinaccess: http://wearcam.org/glinaccess/README.HTM - some interesting stuff here, and also at http://lists.kde.org/?l=kde-accessibili ... 828673&w=2, a linux accessibility HOW-TO, but I appreciate I'm drifting a little off-topic here)

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

foksy setup is two words.

#43 Post by mcewanw »

Keef wrote:I've got this latest version running on 2.14R. However initially I could not get foksysetup to run. Tried simply clicking on it, and then tried running it from a terminal, but no joy. Eventually opened it in geany (not that I would understand the contents, but I thought I'd have a butchers anyway). I remembered that you could run some files from geany so I clicked 'execute' and that did the trick.
In the latest version of fokSyf Eye R the command you should have entered is: foksy setup
[note that there must be a "space" between foksy and setup]
In older versions it was all one word.

Large fonts is a good idea for some. I'll look into that.

Actually, I also about to release a new version which includes cut and paste from X clipboard almost seamlessly from foksy, for those people also using X.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

fokSyf Eye R version 0.9.8 now ready.

#44 Post by mcewanw »

Make X apps speak text too! fokSyf Eye R version 0.9.8 now ready.

This version includes what I think is a very useful improvement for those running foksy in an X console (such as an xterm or rxvt):

This version includes p c (paste X clipboard) and p s (paste X highlighted text selection) into vi, (in addition to the usual middle mouse click method), for those using foksy with X.
e.g. you can use ctrl-a, on any focussed X window to select all text, and then in foksy, press p s to paste that text into vi.

Though fokSyf Eye R works perfectly well from a non-X commandline terminal, it also helps create a powerful hybrid CLI + X screen environment reader, when used alongside X application. For example, with p c and p s, foksy adds new power to users of Opera, or Seamonkey, or Firefox. Not only can the visually-impaired user use X screenmagnifiers, they can also, for example, press ctrl-a to select all text in any focussed X window, and then press p s in foksy to immediately paste that text into vi and have it thus read.
For further details and download:

http://www.murga-linux.com/puppy/viewtopic.php?t=26184

For the moment the paste facility, from the foksy menu, works only with v i. I'll probably be expanding that facility eventually. However, v i is particularly useful in this situation; using this new facility, many visually impaired users foksy will now be able to relatively easily cut and paste articles from a GUI browser into their own text documents for modification and use. This is in addition to the standard middle mouse button approach.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Make X apps speak text too! fokSyf Eye R version 0.9.9

#45 Post by mcewanw »

version 0.9.9 now released

CHANGES: Enhanced the paste from X system,
and made some major structural changes to foksy.
Tidied up a few pieces of documentation and restructured the help system.

Details and download via here:

http://www.murga-linux.com/puppy/viewtopic.php?t=26184

Clearly the next version will be 1.0.0
I'm not planning to upload that for a while now though.
I first want to test 0.9.9 more, and to port it to some
other Linux distributions
(starting with the Ubuntu family, since I have that),
which may take some time.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

re-uploaded fokSyf Eye R 0.9.9 with latest espeak 1.36.02

#46 Post by mcewanw »

re-uploaded fokSyf Eye R 0.9.9 with latest espeak 1.36.02

Sorry, didn't notice a new espeak was out until I saw a post by muggins.
(I had already upgraded espeak to v.1.35 just a few days ago!) :-)

Note: make sure you remove previous fokSyf Eye R version with PETget before installing this re-uploaded one. And check in /usr/lib to make sure the file libespeak.a has been removed (I left it in from a previous compilation by mistake in the last dotpet upload). If its there after installing this new foksy, remove /usr/lib/libespeak.a manually - it isn't needed and shouldn't be there... I expect PETget will have removed it already though.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

fokSyf Eye R 0.9.9 should be there now

#47 Post by mcewanw »

Sorry I had some problems uploading (my dialup account). The latest fokSyf Eye R version 0.9.9 should be at Caneri's site now. Remember to unistall the previous one, and it's probably best if you check the md5sum of the new one.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

bad md5sum when I tried downloading

#48 Post by mcewanw »

Nope. I downloaded the file (after uploading it), and then checked the md5sum, but it was wrong. I'm going to try again, and if it is still bad, I'll have to re-upload again...sigh.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

It is fine.

#49 Post by mcewanw »

Okay, I re-downloaded foksyfeyer from Caneri's site to test it, and this time the md5sum was correct, so the file is fine and you can confidently use it. It is always good to check the md5sum yourself on any file you download though.

i.e. entering: md5sum foksyfeyerCORE-0.9.9.pet

should give the result:

2c6d09a979512aa864a91035ff76462c foksyfeyerCORE-0.9.9.pet

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

had problem sending an email from edbrowse

#50 Post by mcewanw »

I used edbrowse to send email for the first time last night, and it works fine once set up correctly. However, first I had to fix a mistake I had made in my edbrowse address book. I described how I fixed it all up on the Speaking Dog for the Blind thread so that anyone using other 'solutions' to foksy, such as Speak-pup, might also benefit. The post I made about it is thus here:

http://www.murga-linux.com/puppy/viewto ... 854#181446

However, though I had intended leaving any further fokSyf Eye R release for a while, I've decided to release a 1.0.0pre1 release today or tomorrow, in order to fix the address book problem and make email setup a little bit easier.

Post Reply