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



Hi.
Maybe I am wrong, but I think that pidgin does not speaks directly via orca. It uses libnotify to "force" orca to announce the new incoming text.

On 12/11/2014 08:24 AM, 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-----
_______________________________________________
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

--
[]s  José Vilmar Estácio de Souza



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