Re: [orca-list] TTS choices? Don't worry, not Voxin



Hi, Didier:

Synopsis: Your advice works, but there are issues, mostly with espeakup.
I've left them here for completeness. With your permission I'll repost
that section to the Speakup list.

Details below.

Didier Spaier writes:
Hi Janina,

Le 04/07/2018 à 16:35, Janina Sajka via orca-list a écrit :
So, an update to the below ...

Yes, I was able to build and successfully install espeak-ng on my X86_64
Arch desktop machine. Unfortunately, only fenrir seems happy with the
updated espeak.

Orca won't work, even with speech-dispatcher-git installed.

Hmm... 
What says:
grep grep ^[^#]*DefaultModule /etc/speech-dispatcher/speechd.conf
It should be now:
DefaultModule espeak-ng
If it is still
DefaultModule espeak
please update this file.


Exactly the problem. It was still set to espeak.

Only libao works, though. I cannot get either pa or alsa to work. That
being said, Orca is working well with speech-dispatcher-git and
espeak-ng. No complaints here.

The same apply to your user's config file it you did set one:
grep ^[^#]*DefaultModule ~/.config/speech-dispatcher/speechd.conf

I didn't have this, so no issue here.


Speakup won't work, and espeakup-git won't build with a similar error,
i.e. -lespeak not found.

Not a big issue.
Reinstall espeak-ng, then either edit the make command
of the PKGBUILD here:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=espeakup-git
si it becomes
make LDLIBS='-lespeak-ng -lpthread'
or edit the Makefile in the SLKBUILD,
inserting before the "make" line, in the build() function these lines
sed "/LDLIBS/s/.*/LDLIBS=-lespeak-ng -lpthread/" Makefile > dummy
mv dummy Makefile

I don't know what is the recommended  Arch way, sorry I never
used Arch.

The Arch tools that allow for building Arch User Repository (AUR)
applications like espeak-ng, speech-dispatcher-git, espeakup-git, or
orca-git provide an easy mechanism for this situation. One is prompted
to choose editing the build and install files early in the process, so I
was able to add your code immediately above the make } directive in the
build file and all worked as expected from that point.

However, espeakup-git is not all that usable. I will leave this
configuration working for now in case someone has some good suggestions.

Problems noted so far:

1.      The post installation guidance printed to screen by espeakup-git
install is not working for me. Enabling espeakup@user does nothing. In
order to get speech output, I have to enable espeakup explicitly, and
sometimes run a 'sudo systemctl restart espeakup' after logging in.

2.      I discovered systemctl start speakupconf is assuming an
/etc/speakup directory with relevant data. I had to puruse journalctl to
discover this. Shouldn't this be checked on speakupconf install?

2.      espeakup-git is honoring the default card directive in
*       /etc/asound.conf. This is new. The shipping espeakup, as all
*       previous incarnations, simply chose the first available audio
*       card. I need my Speakup device to be different from the alsa
*       default. This is a problem for me, though I can live with it for
*       the moment.

3.      Setting /etc/asound.conf to default card 0 loads a totaly
*       unusable speakup. Screen review on the numpad is quite broken,
*       especially 4-5-6 and 1-2-3 (word and char) review. Also, speech
*       is NOT immediately silenced by Keypad-Enter or Ctrl. CARD 0 is
*       the onboard HDA Intel audio device.

4.      Resetting the default in /etc/asound.conf to CARD 2 fixes much
*       of the problem in 3. above. CARD 2 is a Sennheiser headset
*       device that I intend for making SIP calls, but both linphone and
*       freeswitch are currently broken on Arch, so this is the
*       configuration I've temporarily resumed using. Screen review
*       works as expected here, but silencing speech is still an issue.
*       Also, a spurious "space" is read with 7-8-9 and after pressing
*       Enter on a command.

5.      In both cases, both speech-dispatcher and espeakup, my cards are
blocked to other output, i.e. no dmix. This is new. The shipping
espeakup was not giving me this problem, though I cannot compare for
previous speech-dispatcher as I didn't try to use that device for other
output.

6.      I should note that I have espeak-ng on two machines. The
problems resolved in this thread were from my main desktop X86_64
system. I have previously successfully installed Arch toa USB3 flash
drive for booting a 2013 vintage Apple Airbook. Until the update just
this week to the latest Arch 4.17.2 kernel, plus whatever audio drivers
came with that update, the problems with espeakup-git mentioned above
were NOT visible on the Apple, except for the reading of the spurious
"space" char. However, the Apple is similarly broken now. Something in
very recent updates has broken things badly it seems. Not sure what. I
can say more on Orca on the Airbook, but I have only launched it once so
far.

Let us know how that goes,


Thanks for all your help, Didier. I do appreciate it very much.

Janina

Didier

I'm trying to revert as I write this. I have the older espeak
reinstalled and Speakup working, but not yet Orca. some kind of issue
with libspeechd.so.2.

<sigh>

Janina

Orca screen reader developers writes:
Yes, Didier! You found the issue. Thank you!

I already had this symlink for libespeak.so.1.48. Removing that one and
creating it anew for .49 resolved the problem. The package builds and
installs.


Janina

Didier Spaier writes:
PS looking at the package built this way,
me think you are missing the symlink that should be made with:
cd /usr/lib
ln -s libespeak-ng.so.1.1.49 libespeak.so.1
This won't hurt for orca, but will prevent espeakup to work.
Didier

Le 03/07/2018 à 00:55, Didier Spaier a écrit :
Hi Janina,

I just successfully rebuilt a package using the same  functions as in
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=espeak-ng
So, I am puzzled.

Can you please provide a full build log?

Didier

Le 03/07/2018 à 00:26, Janina Sajka via orca-list a écrit :
Hi, Didier:

I'm on X86_64 and building from the Arch AUR repository updated as about a week ago. 

Repository      : aur
Name            : espeak-ng
Version         : 1.49.2-1
Description     : Multi-lingual software speech synthesizer
URL             : https://github.com/espeak-ng/espeak-ng
AUR Page        : https://aur.archlinux.org/packages/espeak-ng
Licenses        : GPL3
Keywords        : None
Groups          : None
Provides        : espeak
Depends on      : pcaudiolib
Make Deps       : None
Check Deps      : None
Optional Deps   : None
Conflicts With  : espeak
Replaces        : None
Maintainer      : polyzen
Popularity      : 1.32
Votes           : 5
Out of Date     : No
Submitted       : Thu 08 Mar 2018 05:01:23 PM EST
Last Modified   : Thu 08 Mar 2018 05:01:23 PM EST
 
Didier Spaier writes:
Hello Janina,

it would help to know your context: which distribution and versions.

Here I have no issue building from this source archive:
https://github.com/rhdunn/espeak/archive/1.49.2.tar.gz

For what its worth my build stuff is there:
http://slackware.uk/slint/x86_64/slint-14.2.1/next/source/espeak-ng/

But as I see this in your post:
make: *** [<builtin>: espeakup] Error 1
I suspect that this issue occurs when building espeakup against
espeak-ng, rather than when building espeak-ng itself.

For what its worth, to get espeakup to work against espeak-ng I have
written this in the SLKBUILD in the doinst.sh() function, which is
executed from / just after installation:

mkdir -p usr/include/espeak
(cd usr/include/espeak
rm -f speak_lib.h
ln -s ../espeak-ng/speak_lib.h .
)
(cd usr/lib64
rm -f libespeak.so.1
ln -s libespeak-ng.so.1.1.49 libespeak.so.1
)

Slint is 64-bit only, if your distribution is multilib, probably you
need to replace usr/lib64 by usr/lib

But let's check first that you not only built but also installed
espeak-ng before building aspeak, as else we can understand that the
linker be unhappy.

Best regards,

Didier


Le 02/07/2018 à 18:38, Janina Sajka via orca-list a écrit :
I'm currently unable to build espeak-ng. I'm getting the following
output:


/usr/sbin/ld: cannot find -lespeak
collect2: error: ld returned 1 exit status
make: *** [<builtin>: espeakup] Error 1
==> ERROR: A failure occurred in build().
    Aborting...


Looks to me like a typo somewhere in the source. Am I wrong?

This matters a lot as switching from espeak to espeak-ng can be tricky
business. Best to have alternative control of the machine in question,
imo, e.g. via ssh.

Janina

Orca screen reader developers writes:
I don't recall seeing a fork of espeak, but you can use espeak-ng now, which
has mostly better pronunciations now, and is the continuation of original
espeak, as the lead developer of the original espeak seems to have either
dialed an address outside of the known stargate system or boarded a ship to
another galaxy. I recall indicating that the klatt4 I think voice may be
more to your liking, or you can use the Michel voice variant, but you need
to cat the files or try to get Orca to see the voice variants.


There is another voice called Gama TTS, which is forked from GNUSpeech, but
it sounds kinda weird. It already has a speech-dispatcher module, but it
will require a rather different build method in order to use it, as it uses
cmake, and tells me to build from another directory. I'm not sure about
Swift, as it's rather old now as I recall, it's only available for x86 and
x86_64, which I no longer have, and the cost is quite high for a single
voice, although I thought there was supposed to be a 5 minute trial or
something. As far as I know, it should still have a download link, but I'm
not sure where to find it now. Of course Festival and Flite are still
available, and either of those can talk with many more voices than just that
drugged robot voice that it uses by default. Unfortunately however, I can't
figure how to make spd work with any of these other Flite voices, and
Festival takes some extra magic to get running. Hopefully some of this
helps.

Imetumwa kutoka sauti kubwa

_______________________________________________
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

_______________________________________________
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

-- 

Janina Sajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:  http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures   http://www.w3.org/wai/apa

_______________________________________________
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

-- 

Janina Sajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:       http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures        http://www.w3.org/wai/apa



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