Re: [orca-list] yasr



Did you set your defaulut synth in  speechd.conf?
There is a place towards the botgtom of the file where you can set a default synth for a given language, and 
if you do this I'd think yasr would use 
this.
Make sure the synths are uncommented of course, but I reckon this is done or you'd not be able to use the 
synths with orca or where ever you are using 
them now.

-- 
     B.H.
   Registerd Linux User 521886


  Max wrote:
Tue, Apr 26, 2016 at 03:58:31PM +0300

Hi, Peter.

Thank you so much for the instructions in the mailing list "sonar",
and in this mailing list. "Yasr" works without any errors.
My question is: is it possible to somehow indicate "yasr", that he
was working with the desired me to a speech synthesizer, and not to
"espeak"? I have two more speech synthesizer, which are connected to
the "speech-dispatcher", and these speech synthesizers, much better
for me than "espeak".



Peter Vágner пишет:
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
End of quoted content


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