How To Install espeak 1.47.11 On CentOS 7.6
Installation of espeak 1.47.11 On CentOS 7.6
Default Installed location
usr/share/espeak-data
Options and its Usage:
-w = Write the output file to the following location
-g = Word gap (default = 10ms)
-p = Pitch adjustment (default = 50)
-s = Speed in words/minute (default = 160)
-v = Choose the voicename
Installation process:
Check the version of Centos As follows
[root@linuxhelp ~]# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
Verify espeak package in the installed list of yum repository
[root@linuxhelp ~]# yum list installed espeak
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.piconets.webwerks.in
* extras: mirrors.piconets.webwerks.in
* updates: mirrors.piconets.webwerks.in
Error: No matching Packages to list
Install the espeak package as espeak is not installed from the above output
[root@linuxhelp ~]# yum install espeak -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.piconets.webwerks.in
* extras: mirrors.piconets.webwerks.in
* updates: mirrors.piconets.webwerks.in
Resolving Dependencies
--> Running transaction check
---> Package espeak.x86_64 0:1.47.11-4.el7 will be installed
.
.
.
.
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!
After the successful installation.Navigate to the installed espeak location
[root@linuxhelp ~]# cd /usr/share/espeak-data/
List the directories and files in the espeak-data where you find the individual language dictionaries,voices,intonations
[root@linuxhelp espeak-data]# ls -l
total 1788
-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
-rw-r--r-- 1 root root 21765 Jun 10 2014 de_dict
-rw-r--r-- 1 root root 5351 Jun 10 2014 el_dict
-rw-r--r-- 1 root root 103923 Jun 10 2014 en_dict
-rw-r--r-- 1 root root 4677 Jun 10 2014 eo_dict
-rw-r--r-- 1 root root 6422 Jun 10 2014 es_dict
-rw-r--r-- 1 root root 6767 Jun 10 2014 et_dict
-rw-r--r-- 1 root root 167505 Jun 10 2014 fa_dict
-rw-r--r-- 1 root root 5120 Jun 10 2014 fi_dict
-rw-r--r-- 1 root root 21426 Jun 10 2014 fr_dict
-rw-r--r-- 1 root root 7684 Jun 10 2014 ga_dict
-rw-r--r-- 1 root root 3390 Jun 10 2014 grc_dict
-rw-r--r-- 1 root root 7731 Jun 10 2014 hbs_dict
-rw-r--r-- 1 root root 6252 Jun 10 2014 hi_dict
-rw-r--r-- 1 root root 106657 Jun 10 2014 hu_dict
-rw-r--r-- 1 root root 3399 Jun 10 2014 hy_dict
-rw-r--r-- 1 root root 3082 Jun 10 2014 id_dict
-rw-r--r-- 1 root root 884 Apr 8 2013 intonations
-rw-r--r-- 1 root root 5400 Jun 10 2014 is_dict
-rw-r--r-- 1 root root 43419 Jun 10 2014 it_dict
-rw-r--r-- 1 root root 2057 Jun 10 2014 jbo_dict
-rw-r--r-- 1 root root 3138 Jun 10 2014 ka_dict
-rw-r--r-- 1 root root 5367 Jun 10 2014 kn_dict
-rw-r--r-- 1 root root 2268 Jun 10 2014 ku_dict
-rw-r--r-- 1 root root 3817 Jun 10 2014 la_dict
-rw-r--r-- 1 root root 5171 Jun 10 2014 lt_dict
-rw-r--r-- 1 root root 12293 Jun 10 2014 lv_dict
drwxr-xr-x 2 root root 6 Jun 28 2010 mbrola
drwxr-xr-x 2 root root 4096 Oct 8 08:32 mbrola_ph
-rw-r--r-- 1 root root 4945 Jun 10 2014 mk_dict
-rw-r--r-- 1 root root 3583 Jun 10 2014 ml_dict
-rw-r--r-- 1 root root 12248 Jun 10 2014 ms_dict
-rw-r--r-- 1 root root 10817 Jun 10 2014 ne_dict
-rw-r--r-- 1 root root 23488 Jun 10 2014 nl_dict
-rw-r--r-- 1 root root 4178 Jun 10 2014 no_dict
-rw-r--r-- 1 root root 6172 Jun 10 2014 pa_dict
-rw-r--r-- 1 root root 401944 May 4 2013 phondata
-rw-r--r-- 1 root root 18097 May 4 2013 phondata-manifest
-rw-r--r-- 1 root root 22960 May 4 2013 phonindex
-rw-r--r-- 1 root root 38348 May 4 2013 phontab
-rw-r--r-- 1 root root 34924 Jun 10 2014 pl_dict
-rw-r--r-- 1 root root 22975 Jun 10 2014 pt_dict
-rw-r--r-- 1 root root 25205 Jun 10 2014 ro_dict
-rw-r--r-- 1 root root 6154 Jun 10 2014 ru_dict
-rw-r--r-- 1 root root 9138 Jun 10 2014 sk_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 Oct 8 08:32 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
Navigate to Voice to select the voice language
[root@linuxhelp espeak-data]# cd voices/
List the voices as follows
[root@linuxhelp voices]# ls -l
total 36
drwxr-xr-x 2 root root 227 Oct 8 08:32 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 Oct 8 08:32 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 Oct 8 08:32 europe
-rw-r--r-- 1 root root 82 Oct 16 2011 fr
drwxr-xr-x 2 root root 4096 Oct 8 08:32 mb
drwxr-xr-x 2 root root 132 Oct 8 08:32 other
-rw-r--r-- 1 root root 106 Apr 14 2013 pt
Generate an audio file as follows
[root@linuxhelp voices]# espeak "what are you doing" -w /mnt/test4.wav -g 20 -v en-us
Navigate to the Specified location by referring the command
[root@linuxhelp voices]# cd /mnt
Verify the audio file by listing
[root@linuxhelp mnt]# ls -l
total 88
-rw-r--r-- 1 root root 87196 Oct 8 08:35 test4.wav
With this,the method to install espeak 1.47.11 comes to end here