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



Hello,
Oh sorry. I am now getting afraid you are now taking what I have posted as a definite solution. So I think I'll just comment more on this. What I have done is that I have imagined how it might look like to take NVDA and NVDA controller as an example transfer it to linux taking analogous functionality into use. There are various other possibilities e.g. the approach which has just been removed a while ago. I think a while ago someone had a prototip of chromevox speaking through orca this way. Also for GUI apps it is not a good idea to speak through orca. instead exposing events through at-spi is the way to go i.e. the way pidgin does this. Orca sees an event and it knows when to read incoming text.

If there was direct synthesizer support in orca this would make some sense but now we have to use another backend like speech-dispatcher and it works fine. For example on my HTPC computer at home I am using orca through speech dispatcher for accessing the desktop, web etc and XBMC with an addon called XBMC TTS what basically makes XBMC kind of self-voicing app also speaking through speech-dispatcher. It can for sure be improved. What I am about to say that it is a good idea to improve accessibility for desktop apps by doing it the right way where it's possible and let true self-voicing apps speak through speech dispatcher until orca can speak through synthesisers directly.

BTW while reading speech orca module I have came accross reference to sounds and I am starting to believe this is a piece of puzzle I was missing in order to understand how to make beep for progressbars.

Greetings

Peter

On 11.12.2014 at 11:24 kendell clark wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

hi
I think I've partially answered my own question. If you try to import
orca modules, particularly orca.speech, orca will freeze until you
close the window containing python. Now I have another question. How
in the world would I write an orca controller  with dbus? The only
application I know automatically speaks new incoming text is pidgin,
and I don't understand how it does this. Joanie, can you help at all
with this? Ideally since you're one of the orca devs you could write
it but I will not ask that, since you're busy with enough things, but
some pointers might help. I'm totally lost here.
Thanks
Kendell clark


kendell clark wrote:
hi This is way, way over my head. Sigh, and I thought this wouldn't
be too difficult. Is there any reason why you can't import orca
modules directly? It's python code, so should be straightforward.

I cannot write c code, and experience has shown me no one else
here will do it, so if I can't figure this out this might not
happen. I basically want orca to speak. If I have to use dbus, I
can, but c or c++ is way out of my skillset Thanks Kendell clark

Peter Vágner wrote:
Hello, Well I am afraid this is not as easy as it originally
appears. If you are about to access and use orca functionality
from other projects you can't import orca modules. Probably the
most linux like approach would be writing a dbus interface in
orca and a small library preferably coded in pure C interfacing
to orca through dbus.
I think this might be considered translating what NVDA and NVDA
controller library do on Windows to use linux specific
technologies for the same task.
Greetings
Peter


On 11.12.2014 at 08:34 Krishnakant Mane wrote:
Again the same issue honting. Documentation. happy hacking.
Krishnakant. On 12/11/2014 04:32 AM, kendell clark wrote:
hi all I'm just now beginning work on what I hope might
eventually become part of orca, a shared library for applications
to speak through orca. I need help though. I haven't gotten much
further then the comments at the moment. I've been browsing
through the orca code, and I can't figure out how to load orca's
user settings and tell orca to speak. I want this library to be
able to speak in whatever rate, pitch, voice, etc the user has
set up. Yes I can use speech-dispatcher to do this but the point
is to have orca do it, so it's more ... not sure what the word
is, seemless? You don't have voxin speaking and suddenly espeak
breaks in with a friend logging in or a new email, etc. Can an
orca developer or someone who knows orca reply back? I don't
expect the code written for me, but I don't know which files to
import, and how to load orca's user settings. If I can figure
that out, then I can just call speech.speak(message). I think
that's it, I may have to look at the code again. I'm writing this
for the tintin alteraeon pack, but if it gets good enough I
eventually want this to be a shared library, that any application
can use to speak through orca. I haven't forgotten about the
progress bar beeps either. That's turning out to be harder than I
thought, I'm still trying to figure out how to do it. Does anyone
know which files handle the progress bars? I've looked in a
couple of places that sounded likely, speech.py,
event_manager.py, but no luck so far. Any help would really be
appreciated, I just need some pointers. Thanks
_______________________________________________ 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJUiXDCAAoJEGYgJ5/kqBTdNhYP/1Z2lefjouCa7zXFdTTz09wU
Rpmm/recP43T+c5ktE1RmDDhOKE31471Occderp1n0Kw/rvyqZJTAhunl7s/Ex/U
ZSc+hm3i3NamdIRRXQ/I/Y5nQAiYrMVgk27fk4Oe8/V4amMSSQT2QuFXHteOeDBT
lSOd2/evzpgk7RAS+j2+/rN1wqiWg2tDWkaozwjhAZtLvzgQenBY/nEbMk+zGC6Q
Qt2n2GOILcn1Z8XPiwxUyHLgrjsKByUxcd1Xrd8mEHbYqZl46N6fS3mSG4/p73fJ
NZ3wj7cfrj9kzOfqD+sr1npIWkmXNpZGxiBULTJriVig9y1F7bR3YuDOOcKVJA9Q
rtM8K6eQZpz0u0f3kzQvMAYAv4VEgbAcEwHRI7YnN+rBYwbxgx05jEwzbpT6PNtP
i+I9KFcgSBY52WtFUoDH99gA+ubK3gGsS0y1wkGgBGiQmBjtg9p85KKabA753fW0
W6w/XMeZ4JlV4Xef75vjOJC9Pi1ElxXOCF/+w0CmdmHNFaJE49LTBvNS1CuQcL2H
vrMal//4dnK7bSW5qyeR4tBdeCfOn4SIyc/RB2k1NjgsMELes+m9cTr+JeesnKmq
BWQvsUIpDRYEN204sYwfvLUw/Qlu14KGwSm4SjApgpqOth5HpjraUsjjux7604sm
8sfawRcoxnCjMzOLZdky
=Vahq
-----END PGP SIGNATURE-----



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