Difference between revisions of "Speech"
Jump to navigation
Jump to search
(speech works out of the box with espeak) |
|||
Line 1: | Line 1: | ||
==Speech== | ==Speech== | ||
The [[GCS]] is able to provide the messages of the console via the speakers by starting with the option [[GCS_Configuration|-speech]]. | The [[GCS]] is able to provide the messages of the console via the speakers by starting with the option [[GCS_Configuration|-speech]]. | ||
'''On Ubuntu 10.10 this works out of the box with speech-dispatcher and espeak.''' | |||
== Using festival == | |||
If you want to use festival instead you need to install some packages and configure the speech-dispatcher to use festival. | |||
===1. Packages Installation=== | ===1. Packages Installation=== | ||
Line 15: | Line 19: | ||
FestivalServerPort 1314 <br> | FestivalServerPort 1314 <br> | ||
<br> | <br> | ||
<br> | <br> | ||
Line 26: | Line 25: | ||
Port 6560<br> | Port 6560<br> | ||
<br> | <br> | ||
AddModule "espeak" "sd_espeak" "espeak.conf"<br> | |||
AddModule "festival" "sd_festival" "festival.conf"<br> | AddModule "festival" "sd_festival" "festival.conf"<br> | ||
#AddModule "flite" "sd_flite" "flite.conf"<br> | #AddModule "flite" "sd_flite" "flite.conf"<br> | ||
Line 42: | Line 41: | ||
#LanguageDefaultModule "es" "festival"<br> | #LanguageDefaultModule "es" "festival"<br> | ||
===3. Starting the applications/servers=== | ===3. Starting the applications/servers=== |
Revision as of 06:02, 5 November 2010
Speech
The GCS is able to provide the messages of the console via the speakers by starting with the option -speech.
On Ubuntu 10.10 this works out of the box with speech-dispatcher and espeak.
Using festival
If you want to use festival instead you need to install some packages and configure the speech-dispatcher to use festival.
1. Packages Installation
Install festival, speech-dispatcher and speech-dispatcher-festival packages, if not already installed.
2. Configuration
edit festival.conf in /etc/speech-dispatcher/modules/ and change or uncomment the following lines:
# Address where the Festival server runs (you have to
# have a Festival server running, please see documentation).
FestivalServerHost "localhost"
FestivalServerPort 1314
Then edit speechd.conf in /etc/speech-dispatcher/
Port 6560
AddModule "espeak" "sd_espeak" "espeak.conf"
AddModule "festival" "sd_festival" "festival.conf"
#AddModule "flite" "sd_flite" "flite.conf"
#AddModule "espeak-generic" "sd_generic" "espeak-generic.conf"
#AddModule "epos-generic" "sd_generic" "epos-generic.conf"
#AddModule "dtk-generic" "sd_generic" "dtk-generic.conf"
#AddModule "ibmtts" "sd_ibmtts" "ibmtts.conf"
#AddModule "cicero" "sd_cicero" "cicero.conf"
DefaultModule festival
#LanguageDefaultModule "en" "espeak"
LanguageDefaultModule "en" "festival"
#LanguageDefaultModule "cs" "festival"
#LanguageDefaultModule "es" "festival"
3. Starting the applications/servers
Type in the command window:
festival --server
sudo /etc/init.d/speech-dispatcher restart
Start the GCS with the -speech option and there you go! (Hopefully)