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 not working #621

Closed
metal3d opened this issue Jun 17, 2019 · 5 comments
Closed

mbrola not working #621

metal3d opened this issue Jun 17, 2019 · 5 comments

Comments

@metal3d
Copy link

metal3d commented Jun 17, 2019

Hi,
First of all: https://github.com/espeak-ng/espeak-ng/blob/master/docs/mbrola.md => you says "Linux installation" but it's not - it's "Debian" installation. For Linux installation, we need something more "global" and universal.

So, now :)

On Fedora. I decided to compile espeak-ng myself (it seems that the provided package in repository is not compiled with mbrola support)

I did:

./autogen.sh
./configure --with-mbrola
make
sudo make install

Pcaudiolib is installed, everything is ok.

I now compiled MBROLA myself from https://github.com/numediart/MBROLA

make
sudo cp Bin/mbrola /usr/local/bin/mbrola

OK.

I now tried to download and install voices from https://github.com/numediart/MBROLA-voices
Tried:

  • sudo cp -r data/* /usr/local/share/espeak-ng-data/mbrola (with directory created)
  • in /usr/share/mbrola
  • with something that worked weeks ago:
sudo mkdir -p /usr/share/mbrola/voices
for voice in data/*; do
    voice=$(basename $voice)
    sudo cp data/$voice/$voice /usr/share/mbrola/voices
done

Wherever I put voices, espeak-ng doesn't see voices, and cannot speak with mbrola voice:

 espeak-ng -v mb-fr1 "Coucou"
mbrola: Fatal error in line:
mbrola: 
mbrowrap error: mbrola exited with status 253

So, maybe it's mbrola, maybe not...

To be sure, I tried from MBROLA voices dir:

espeak-ng -v mb-fr4 "Une phrase pour tester" --pho -s 110 | mbrola fr4/fr4 - out.wav
paplay out.wav 

And it works.

So, the problem is to find mbrola voices - any help ?

@metal3d
Copy link
Author

metal3d commented Jun 17, 2019

OK... I make a git bisect on mbrola. The last commit breaks things.
I still not see "mb" voices with espeak-ng --voices but espeak-ng -v mb-fr2 "Une phrase pour tester" is working.

So, the only problem is to know why I cannot list mb voices now.

@metal3d
Copy link
Author

metal3d commented Jun 17, 2019

OK... forget...
It seems that the problems come from the bad mbrola commit. Reverted and reinstalled is ok.

@valdisvi
Copy link
Member

Can you fix that latest now MBROLA is working for now?
I fixed one found regression in it:
https://github.com/valdisvi/MBROLA/commit/3b77613e8675a09106d13e4b06aefaffdabf79ec

@valdisvi valdisvi reopened this Aug 27, 2019
@GHPS
Copy link

GHPS commented Jan 24, 2020

I had the same issue with using a mid 2019 dev
version of Mbrola

mbrola: Fatal error in line:
mbrola: 
mbrowrap error: mbrola exited with status 253

The problem has been fixed in commit 3b77613e8675a091,
so that official Mbrola ver. 3.3 and newer are not
affected anymore.

So this issue can be re-closed.

@valdisvi
Copy link
Member

Thanks for your effort!

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

No branches or pull requests

4 participants