14

Could you please help me to install voices from here, I read the manual But I don't know how can 'Get the en1'.

  • I've seen ways to play with espeak with sox post-filters if you just want to modify a voice, use swift from cepstral to use more human sounding voices, or plug cepstral voices in to festival for use with IVRs. I haven't seen a way to plug more human voices in to espeak though. – RobotHumans Nov 29 '14 at 21:58
11
  1. Download: http://www.tcts.fpms.ac.be/synthesis/mbrola/bin/pclinux/mbr301h.zip
  2. Copy text to run in terminal line by line:

    cd Downloads
    unzip mbr301h.zip
    sudo cp mbrola-linux-i386 /usr/bin/mbrola
    
  3. Download: http://www.tcts.fpms.ac.be/synthesis/mbrola/dba/en1/en1-980910.zip

  4. Copy text to run in terminal line by line:

    unzip en1-980910.zip
    cp en1/en1 /usr/share/mbrola/en1
    
  5. Now run espeak, with options

    espeak -v mb-en1 "Hello world"
    
  6. Nice, but it seems he is reading too fast, try:

    espeak -v mb-en1 -s 120 "Hello world"
    
  • Thank you so much, Do you know any other way to improve voice quality and pronunciation? – Daniyal Dec 2 '14 at 8:02
  • 1
    @Daniyal : You can generate phonems with espeak and process them through mbrola : espeak -v mb-en1 -s 120 "Hello world" --pho|mbrola /usr/share/mbrola/en1 output.wav (note the addition of --pho option to espeak). – Skippy le Grand Gourou Sep 7 '15 at 13:56
  • @SkippyleGrandGourou No I can't, got this error: FATAL ERROR : cannot find file /usr/share/mbrola/en1 ! mbrola: FATAL ERROR : cannot find file /usr/share/mbrola/voices/en1 ! mbrowrap error: mbrola exited with status 216 mbrola voice not found I don't know what you want but may be you can use of it espeak -v mb-us2 -s 120 "Hello world" -w output.wav --pho – Daniyal Sep 8 '15 at 15:24
  • @Daniyal : it means you have the en1 voice neither in /usr/share/mbrola (which you should if you followed step 4 of Mateo's reply) nor in /usr/share/mbrola/voices. Either fix that (by creating the directory manually and copying voices there) or replace /usr/share/mbrola/en1 by the path to an mbrola voice already installed. It's really worth it, voice is much smoother with mbrola (though not perfect yet). – Skippy le Grand Gourou Sep 9 '15 at 7:48
  • 1
    It's down for me but I managed to find it on the wayback machine: web.archive.org/web/20180627172600/http://www.tcts.fpms.ac.be/… – faissaloo Oct 27 '18 at 16:21
1

Here is a copy of Mateo's answer as a single command and cleanup.

You will need sudo privileges to copy to /usr/bin/.


mkdir tmp_mbrola
cd tmp_mbrola
wget http://www.tcts.fpms.ac.be/synthesis/mbrola/bin/pclinux/mbr301h.zip
unzip mbr301h.zip
sudo cp mbrola-linux-i386 /usr/bin/mbrola
wget http://www.tcts.fpms.ac.be/synthesis/mbrola/dba/en1/en1-980910.zip
unzip en1-980910.zip
sudo mkdir /usr/share/mbrola
sudo cp en1/en1 /usr/share/mbrola/en1
cd ..
sudo rm -Rf ./tmp_mbrola/
espeak -v mb-en1 -s 160 "Hello world"

I am getting this error when text is read but it seems to work:

*** Error in `mbrola': free(): invalid pointer: 0x08af1dd8 ***

If anyone knows what is causing this error please let me know in the comments.

  • I get the same error, I would just guess its the way its installed, oh well. – TheCodingKlam Nov 3 '16 at 17:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.