Re: [orca-list] beginning work on an NVDA like controller



You'd have to build a Say function into the Orca code and a display function for the braille that allows you 
to pass arguments to it then.  You would then need to find a way to get at the notification text.  Something 
like:

while MessageText = true {
Say (MessageTextContents);
Display (MessageTextContents);
}

The hardest part will be filling the MessageText and MessageTextContents variables.  This is where an api 
would come in handy or you can OCR the text on the screen I guess and then have the OCR engine return the 
results.  Probably want a container for them like a vector so you can hold multiple values in some sort of a 
history.  Probably want some sort of timer for how long the message appears on the braille display function 
too.   Again, this is pure conjecture on my part.  Just doing some brainstorming.  You'll probably get 
suggestions a thousand times better from more accomplished and experienced coders than your humble servant.

Hth,
Alex M

-----Original Message-----
From: orca-list [mailto:orca-list-bounces gnome org] On Behalf Of Storm Dragon
Sent: Thursday, December 11, 2014 12:38 PM
To: Orca-list
Subject: Re: [orca-list] beginning work on an NVDA like controller

Hi,
The reasons for being able to send stuff through orca itself is that people have their speech set the way the 
like it, and presenting info this way would use those settings. usually if you send stuff through spd itself, 
you get that slow laggy speech that's also probably in a different accent or language than they may want.
Also, some people may be using braille instead of speech, and orca could present the info in their chosen 
medium, where as spd is limited to speech only.
finally, this seems to be a standard feature in pretty much every other screen reader ever made.
I would personally like a command line flag to do the same thing, instead of an api, so that scripts could 
easily present things with Orca as well, e.g:
orca --present-text "hello world"
would cause Orca to say "hello world".
On Thu, Dec 11, 2014 at 12:31:20PM -0600, Alex Midence wrote:
Hmmh, how about a system call to spd-say to make some text be spoken.  You would be bypassing Orca 
altogether and using Speech-dispatcher.  I don't know Python but, here is some pseudocode for what I mean:

String notification;
Function TalkToMe (Notification) {
System(spd-say 'notification');
}

Admittedly, it's influenced by my smattering of c++ but, hopefully, you get the picture.
Hope this makes sense,
Alex M


-----Original Message-----
From: orca-list [mailto:orca-list-bounces gnome org] On Behalf Of 
Joanmarie Diggs
Sent: Thursday, December 11, 2014 6:52 AM
To: Halim sahin; orca-list gnome org
Subject: Re: [orca-list] beginning work on an NVDA like controller

On 12/11/2014 11:24 AM, Halim sahin wrote:
https://mail.gnome.org/archives/commits-list/2014-June/msg01039.html
Afaik this functionality allowed other apps to use orca for speech output.

Actually that code was not implemented, let alone being called. So even if it were not removed, other apps 
could not use Orca for speech output.

Having said that, Orca is a screen reader; not an app that others can use to make their app speak whatever 
they want. So if the functionality being proposed is screen-reader functionality, it should be included in 
Orca. If the functionality is not screen-reader functionality, then Orca should not be used to provide it. 
If the latter is the case, and the problem is just wanting consistent voice settings, Orca can expose those 
speech settings.

Hope this helps.
--joanie
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at 
http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org Find out how 
to help at http://live.gnome.org/Orca/HowCanIHelp

_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at 
http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org Find out how 
to help at http://live.gnome.org/Orca/HowCanIHelp

--
Powered by Arch Linux! I am registered Linux user number 508465: https://linuxcounter.net/user/508465.html
My blog, Thoughts of a Dragon: http://www.stormdragon.tk/ get my public PGP key: gpg --keyserver 
wwwkeys.pgp.net --recv-key 43DDC193 Follow me on Pump.io: http://microca.st/stormdragon2976 "They called me 
the leather apron, they called me Smiling Jack. Then they prayed to the heavens above that I will never ever 
come back"
Lordi - Blood Red Sandman
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org Find out how to help at 
http://live.gnome.org/Orca/HowCanIHelp



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]