View Single Post
Old 12-20-2011, 10:16 PM   #16
AZdave
Enthusiast
AZdave can extract oil from cheeseAZdave can extract oil from cheeseAZdave can extract oil from cheeseAZdave can extract oil from cheeseAZdave can extract oil from cheeseAZdave can extract oil from cheeseAZdave can extract oil from cheeseAZdave can extract oil from cheese
 
AZdave's Avatar
 
Posts: 25
Karma: 1028
Join Date: Mar 2010
Location: Chandler, AZ
Device: Samsung Stratosphere (coolreader), BeBook Neo,EBookman
Quote:
Originally Posted by SBT View Post
@AZDave:
...
I wonder if it is possible to implement a pause/play functionality? I can't think of a particularly good solution, sending STOP/CONT signals to festival seems the only feasible option, and I'm not sure how to do that in a sensible manner through lynx.
I'm on Holiday. My linux box at home doesn't have sound hooked up (yet). But this more or less should work. If Lynx can not handle pipes, wrapping more and festival into a simple shell script should also work.

But now you would have to hit the space bar to read a chapter. And the reading could occur mid-line.
Code:
PRINTER:TTSpause:more %s|festival --tts :80
Last Edited 13Jan2012: This does not pause the sound. It plays sound the same as not using more.

Last edited by AZdave; 01-13-2012 at 08:23 PM.
AZdave is offline   Reply With Quote