Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mbrola-de1 mbrola-it2 and many other voices not working with espeak #8

Open
dr-ni opened this issue Jan 17, 2022 · 8 comments
Open

Comments

@dr-ni
Copy link

dr-ni commented Jan 17, 2022

Versions:

uname -a
Linux go2 5.15.14-surface #1 SMP Sat Jan 15 02:27:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

apt list <package>
espeak: 1.48.15+dfsg-2build1 amd64
mbrola: 3.3+dfsg-4 amd64
mbrola-de1: 2.050+repack2-4 all
mbrola-de6: 0.0.20021125+repack2-5 all
mbrola-it2: 0.1+repack2-2 all

For voice mbrola-de6 everything is working fine:

espeak -v mb-de6 "Hallo" --stdout | aplay

however, de1 and it2 are not working:

espeak -v mb-de6 "Hallo" --stdout | aplay
Failed to read voice 'mb-de1'

espeak -v mb-it2 "uno" --stdout | aplay
Failed to read voice 'mb-it2'

any advice?

@valdisvi
Copy link
Collaborator

Install needed language files either with package manager or download them directly from MBROLA-voices project.

@dr-ni
Copy link
Author

dr-ni commented Jan 17, 2022

all packages are installed with package manager
even if I copy them, directly from https://github.com/numediart/MBROLA-voices/

sudo cp de1 /usr/share/mbrola/de1/de1

same issues

@valdisvi
Copy link
Collaborator

As you are using old version of espeak, check that it has configuration files for these voices. In folder espeak-data or espeak-ng-data there should be files like this.

@dr-ni
Copy link
Author

dr-ni commented Jan 17, 2022

this is my voices folder:

uwe@go2:~$ ls -la /usr/lib/x86_64-linux-gnu/espeak-data/voices
insgesamt 60
drwxr-xr-x 8 root root 4096 Jan 17 15:07  .
drwxr-xr-x 4 root root 4096 Jan 17 15:07  ..
drwxr-xr-x 2 root root 4096 Jan 17 15:07  asia
-rw-r--r-- 1 root root   38 Feb 22  2021  de
-rw-r--r-- 1 root root   38 Feb 22  2021  default
-rw-r--r-- 1 root root  110 Feb 22  2021  en
-rw-r--r-- 1 root root  264 Feb 22  2021  en-us
-rw-r--r-- 1 root root  181 Feb 22  2021  es-la
drwxr-xr-x 2 root root 4096 Jan 17 15:07  europe
-rw-r--r-- 1 root root   82 Feb 22  2021  fr
drwxr-xr-x 2 root root 4096 Jan 17 15:07  mb
drwxr-xr-x 2 root root 4096 Jan 17 15:07  other
-rw-r--r-- 1 root root  106 Feb 22  2021  pt
drwxr-xr-x 2 root root 4096 Jan 17 15:07  test
drwxr-xr-x 2 root root 4096 Jan 17 15:07 '!v

there is also nothing for de6 but working?

@dr-ni
Copy link
Author

dr-ni commented Jan 17, 2022

uwe@go2:~$ ls -la /usr/lib/x86_64-linux-gnu/espeak-data/voices/mb
insgesamt 224
drwxr-xr-x 2 root root 4096 Jan 17 15:07 .
drwxr-xr-x 8 root root 4096 Jan 17 15:07 ..
-rw-r--r-- 1 root root   88 Feb 22  2021 mb-af1
-rw-r--r-- 1 root root   83 Feb 22  2021 mb-af1-en
-rw-r--r-- 1 root root  115 Feb 22  2021 mb-br1
-rw-r--r-- 1 root root  115 Feb 22  2021 mb-br3
-rw-r--r-- 1 root root  119 Feb 22  2021 mb-br4
-rw-r--r-- 1 root root  126 Feb 22  2021 mb-cr1
-rw-r--r-- 1 root root   82 Feb 22  2021 mb-cz2
-rw-r--r-- 1 root root   83 Feb 22  2021 mb-de2
-rw-r--r-- 1 root root   99 Feb 22  2021 mb-de3
-rw-r--r-- 1 root root   85 Feb 22  2021 mb-de4
-rw-r--r-- 1 root root   79 Feb 22  2021 mb-de4-en
-rw-r--r-- 1 root root  192 Feb 22  2021 mb-de5
-rw-r--r-- 1 root root   90 Feb 22  2021 mb-de5-en
-rw-r--r-- 1 root root   78 Feb 22  2021 mb-de6
-rw-r--r-- 1 root root   83 Feb 22  2021 mb-de6-grc
-rw-r--r-- 1 root root  106 Feb 22  2021 mb-de7
-rw-r--r-- 1 root root   95 Feb 22  2021 mb-ee1
-rw-r--r-- 1 root root  113 Feb 22  2021 mb-en1
-rw-r--r-- 1 root root   97 Feb 22  2021 mb-es1
-rw-r--r-- 1 root root   91 Feb 22  2021 mb-es2
-rw-r--r-- 1 root root  150 Feb 22  2021 mb-fr1
-rw-r--r-- 1 root root  103 Feb 22  2021 mb-fr1-en
-rw-r--r-- 1 root root  111 Feb 22  2021 mb-fr4
-rw-r--r-- 1 root root  106 Feb 22  2021 mb-fr4-en
-rw-r--r-- 1 root root   94 Feb 22  2021 mb-gr2
-rw-r--r-- 1 root root   88 Feb 22  2021 mb-gr2-en
-rw-r--r-- 1 root root  102 Feb 22  2021 mb-hu1
-rw-r--r-- 1 root root   97 Feb 22  2021 mb-hu1-en
-rw-r--r-- 1 root root   86 Feb 22  2021 mb-ic1
-rw-r--r-- 1 root root  101 Feb 22  2021 mb-id1
-rw-r--r-- 1 root root  753 Feb 22  2021 mb-ir1
-rw-r--r-- 1 root root  768 Feb 22  2021 mb-ir2
-rw-r--r-- 1 root root  142 Feb 22  2021 mb-it3
-rw-r--r-- 1 root root  145 Feb 22  2021 mb-it4
-rw-r--r-- 1 root root   83 Feb 22  2021 mb-la1
-rw-r--r-- 1 root root  120 Feb 22  2021 mb-mx1
-rw-r--r-- 1 root root  120 Feb 22  2021 mb-mx2
-rw-r--r-- 1 root root   96 Feb 22  2021 mb-nl2
-rw-r--r-- 1 root root   91 Feb 22  2021 mb-nl2-en
-rw-r--r-- 1 root root   99 Feb 22  2021 mb-pl1
-rw-r--r-- 1 root root   82 Feb 22  2021 mb-pl1-en
-rw-r--r-- 1 root root  114 Feb 22  2021 mb-pt1
-rw-r--r-- 1 root root   87 Feb 22  2021 mb-ro1
-rw-r--r-- 1 root root   81 Feb 22  2021 mb-ro1-en
-rw-r--r-- 1 root root   98 Feb 22  2021 mb-sw1
-rw-r--r-- 1 root root   93 Feb 22  2021 mb-sw1-en
-rw-r--r-- 1 root root  102 Feb 22  2021 mb-sw2
-rw-r--r-- 1 root root   99 Feb 22  2021 mb-sw2-en
-rw-r--r-- 1 root root   85 Feb 22  2021 mb-tr1
-rw-r--r-- 1 root root  114 Feb 22  2021 mb-tr2
-rw-r--r-- 1 root root  170 Feb 22  2021 mb-us1
-rw-r--r-- 1 root root  178 Feb 22  2021 mb-us2
-rw-r--r-- 1 root root  180 Feb 22  2021 mb-us3
-rw-r--r-- 1 root root  144 Feb 22  2021 mb-vz1

do I have to add it to this folder?

@valdisvi
Copy link
Collaborator

Sorry, I forget to mention that it should be voices/mb subfolder of espeak-ng-data, but you figured it out yourself. As you can see, there is no configuration files for mb-de1 and mb-it2. I don't remember, if these files needed compilation or if they are interpreted. If they are interpreted, you may try to add missing files manually from espeak-ng project.

@valdisvi
Copy link
Collaborator

valdisvi commented Jan 17, 2022

If it doesn't work, I recommend to set up espeak-ng 1.50 from PPA package.

@dr-ni
Copy link
Author

dr-ni commented Jan 17, 2022

OK perfect!
Thank you very much for your help.
Everything is working fine if I'm adding the files here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants