Seeing Dog Puppy for Blind

What features/apps/bugfixes needed in a future Puppy
Message
Author
User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#721 Post by Ted Dog »

greengeek wrote:Definitely still watching. Anything that extends Puppy's usability and accessibility interests me...
ditto... Im glad so much has been done.... May have to download and test.. my eyes are blurry due to seasonal allergies.. This has been the hardship this week resting your eyes is so boring :shock:

Finding my speaking old kindle an eye saver. Too bad that function in kindles have been downgraded..

Are there free audio books out there. some sci fi preferred.. Some old radio programs with sound effects.. for example

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#722 Post by Trobin »

Free Audio Books
http://audiobooksforfree.com/screen_main.asp

Listen Free to old radio programs
http://www.oldtimeradiofans.com/

I haven't tested the following in a while. However you can download public domain books from Gutenbergpress and use the following to convert them to mp3 audio files. You do have to have espeak installed.

espeak -f file.txt --stdout | lame - file.mp3
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#723 Post by Trobin »

Any one know where I can find a pet file of the Alpine email program. All the links I've found lead to pages that are no longer there.

Or give me (very) simple instructions on how to make one.

Thank you.
[url]http://speakpup.blogspot.com[/url]

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#724 Post by ally »


Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#725 Post by Trobin »

Thank you
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#726 Post by Trobin »

This for anyone who wants to try this on their favorite breed of Puppy. I've tried it on Puppy 2.14, 2.17, fat free 2.17. barebones 431, warytiny, and barebones wary 5.31 with varying degrees of success. Puppy 2.17 was probably the best, but time and technology moves on.

I'm doing this on a Dell Inspiron laptop. Speak3pup won't load. Maybe because I'm booting from a usb and not a cd. Puppy 42x hiccups, so that leaves pupngo out. Wary Tiny works, but after a day, or so, I can't seem to get the windows system to work again. Also, it saves on the USB stick, and that could be a problem if I wanted to use a sfs file or the devx one. Wary-5.3-barebones seems to work fairly well. Saves to my hard drive and I can get xorgwizard and xwin to work fairly easily.

Wary-5.31-barebones can be found here:
http://murga-linux.com/puppy/viewtopic. ... 71&t=83841


I tried installing Alpine and MOC from pet files, but had issues with them. I then tried Aragon's Console Application Pack. which did have Alpine and MOC included and worked. It also had weechat and Nano.
http://murga-linux.com/puppy/viewtopic. ... 61&t=43929

Foksyfeyer also works well. It installs Espeak, Speech Dispatcher and Yasr. As well as Edbrowse.

Foksyfeyer can be found here.
http://www.murga-linux.com/puppy/viewto ... 88&t=26184

the Console Applications Pack installes elinks but I like Lynx
http://www.murga-linux.com/puppy/viewto ... 16&t=44702

And Ytree is used for the file manager
ftp://distro.ibiblio.org/puppylinux/pet_packages-3/

Now comes the fun part. The following batch files must be maded executable and placed in the correct locations. And edited if necessary according to the specifics of your puppy.

Menu1

#!/bin/bash

clear
echo
echo "Speak Pup Main Menu"
echo
while :
do
echo
echo "1. edbrowse"
echo "2. bash shell prompt (enter: 'exit' to return to menu)"
echo "3. browser"
echo "4. text editor"
echo "5. file manager"
echo "6. spread sheet"
echo "7. Chat"
echo "8. Email"
echo "9. Audio"
echo "r. reboot computer"
echo "p. poweroff"
echo "make selection"
echo
read choice
case $choice in
1) edbrowse ;;
2) bash ;;
3) lynx ;;
4) nano ;;
5) ytree ;;
6) sc ;;
7) weechat ;;
8) alpine ;; <--not the happy face the number eight
9) mocp ;;
r) reboot ;;
p) poweroff ;;
*) echo "try again"
esac
done

Make executable and place in your root directory.

Spyame

#! /bin/bash
# script to start speech dispatcher AND YASR
# Starting speech dispatcher
speech-dispatcher
# starting yasr
yasr
# starting menu
exec /root/menu1

make executable and put in /usr/local/bin


Using a text editer, open the /etc/profile file and make the following changes.

Locate the following line:
"if [ ! -f /usr/bin/X ];then"

Make the following changes to that section
"if [ ! -f /usr/bin/X ];then
#v2.00r1 now support a text-mode-only puppy...
if [ -f /usr/local/bin/spyame ];then
if [ ! -f /tmp/bootcnt.txt ];then
touch /tmp/bootcnt.txt
exec /usr/local/bin/spyame
fi"

Add the following lines
" if [ ! -f /tmp/speakpup.txt ];then
touch /tmp/speakpup.txt
exec /root/menu1
fi

to the bottom of /etc/profile and resave.

You may have to edit the above to suit your puppy.

goto /usr/bin and delete the X symlink.

reboot your computer, and if everything works you should be taken to the menu.

To get back to the windowing system, type 2 to enter a bash script, and tpe xorgwizard. set it up. Then type xwin.

Have fun.

Edited to corrct false info
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#727 Post by Trobin »

Anybody have any idea how to configure and run Tmux? It's a multiplexer that Aragon put in his Console Application Pack, that looks i9nteresting, in that it would allow the user to use multiple cli sessions. What I would like it do is run my menu1 file each time a new session is opened.
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#728 Post by Trobin »

#! /bin/sh
tmux new-session -d -s speakpup
tmux new-window -t speakpup:1 -n 'Menu' './menu1'
tmux select-window -t speakpup:1
tmux -2 attach-session -t speakpup

Okay, I found my answer. The above script will run Tmux with two windows, no panes. The first window, speakpup:0, is blank, and can be used to run shell scripts, or what ever. The second window, speakpup:1, runs the menu program. Tmux will open to speakpup:1 window and run the menu.

ctrl-b p will move to the previous window
ctrl-b n will move to the nest window
ctrl-b c will open a new window
ctrl-b d will kill the session
ctrl-b w will list the windows in the current window
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#729 Post by Trobin »

I did a simple test and had the speech system work with 10 windows working. However, there are flaws. While speech is reading the contents of window A and you switch to window B the contents of window A will continue to be read. I don't know of any way to stop the reading of one window and begin reading the next.

One nice thing is that after moving to a window, the speech system will identify the window first.

Kill your way out of Trux, and you will have no voice. Period.
[url]http://speakpup.blogspot.com[/url]

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#730 Post by greengeek »

Geoffrey wrote:A while ago I was playing with a talking clock ....
The clock runs a daemon to monitor the mouse position using xdotool and the activation can be set for either of the four sides or corners of the screen, there is a delay of 5 seconds before the clock can be reactivated..
Hi Geoffrey, I just tried this and wanted to clarify how the mouse position triggers work - I have selected the left hand side bar and figured that this meant the clock would speak when I ran the mouse off the left of the screen. This doesn't seem to work for me.

I can hear the clock when I change speech duration short/medium/long and I like the way the displayed image cycles through my wallpapers, but just the mouse trigger is missing. I am on a Slacko 5.6 derivative and have xdotool installed. (I havent rebooted after installation - as this pup has no savefile and rebooting loses all changes).
cheers!

ps: even if i cant get the edge triggers working I would also like to have the clock run in the background and speak the time to me once each minute so that it can be giving me a countdown to stop me being late for work (I get distracted once I'm on the puppy forum and am always late leaving the house)
:-)

Atle
Posts: 596
Joined: Wed 19 Nov 2008, 12:38
Location: Oslo, Norway
Contact:

#731 Post by Atle »

I really hope this project is going forward to a final and maybe official release. I am not blind my self thank heaven, but I am not blind to the fact that this could be a big change for people that does not only need solution for blind or close to blind, but that can not afford the commercial ones.

And that this most probably can run on old cheap hardware makes it especially nice:-)
Atle

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#732 Post by Trobin »

The project is not yet dead, But it is on life support. depending on my interest level.

I will shortly cobble together a version based on Puppy 2.17.1. an old distro but one I've had more success with than any of the more modern distros.
[url]http://speakpup.blogspot.com[/url]

Atle
Posts: 596
Joined: Wed 19 Nov 2008, 12:38
Location: Oslo, Norway
Contact:

#733 Post by Atle »

I assume your project aims to be free as in a free beer and then it makes sense to use a old version as it can be used by less resource full people in the third word that might get their hands on some old laptop etc. Makes sense to me.

In Europe or other "wealth" places i guess they will simply buy whatever microsoft stuff that is for sale and that is not available for the rest.

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#734 Post by Trobin »

If I had been working for Microsoft and hadn't produced any more than I have with this project, I would have been fired long ago, and rightly so.

Any final product will be as free as is possible.
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#735 Post by Trobin »

This works in Puppy 2.17, 431, and Slacko 6.3.0. I therefore presume that it works in mot, if not all Puppies.

You must have xclip and flite installed.

In a file enter:

#!/bin/bash
xclip -o > text.txt
flite text.txt

save as talk and make executable

In a program, highlight text
Ctrl-C to save highlighted text to xclipboard
talk

xclip -o > text.txt will copy the contents of the xclipboard to text.txt
flite will read the contents of text.txt

If you have xcut instead of xclip, xcut -p > text.txt copies the contents of xclipboard to text.txt
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#736 Post by Trobin »

For what it's worth, the talk script does not work with console programs. However, it does a fine job with Seamonkey and Abiword.I've yet to try copying highlighted data from a console to the xclipboard. However copying data from this forum into the xclipboard and running talk in a console so I could listen to it as i read it, was a good thing.
[url]http://speakpup.blogspot.com[/url]

Atle
Posts: 596
Joined: Wed 19 Nov 2008, 12:38
Location: Oslo, Norway
Contact:

#737 Post by Atle »

have you made some approach towards organisations that are for blind people? Like to have it tested by a number of people?

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#738 Post by Trobin »

Earlier versions were shopped around o various blind oriented mailing lists. If anyone did try it no one got back to me.
[url]http://speakpup.blogspot.com[/url]

Atle
Posts: 596
Joined: Wed 19 Nov 2008, 12:38
Location: Oslo, Norway
Contact:

#739 Post by Atle »

That can mean it simply works... I had near 50 downloads of one simple spinnoff and not a word.

I think it needs to be marketed as well... Its as simple as that.

But how many percent ready is it?

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#740 Post by Trobin »

Perhaps, but it would have been nice to know that it simply worked.
[url]http://speakpup.blogspot.com[/url]

Post Reply