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:

fokSyf Eye R future

#76 Post by mcewanw »

I haven't been involved with foksy work for a long time, but I'm working behind the scenes on it again now.

I am currently slowly building a version for Tiny Core linux; have uploaded espeak to their repos, have a TC extension of yasr under testing, and today managed to compile speech-dispatcher for that system as well.

However, I'm not forgetting Puppy. I now have Puppy 4.2.1 with devx as well and have checked that speech-dispatcher compiles okay on it (which it does). I imagine the fokSyf Eye R version I produced (with patch) for Puppy Dingo (4.00) might work with Puppy 4.2.1 but I'm planning to produce a new version with updated programs and I'll try out some of the commandline apps Trobin used with his Speech Pup too and consider creating dotpets of some of these apps for incorporation into foksy.

I'm planning to change the fosky format though; separate dotpets rather than one big dotpet. I may also create an sfs version of it, since that should be quite trivial to arrange. Will be a few weeks till I do all this though; I'm busy with home matters right now - I will soon upload yasr and speech-dispatcher for TC and develop the Puppy version of foksy at the same time I do the one for TC - so more choice for the visually impaired and anyone else who wants speech accessibility (with or without X apps).

Note that TC now has a microcore option, which doesn't load X if you don't want it. Booting to the commandline in Puppy, on the other hand, tends to require boot script hacks/changes, which makes it more difficult to bolt such accessibility options onto official puppy's (Trobin, for example, needed to make a remaster, Speech Pup, in order to allow booting straight to the commandline). The recent official puppy has also increased the use of embedded bling.

Woof system seems promising. Perhaps there will be a non-X option? Apparently "bling" will be an option only with woof, which is great since a lot of bling and desktop clutter generally tends to be discriminatory and difficult for screen readers to handle, IMO, unless it is particularly designed to increase accessibility. I believe that Robert Shingledecker suffers from poor vision, which might be one reason why TC lends itself to this sort of application so readily.

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#77 Post by Aitch »

Hi mcewanw

Been following your work - good stuff

Would this little gem interest you at all?

http://www.plop.at/en/humanpad.html

not quite the same focus, but I don't know what connections to 'disabled people' sites you have?

[note: they also have a touchscreen driver/again, different focus, but useful enough...]

found it whilst following up on use of plop as a boot manager, for hard to boot pc's

look forward to turning on a pc, which says 'Hello Aitch, what do you want to do, today??'

Are we that far away??

Aitch :)

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

foksyfeyer 1.0.0-1 works fine on Puppy 4.3.1

#78 Post by mcewanw »

If you are setting up Puppy 4.3.1 for anyone who is visually impaired or anyone who would generally like to use a screen reader with speech output, you might find foksyfeyer useful. Though created quite a long while ago, it nevertheless works fine in Puppy 4.3.1 and includes a yasr/speechdispatcher/espeak screen reading environment and a menu driven system which provides easy keyboard access to its included inbuilt console (commandline text) applications.

The console (commandline) apps provided in the dotpet include: "nice" a great wee text editor, which works in traditional fashion including [the familiar use of ctrl-c, ctrl-x and ctrl-v] and provides a human friendly menu bar; edbrowse (another editor and also a text mode web-browser with ssl and simple javascript support, which is very powerful but a bit tricky to learn; Lynx webbrowser (with ssl and simple javascript support); sc, a spreadsheet program; krecspeak voice recorder (to ogg and mp3) and player (uses sox for functionality); and a simple inbuilt rxvt console (fonts) magnifier. The whole system has been fine-tuned and configured so everything works well together.

Installing foksy involves a few simple steps:

1. Download the following two dotpets from www.puppylinux.asia/ (login: puppy; password: linux):

EDIT: No longer at puppylinux.asia. Instead you can find the files at arkitektia.com under section Products -> Software Designs

http://puppylinux.asia/tpp/foksyfeyer/f ... .0.0-1.pet

(the above pet contains all of the above apps yet weighs in at only around 3.5 MBytes).

and a small patch dotpet so that foksyfeyer will work with Puppy 4.x series (tested on Dingo and also Puppy 4.3.1):

http://puppylinux.asia/tpp/foksyfeyer/f ... rDingo.pet

2. Actually installing the above two dotpets is enough to get foksyfeyer running with almost complete functionality. However, if you want krecspk (the voice recorder) to function, you need to install the following dotpet version of sox (other versions of sox often didn't include mp3 support, but this one does):

http://distro.ibiblio.org/pub/linux/dis ... 2.18.1.pet

You can always now read the installed help file at

/usr/local/share/doc/sreadenv/foksyinstallREADME.txt

(or read it readable online at http://puppylinux.asia/tpp/foksyfeyer/f ... README.txt

However, the following should be enough to get you going anyway ->

Brief Installation Instructions:

1. Install the above three dotpets in order.

2. Open an rxvt console and enter the command:

Code: Select all

foksy setup
3. The above command automatically creates (without further user interaction), amongst other things, an entry in the file /etc/profile.local, so you need to then reboot your system to complete the install. i.e. Reboot once you've finished doing that, and finished reading all these instructions! :-)

4. Once puppy reboots, open an rxvt console and enter the command:

Code: Select all

ifoksy
The above command activates the yasr, speechdispatcher, espeak screen reader environment included with foksy.

5. Finally, in the same rxvt console, enter the command:

Code: Select all

foksy
to get the menu of all the apps and facilities provided.

For more information, choose Help from the menu, or read the documentation files automatically installed in
/usr/local/share/doc/sreadenv

Disclaimer: like all installations I suppose, install foksyfeyer at your own risk of course!

Obviously, your underlying sound system must have been previously t ested as working (e.g. Alsamixer set up to allow play and record at sufficient volume - for recording it is usually good to set record volume to maximum and to boost it as in this thread post:

http://www.murga-linux.com/puppy/viewto ... 105#205862

EDIT: Oh... I forgot to mention that foksyfeyer comes with a GUI version of the voice recorder called wrecspk. After installation of the above dotpets you should find wrecspk as a JWM Menu item in the Category Multimedia. It is a gtkdialog frontend to krecspk.

You might find the following hot-key commands useful with foksy:

Alt-x to temporarily stop the speech
Alt-w to re-read the whole visible console screen
Alt-q if you are in the "nice" editor and want to quit out of it.
Moving the cursor down to a line usually causes that line to then be read.
Read the menu provided help info on yasr for more speech control key information.
Last edited by mcewanw on Tue 15 Oct 2013, 05:10, edited 2 times in total.
github mcewanw

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#79 Post by technosaurus »

If you just want something lite, I made a pet that will speak the text in your clipboard (using a hot key) or whatever text you pass to it - using a web based tool... GUI in the planning stages
http://www.murga-linux.com/puppy/viewtopic.php?t=49249

Code: Select all

#!/bin/sh
MYWORD=""
if [ ! $1 ];then
MYWORD=`xclip -o`
if [ ! $MYWORD ];then
Xdialog --title "Enter the text you want to hear" --editbox " " 6 99
MYWORD=$?
fi
else
MYWORD=$@
fi
seamonkey -remote "openurl(http://www.cstr.ed.ac.uk/cgi-bin/cstr/festivalspeak.cgi?voice=nina&UserText=$MYWORD,NEW-TAB)"
for best results set seamonkey to use /usr/bin/aplay to play wav files when it comes up
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

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

espeak works well with your Alt-l hotkey arrangement

#80 Post by mcewanw »

technosaurus wrote:If you just want something lite, I made a pet that will speak the text in your clipboard (using a hot key) or whatever text you pass to it - using a web based tool... GUI in the planning stages
Well there is light and there is light! :-) Foksyfeyer doesn't need to be online and run seamonkey to read text from the clipboard and it does a lot more than that... And the only "heavy" part of foksy is the 3.5 MB download and storage space on disk for it; being commandline apps the memory and general resource usage is generally tiny (even espeak doesn't consume a lot of resources on my Pent III 450MHz 256MB RAM laptop)..

However, I do like your popup (Alt-l) idea for a simple clipboard reader solution. Pity that the Festival voice synthesis demo site forbids the technique you used of accessing it directly via cgi, especially since the synthesis quality from there is so good (not surprisingly it is good though - they use a synthesised voice that would be over 100 MBytes to download and use locally!)

Rather than giving up on your great idea because of the restrictions on accessing the Festival facility, you could maybe use a different non-restricting site for the synthesis, or simply use espeak alone in conjunction with your idea, as I've described on your main thread concerning gaiksaurus/thesaurus/voice synthesis hotkey popup. I'd love to see your planned GUI come to fruition:

http://www.murga-linux.com/puppy/viewto ... 943#364943
github mcewanw

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

fokSyf Eye R version 1.0.0-1 downloadable on the web again

#81 Post by mcewanw »

EDIT Oct 2013: I've now uploaded some of my old project work including wiak and fokSy Eye R to website: http://arkitektia.com. The downloads are currently found there under Products -> Software Designs (which is also accessible from right hand pane of the Arkitektia website).

Trobin has found a use for this:

http://www.murga-linux.com/puppy/viewto ... 340#553340

so I thought I'd put the files back on the web somewhere...

Last Stable Version: 1.0.0-1

Please uninstall any old version before installing the latest,
and then run foksy setup and reboot as usual.
[Remember the space between foksy and setup].
Please read installREADME.txt in detail before installing.

You can find the last versions of fokSyf Eye R for both Puppy Linux and the Ubuntu-family Linux distributions via:

http://wiakapps.daugdog.com/wb010000.html

Refer to first post in this thread for installation details etc...
Last edited by mcewanw on Tue 15 Oct 2013, 05:23, edited 1 time in total.
github mcewanw

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#82 Post by technosaurus »

I did compile speak from the speak package down to a <400kb pet. It needs an external audio player to play (aplay works) I even hacked a script that will play in real time by using stdout as the output and piping it through aplay....best of all there are no wierd dependencies

If anyone's interested, let me know.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

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

#83 Post by mcewanw »

technosaurus wrote:I did compile speak from the speak package down to a <400kb pet. It needs an external audio player to play (aplay works) I even hacked a script that will play in real time by using stdout as the output and piping it through aplay....best of all there are no wierd dependencies

If anyone's interested, let me know.
I've not used that one, but it if you upload it to the forum somewhere I would like to give it a run.
github mcewanw

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#84 Post by technosaurus »

here is speak along with a few scripts
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

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

some old downloads available online again

#85 Post by mcewanw »

I've now uploaded some of my old project work including wiak and fokSy Eye R to website: http://arkitektia.heliohost.org. Will become http://arkitektia.com once DNS reconfiguration completed. The downloads are currently found there under Products -> Software Designs (which is also accessible from right hand pane of the Arkitektia website).

I'm currently back working with the latest version of Motion commandline Video Surveillance program http://www.murga-linux.com/puppy/viewto ... 1931578202 with a view to incorporating it in a revised version of foksy since all people (completly blind, visually impaired or whatever) could find automatic video motion detection useful... I actually planned to incorporate it in the original foksy but personal events halted that earlier work. On motion detection the program Motion can automatically start up other scripts or programs and also keep a video or image record of the motion. Should I get round to revising foksy I also hope to modify krecspk to use arecord and lame (and or ffmpeg) rather than sox/rec which it did in past. These commandline audio utilities are available by default in most recent puppies.

EDIT: The webserver is having a bit trouble with some MIME types - particularly tgz, so some of these not downloading even though there. That should be sorted out once final hosting website decided or maybe by adding some AddTypes to .htaccess file. The dotpets are all downloading fine though.
Last edited by mcewanw on Thu 17 Oct 2013, 04:38, edited 1 time in total.
github mcewanw

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#86 Post by amigo »

Can I suggest arecord instead of ffmpeg -which carries a large barrow full of dependencies. Always worth keeping a 'low profile', so to speak...

Post Reply