Register
It is currently Wed Aug 20, 2014 10:21 pm

Festival and Lynx can be made to work together.


All times are UTC - 6 hours


Post new topic Reply to topic  [ 4 posts ] 
Author Message
 PostPosted: Tue Mar 07, 2006 1:24 am   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 666
Location: Des Moines, Iowa
You might look into this screen reader as well.
http://yasr.sourceforge.net/
I haven't used it, but I have used festival.

Another interesting project is
http://oralux.org/

Festival and Lynx can be made to work together....
Code:
#/!bin/bash
# Written by Crouse @ bashscripts.org
# Visit specific url with lynx and have festival read it back.
# Works best with pages that are text only, without hyperlinks.
# NOTE: Could create menu system and use sed/awk/grep to clean up pages before reading
# and allow for the script to loop.
#
# Very basic bash script that combines the use of lynx and festival
#
# Sample url:
# http://bashscripts.org/downloads/Scripts/crouse/declarationofindependence.txt
#
echo "Please enter a url to visit" > enterurlmsg.txt
festival --tts enterurlmsg.txt
read -p "Please enter a url to visit" urltovisit;
lynx -dump $urltovisit > urltemp.txt
festival --tts urltemp.txt
# Remove temp files
rm urltemp.txt
rm enterurlmsg.txt
exit


an interesting link for festival users... http://leb.net/pub/blinux/doc/blinux/my-tts-linux.txt


Top
 Profile WWW  
 PostPosted: Tue Mar 07, 2006 12:39 pm   

Joined: Fri Oct 14, 2005 9:30 am
Posts: 61
Wouldn't the following code:
Code:
echo "Please enter a url to visit" > enterurlmsg.txt

Just save Please enter a url to visit to enterurlmsg.txt ???


Top
 Profile WWW  
 PostPosted: Tue Mar 07, 2006 6:57 pm   
Site Admin

Joined: Tue May 17, 2005 7:31 pm
Posts: 251
Location: Georgia
yes it would... but he's having the machine tell the user to enter the url to visit... not just write it onto the screen


Top
 Profile  
 PostPosted: Wed Mar 08, 2006 12:09 pm   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 666
Location: Des Moines, Iowa
I was actually looking at this from a blind persons perspective..... IE: the reason for it to "ask" you to enter the url...... a blind person couldn't "see" the command.

Granted, I didn't specify WHY I did it that way though.


Top
 Profile WWW  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP