Re: [orca-list] OT how to change speakup voice



Things are of course different if using speechd-up, but I think all I do on arch is change the espeak default 
voice to what ever I want. I have 
certainly not done either thing  
Peter recommends, that will inded work.
I think you should be able to make that espeakup file in /etc/speakup to get system wide prefferences that 
way.
It's been about a year since I've installed arch so don't remember, and perhaps I had to do something else 
I'm not remembering, but don't think so. 
I'll look at a debian installation later/think I still have the UK English voice that was default running 
there, so will change it and see what I have 
to do.
So, to get your  default espeak voice changed just copy which ever voice you like to default. The espeak-data 
directory is found in /usr/share/ or 
in a subdir of /usr/lib on most if not all distros. 
Here is an example using the us English voice, just change to suit your needs.
For 64bit Linux
/usr/lib/x86_64-linux-gnu/espeak-data/voices/
and for 32bit Linux
/usr/lib/i386-linux-gnu/espeak-data/voices/
will be the path to your voice files. You may need to go in to a subdir of voices to get the voice you want. 
Some may be in a less obvious subdir like 
test, others are in asia or europe.
  
So, navigate to which ever of these paths is correct for your system in a console or terminal e.g.
cd /usr/lib/i386-linux-gnu/espeak-data/voices/
and then
sudo cp en-us default
I do not remember if just logging out and back in to a console is enough to get the new voice, or if you will 
need to reboot your computer, but this can
work for any voice file you like.
Again, in some cases instead of the /usr/lib/... path you will use /usr/share/espeakup-data/voices/..., e.g. 
arch-linux and its deritives.
If you use speechd-up I think there are instructions for changing speakup voice on the Vinux wiki. If I am 
remembering wrong, write back and I can show 
you how to do the change for speechd-up, but I think only Vinux and Ubuntu users are likely to have 
speechd-up. 
Regards,

-- 
     B.H.
   Registerd Linux User 521886


  Peter Vágner wrote:
Tue, Oct 20, 2015 at 09:50:17PM +0200

Hello,

There are two ways I know of on how to make espeakup use different eSpeak
voice.

- You can kill espeakup and start it from your console as follows...
espeakup -–default-voice=cs

- Or you can create a file
~/.speakup/espeakup
and put the following into that file
default_voice=cs

I don't know how espeakup is started on debian so I can't advice what to
tweak to make it persistent.

On Arch linux I have copied /usr/lib/systemd/system/espeakup.service into
/etc/systemd/system/espeakup.service
Then I have modified ExecStart line inside that file to include
--default-voice parameter,
Finally I have refreshed systemd services and recreated the simlinks needed
to start it on boot.
sudo systemctl daemon-reload
sudo systemctl disable espeakup
sudo systemctl enable espeakup
sudo systemctl restart espeakup

P.S. speakup is not fully utf-8 aware so reading central european languages
with some cli apps is not verry usefull with this setup. It's nice for basic
system administration and / or rescue though.

Greetings

Peter


On 20.10.2015 at 15:43 Pavel Vlček wrote:
Hi,
I want to install Debian non free with speech support enabled. But when I
select Czech, I have speakup voice set to English and system dialogs in
Czech. Can I change the speakup voice?
Thanks,
Pavel V

_______________________________________________
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]