Tuesday, September 26, 2023
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2635  / 1 Year ago, sat, may 14, 2022, 1:04:49

Here is what i want to do:




  1. I want to put/run Orca as an idle process in background after booting into Ubuntu. (No problem there so far.)


  2. Now when I open up a text file or website in my [web]browser; I want to be able, to highlight text and use a keyboard-shortcut in order to invoke Orca process [see step 1], to read the selected text back to me.




My problem is, that Orca, once initialized as a running process permanently reads back everything, from mouse-over actions of buttons, to system related actions etc.. and orca-preferences doesn't come with options, to reduce and suppress this. Orca might not be the right application at all for this and a common speech-synthesis application might be even better.




  • If someone knows how to make it work that way, please help.

  • An alternative speech-synthesis "read back" option/function, like Apple offers in OS X would even be better, since there one can simply "selected text", that is invoked with Ctrl+# shortcut, or simply use say, or for text files say -f ~/input.txt -o ~/output.aiff-command to have text red back instantly!


More From » text-to-speech

 Answers
5

I found the answer here, in this comment, which does the trick in combination with festival:

(Although, these "free" speech synthesis are not even close to be as good as they ought to be!!)






wizo chocs says: March 2, 2012 at 12:49 pm



create this script xtalk



#!/bin/bash
xsel | festival --tts --pipe



  • set it executable chmod 755 xtalk

  • create a new custom keyboard shortcut, any key combo, i use ALT+X and the
    prog to run is your xtalk script

  • select the text u want read press ALT+X


[#40124] Saturday, May 14, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lintical

Total Points: 344
Total Questions: 122
Total Answers: 106

Location: Sint Maarten
Member since Mon, Oct 12, 2020
3 Years ago
lintical questions
Thu, Jan 12, 23, 03:07, 9 Months ago
Mon, Jun 28, 21, 07:01, 2 Years ago
Sat, Aug 7, 21, 04:29, 2 Years ago
Mon, Dec 5, 22, 00:03, 11 Months ago
;