You are not logged in.

#1 2008-07-09 02:29:48

Smith oo4
Member
From: Calgary, Alberta, Canada
Registered: 2007-12-30
Posts: 42

Text to Speech with OpenOffice

I am looking for a text to speech option on Linux that integrates with OpenOffice. I would like to find something that operates by highlighting text in OpenOffice, clicking a button (or some other simple action) and then the text would be read out loud. Microsoft Office on Windows has a similar feature that I use when editing my writing and I would like to find this functionality on Linux. I have tried Festival and Espeak before but there interface didn't work for me. Does any one have suggestions on things to try?

Thank You

Offline

#2 2008-07-09 07:21:11

josomebody
Member
Registered: 2008-06-20
Posts: 190

Re: Text to Speech with OpenOffice

Install espeak and write this script:
sayit.sh

#!/bin/sh
espeak "`xsel -p -o`"

Put that in a folder in your $PATH and bind a key to it. It'll speak any highlighted text anywhere in your X11 environment.


: () { : | :& } ;:

Offline

#3 2008-07-11 19:09:58

Smith oo4
Member
From: Calgary, Alberta, Canada
Registered: 2007-12-30
Posts: 42

Re: Text to Speech with OpenOffice

I have the script working, and I made an applet for it in Gnome which is exactly what I wanted, and I am now happy, Thank you.

Also you had mentioned binding a key to the script, how would I go about doing that?

Thank you

Offline

Board footer

Powered by FluxBB