Seeing Dog Puppy for Blind

What features/apps/bugfixes needed in a future Puppy
Message
Author
Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#706 Post by Trobin »

Should you have a text file that you wish made into a MP3 sound file, and have espeak installed, this will do the job

Code: Select all

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

#707 Post by Trobin »

This is an excersize to see if I can use Edbrowse to download a file. To keep the entry short, I will only list the essential bits

Commands used
b - browse internet - goto url
g - goto the first url/link on last line
w - save to file
{ } url or link

# edbrowse
b www.puppylinux.com - browse www.puppylinux.com
5549
430

29p - print to screen line 29
{Download Puppy}

g --go to Download Puppy page
18570
8422

30p --print to screen line 30
{ftp//distro.ibiblio.org/puppylinux/} | Optional! Make

g --go to above link
ftp download
ncftpget: use _R if you wantthe whole directory tree
ftp useage error

(Note - I had to install nftpd 3.20 to get this far)

# edbrowse
b www.puppylinux.com - browse www.puppy linux.com
5549
430

29p -- printy to screen line 29
{Download Puppy}

g --goto Download Puppy page
18570
8422

34p -- print to screen line 34
{http??distro.ibiblio.org/puppylinux}

g -- go to linked page
20535
creatreElement defaulty script
all.tags default script
.
6457

15p -- print to screen line 15
{pet_packages-3/} | date and time etc.
g -- go to above link
119389
creatreElement defauly script
all.tags default script
.
44096

54p -- print to screen line 54 which happens to be linked to a program
{beaver-0.27.pet} | filetype etc.

g -- go to above link - start downloading program to buffer
.
binary data
134285

w beaver.pet -- save buffer as file
134285

The file was saved in the root directory.
[url]http://speakpup.blogspot.com[/url]

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

#708 Post by Trobin »

The following is my attempt to download a text file from Project Gutenberg, an archive of freely available files located at
http://www.gutenberg.org

I tried with both Lynx and Edbrowse

With Lynx
[quote]g http:/www.gutenberg.org [enter]
(9) Book Search [enter]
Use down arrow to move to search field
Type “The Scarlet Pimpernel
[url]http://speakpup.blogspot.com[/url]

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

#709 Post by technosaurus »

I just petted a cutdown version of espeak that is < 400kb
http://www.murga-linux.com/puppy/viewtopic.php?t=72589

I also wrote a program called reader that will output a file one line at a time as both text and audio ... it will even strip the tags from html

or if you don't need to see the text at all, there is speak_files

there are a couple of other scripts in there that are designed for accessibility: speak_clipboard and speak_input
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].

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

Great thread...

#710 Post by Atle »

But way old :(

Whatever came out of this in "production"?

Doing some research on blind or visually impaired Open Source projects and came across ADRIANE(Knoppix) Vinux (Ubuntu Precise 12.04.2) and Sonar Linux.
(Debian "Wheezy")

I guess that apart from ADRIANE with its Knoppix, there are well known solutions based on Precise and Wheezy :)


As I can not compare this to ANYTHING, please let me know if anything that is great for blind or visually impaired can be used in any versions of Puppy Linux as well.

A shame this thread has been dead for so long...

Best

Atle

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

#711 Post by greengeek »

Just getting this thread on my watchlist so I can pick my way through it...

This other new thread may also be of interest:
http://www.murga-linux.com/puppy/viewtopic.php?t=88095
(early days yet but great potential)

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

#712 Post by Keef »

Ah memories...
This was the first thread I ever posted in.
And I still haven't got round to mastering Edbrowse (but I do try now and again).

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

#713 Post by Trobin »

"Way Old."

dunno if that was a comment on this thread dying out, or because I used Puppy 2.17 back then.

The following does work well on wary 5.5

A quick system that might work for you, and others , is a Puppy with Foksyfeyercore. It works fairly well with Wary Puppy 5.1.1. If it works with Lucid Puppy I have no idea.

You can get foksyfercore through this post
http://www.murga-linux.com/puppy/viewto ... 4&start=75

Install as per Mcewanw’s instructions.onfigure espeak to work with the language of your choice.

Use two windows. One for regular puppy applications.

In the other, open a terminal window, and run "ifoksy" and then “Foksy
[url]http://speakpup.blogspot.com[/url]

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

#714 Post by Trobin »

Keef wrote:Ah memories...
This was the first thread I ever posted in.
And I still haven't got round to mastering Edbrowse (but I do try now and again).
I haven'tr mastered it either.
[url]http://speakpup.blogspot.com[/url]

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

#715 Post by Trobin »

"I would suggest that only one terminal window be open, and do not close the terminal unless finished with Foksfeyer. I was unable to get the speach part working. "

I should have said that I was unable to get the speech part working after I had closed the terminal window down and then opened a new one, or had more than two terminal windows going.
[url]http://speakpup.blogspot.com[/url]

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

#716 Post by Trobin »

Don't know if anyone is still reading this, but I'm still poking around. Though my attempts, and interest, have had its ups and downs.

Wary Tiny has a few differences than earlier versions, and everything is not where I expected to find them.

When I want puppy to boot to the command line, I do so by removing the X symlink, and when I want X to work again, I merely type Xorgwizard to get it started. In the past, that has recreated the X symlink. On Wary Tiny it does not. The following bash file does work, if only in a quick and dirty way. The X symlink must be copied to the /root directory.

Code: Select all

#!/bin/bash
cd /usr/bin
cp /root/X /usr/bin/X
xorgwizard
xwin
[url]http://speakpup.blogspot.com[/url]

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

#717 Post by greengeek »

Definitely still watching. Anything that extends Puppy's usability and accessibility interests me...

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

#718 Post by Trobin »

Okay, I've uploaded speakpupcon.iso to Mediafire. Mainly because I wanted a backup of a basic concept of Speakpup. As in not on my computer. However if anyone wishes to play with it, it can be found at:

http://www.mediafire.com/download/2jjn1 ... peakpupcon

download and use at your own risk.

It is based on JRB's Barebones431 and weighs in at 65 megs.

http://murga-linux.com/puppy/viewtopic. ... 85&t=83841

It should open to a console type puppy, with a menu linking to the following programs.

1. EDBROWSE
This is a very powerful program. Created by Karl Dahl, who is blind, and, should I become blind, the program I would use. It does, however, have a very steep learning curve, which I haven't mastered. It also has a fairly active yahoo mailing list. Do a search of this thread for a lot of information, put there by Mcewanw, on how to use it. Also check the Make X apps speak thread.

2. Bash
Opens a bash shell

3. Lynx a text browser
4. Vi a text browser
5. Vifm a file manager
6. SC a spreadsheet.

Lynx, V1, Vifm, Sc, all use, or can be configured to use, vi keys for movement and other operations.

7. Irssi a chat program

8. Alpine an email program

9. Siren to play audio files

r. Reboot computer

p. poweroff

With the exception of Alpine, which I compiled from source, the iso was cobbled together using pet files located on the puppy linux forums. My thanks to the authors.

Should anyone wish to play with it, any set up will have to be done through the gui system. To get to that, press 2, at the menu, to open a bash shell. type xorgwizard and choose xorg or xvesa and set it up. If necesary type xwin to get the windowing system working. Set up what you need to set up. Use the file manger to go to /usr/bin/ and delete the X symlink. Reboot to get back to the original.
[url]http://speakpup.blogspot.com[/url]

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#719 Post by Geoffrey »

A while ago I was playing with a talking clock that I wrote which used wav files, I've created another using these files of Sneeky Linux who kindly donated his unique voice for my project.

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.

Anyway thought it might be of some interest, please try it, it could be refined more, I'm not that good at writing scripts.

Needs xdotools installed to work, I have it working in Wary 5.5, it is packaged for Carolina to download the xdotool dependency.

Get it from my dropbox https://dl.dropboxusercontent.com/u/260 ... ck-1.0.pet

Edit: re-uploaded pet, I packaged it in Wary which apparently didn't work as expected.
Attachments
sneeky-clock.jpg
(30.4 KiB) Downloaded 446 times
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

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

#720 Post by Trobin »

Did some minor testing today. To see just how far out of nthe social networking loop Speakpup users,if any exist anywhere, would be.

Edbrowse did not play nice with Facebook. Lynx and Links-2 objected strenuiusly, chiefly about ssl and certificates, but I did manage to get as far as the login pages. But no further.

Lynx did have some issues with twitter, mainly certificates, but from what I could tell, it works. Twitter works well in Links and Edbrowse.

Changed file managers from VIFM to Ytree. Which is more or less a single panel file manager, and when you use the arrow keys to highlight a file, espeak reads out the files immediately before it and the files immediately after it. Or at least bit did in the quick test I did.
[url]http://speakpup.blogspot.com[/url]

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]

Post Reply