Re: [orca-list] yasr



I followed Peters instructions and it works fine here with no errors. I'm using speech-dispatcher from git and using pulse audio.


Alonzo



On 04/26/2016 07:37 AM, Storm Dragon wrote:
Howdy,
Has this project been abandoned? The last date I can find with the project is 2002. I have made a PKGBUILD that works to install it. I can not find any license info though, I assume gpl2?
I can not get it to speek. I get errors when it tries to connect to speech-dispatcher:
2016/04/26 07:49:12 socat[9543] N accepting connection from AF=2 127.0.0.1:39948 on AF=2 127.0.0.1:6560
2016/04/26 07:49:12 socat[9543] N forked off child process 9710
2016/04/26 07:49:12 socat[9543] N listening on AF=2 0.0.0.0:6560
2016/04/26 07:49:12 socat[9710] N opening connection to AF=1 "/run/user/1000/speech-dispatcher/speechd.sock"
2016/04/26 07:49:12 socat[9710] E connect(5, AF=1 "/run/user/1000/speech-dispatcher/speechd.sock", 47): Connection refused
                                                                                                                         2016/
04/26 07:49:12 socat[9710] N exit(1)
                                  2016/04/26 07:49:12 socat[9543] N childdied(): handling signal 17
                                                                                                   2016/04/26 07:49:12
socat[9543] W waitpid(): child 9710 exited with status 1

It seems to be a pretty neat concept, but the speech interface needs some work. Would it be worth forking this project to sort of modernize it?  Peter, I remember you wrote an espeak interface for Orca a while back, could you do the same for YASR? That would solve pretty much all the speech issues pretty affectively if so.
My PKGBUILD isn't quite ready for the AUR yet, I need to do a few more things like find out which license it uses, and possibly write a systemd file for people who want to enable it at boot.
Oh, and, isn't there another console reader called Jupitor or something? Anyone got that installed in Arch, is it decent/more up to date?
Thanks
Storm
On Mon, Apr 25, 2016 at 10:56:37PM +0200, Peter Vágner wrote:
Hello,

Some quick steps describing how I am running YASR on Arch linux.

To clone and build yasr from git...

git clone git://git.code.sf.net/p/yasr/git yasr
cd yasr
rm missing
autoreconf -i
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make

I like the fact yasr is portable thus it is not necessary to install it.
You will get a binary at ./yasr/yasr
Don't run it, prepare your personal config file first.
cp yasr.conf ~/.yasr.conf
And edit the file so yasr will talk to speech-dispatcher.
These lines have to be present and other similar other synth specific ones have to be commented out:
synthesizer=speech dispatcher
synthesizer port=127.0.0.1:6560
Now start speech-dispatcher if it's not running e.g. by running
spd-say "hello world"
Now run a socat command in background that will listen on the IP / port you have configured in ~/.yasr.conf and redirect it to the user specific speechd unix socket (thx Zahary for this tip):
socat -d -d TCP-LISTEN:6560,fork UNIX:/run/user/`id -u`/speech-dispatcher/speechd.sock &

And you should get yasr talking. Nice thing is that it handles UTF-8 in terminal as it should, it is super responsive and if you are crazy, you can even run it within gnome terminal or other graphical terminal emulator.

I know this should be packaged more nicelly and patched to dirrectly connect to speech-dispatcher. I have only started using it recently and I don't yet know how to do it, so perhaps I'll try to find a better way in the future.

We have recently discussed it in slightly more details in the Sonar GNU linux support list with Kendel if you wish to look it up.

Greetings

Peter



On 25.04.2016 at 20:43 Burt Henry wrote:


Reading Peter's recommendation for an accessible raspberryPi setup I was re-reminded of yasr.
For those who have not heard of it, yasr is an old screenreader that worked, and hopefully with a bit of tlc still works both in consoles and in terminal emulators, e.g. gnome-terminal or lxterminal.
It stopped working out of the box after Ubuntu 10.04 in that distro, not sure about others.
Recently I heard a guy got it to work pretty well on apple computers' consoles, (or  wopuld that be terminal emulator windows?/sorry, no Mac experience here).
Anyway, I want to give it a try on one or more distros now. Any experiences, tips or tricks that could save me from having to reinvent the wheel as it were would be greatly appreciated.
Thanks in advance for your help.


_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org



_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org



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