How to install and use espeak and mbrola
Install Of espeak and mbrola on centos 7.6
Installation process
Check the centos by using the following command
[root@linuxhelp ~]# rpm -q centos-release
centos-release-7-6.1810.2.el7.centos.x86_64
Install the espeak by using the following command
[root@linuxhelp ~]# yum install espeak -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net
* epel: www.ftp.ne.jp
* extras: mirror.vanehost.com
* remi-php71: mirror.reconn.ru
* remi-safe: mirror.reconn.ru
* updates: mirror.vanehost.com
Resolving Dependencies
--> Running transaction check
---> Package espeak.x86_64 0:1.47.11-4.el7 will be installed
--> Finished Dependency Resolution
.
.
Transaction test succeeded
Running transaction
Installing : espeak-1.47.11-4.el7.x86_64 1/1
Verifying : espeak-1.47.11-4.el7.x86_64 1/1
Installed:
espeak.x86_64 0:1.47.11-4.el7
Complete!
Enter into the espeak default directory
[root@linuxhelp ~]# cd /usr/share/espeak-data/
List out the file
[root@linuxhelp espeak-data]# ls -la
total 1804
drwxr-xr-x 6 root root 4096 Jan 11 23:58 .
drwxr-xr-x. 235 root root 8192 Jan 11 23:58 ..
-rw-r--r-- 1 root root 81151 Jun 10 2014 af_dict
-rw-r--r-- 1 root root 6580 Jun 10 2014 an_dict
-rw-r--r-- 1 root root 27006 Jun 10 2014 bg_dict
-rw-r--r-- 1 root root 4153 Jun 10 2014 ca_dict
-rw-r--r-- 1 root root 7565 Jun 10 2014 cs_dict
-rw-r--r-- 1 root root 3461 Jun 10 2014 cy_dict
-rw-r--r-- 1 root root 201643 Jun 10 2014 da_dict
.
.
drwxr-xr-x 2 root root 6 Aug 8 2006 soundicons
-rw-r--r-- 1 root root 3199 Jun 10 2014 sq_dict
-rw-r--r-- 1 root root 9676 Jun 10 2014 sv_dict
-rw-r--r-- 1 root root 3005 Jun 10 2014 sw_dict
-rw-r--r-- 1 root root 97201 Jun 10 2014 ta_dict
-rw-r--r-- 1 root root 6052 Jun 10 2014 tr_dict
-rw-r--r-- 1 root root 6891 Jun 10 2014 vi_dict
drwxr-xr-x 8 root root 169 Jan 11 23:58 voices
-rw-r--r-- 1 root root 41827 Jun 10 2014 zh_dict
-rw-r--r-- 1 root root 1556 Jun 10 2014 zhy_dict
Enter into the mbrola directory
[root@linuxhelp espeak-data]# cd mbrola
[root@linuxhelp mbrola]# ll
total of 0
[root@linuxhelp mbrola]# cd ..
Now enter into the voices directory
[root@linuxhelp espeak-data]# cd voices/
[root@linuxhelp voices]# ll
total 36
drwxr-xr-x 2 root root 227 Jan 11 23:58 asia
-rw-r--r-- 1 root root 38 Aug 13 2010 de
-rw-r--r-- 1 root root 38 May 2 2009 default
-rw-r--r-- 1 root root 110 Jan 11 23:58 en
-rw-r--r-- 1 root root 110 Apr 1 2013 _en
-rw-r--r-- 1 root root 264 Mar 27 2013 en-us
-rw-r--r-- 1 root root 181 Apr 1 2013 es-la
drwxr-xr-x 2 root root 312 Jan 11 23:58 europe
-rw-r--r-- 1 root root 82 Oct 16 2011 fr
drwxr-xr-x 2 root root 4096 Jan 11 23:58 mb
drwxr-xr-x 2 root root 132 Jan 11 23:58 other
-rw-r--r-- 1 root root 106 Apr 14 2013 pt
drwxr-xr-x 2 root root 118 Jan 11 23:58 test
drwxr-xr-x 2 root root 225 Jan 11 23:58 !v
Execute the espeak by using the following command
[root@linuxhelp voices]# espeak "what is use of espeak" -w /mnt/test.wav -g 20 -v en-us
Enter into the mnt directory
[root@linuxhelp voices]# cd /mnt
Here you can see the test.wav has been created
[root@linuxhelp mnt]# ls -la
total 112
drwxr-xr-x. 3 root root 34 Jan 12 00:01 .
dr-xr-xr-x. 17 root root 224 Nov 22 04:21 ..
drwxr-xr-x. 2 root root 6 Nov 22 04:33 hgfs
-rw-r--r-- 1 root root 113900 Jan 12 00:01 test.wav
This is the method to install and configure the espeak and mbrola on centos 7.6 comes to end
Tag :
Espeak
Q
What are the voices available in espeak?
A
Asia,en-us, Europe,fr and few are the voices available in espeak.
Q
What does -w option used for in espeak?
A
-w option just writes the output audio file to the specified location in espeak.
Q
What is the default location that an espeak is installed in?
A
espeak is installed in the following location /usr/share/espeak-data.
Q
What do intonations mean in espeak?
A
Intonations indicate the variation in speech pitch adjustment in espeak
Q
What does actually espeak do?
A
espeak just converts the text into an audio file.