Difference between revisions of "Speech"
Line 11: | Line 11: | ||
If you want to use festival instead you need to install some packages and configure the speech-dispatcher to use festival. | If you want to use festival instead you need to install some packages and configure the speech-dispatcher to use festival. | ||
=== | === Packages Installation=== | ||
Install festival, speech-dispatcher and speech-dispatcher-festival packages, if not already installed. <br> | Install festival, speech-dispatcher and speech-dispatcher-festival packages, if not already installed. <br> | ||
=== | === Configuration=== | ||
Edit '''speechd.conf''' in /etc/speech-dispatcher/ with the command ''gksudo gedit /etc/speech-dispatcher/speechd.conf'' | Edit '''speechd.conf''' in /etc/speech-dispatcher/ with the command ''gksudo gedit /etc/speech-dispatcher/speechd.conf'' | ||
Line 29: | Line 29: | ||
Optionally edit festival.conf in /etc/speech-dispatcher/modules/ and change/uncomment the following lines (these are the defaults so they don't need to be uncommented if not changed): <br> | '''Optionally''' edit festival.conf in /etc/speech-dispatcher/modules/ and change/uncomment the following lines (these are the defaults so they don't need to be uncommented if not changed): <br> | ||
# Address where the Festival server runs (you have to <br> | # Address where the Festival server runs (you have to <br> | ||
# have a Festival server running, please see documentation). | # have a Festival server running, please see documentation). | ||
<br> | <br> | ||
FestivalServerHost "localhost" <br> | FestivalServerHost "localhost" <br> | ||
FestivalServerPort 1314 | FestivalServerPort 1314 | ||
=== | === Starting the applications/servers=== | ||
Type in the command window:<br> | Type in the command window:<br> | ||
festival --server | |||
You can test with | You can test with |
Revision as of 07:53, 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.
You can test your setup with
spd-conf -d
Using festival
If you want to use festival instead you need to install some packages and configure the speech-dispatcher to use festival.
Packages Installation
Install festival, speech-dispatcher and speech-dispatcher-festival packages, if not already installed.
Configuration
Edit speechd.conf in /etc/speech-dispatcher/ with the command gksudo gedit /etc/speech-dispatcher/speechd.conf
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
Optionally edit festival.conf in /etc/speech-dispatcher/modules/ and change/uncomment the following lines (these are the defaults so they don't need to be uncommented if not changed):
# Address where the Festival server runs (you have to
# have a Festival server running, please see documentation).
FestivalServerHost "localhost"
FestivalServerPort 1314
Starting the applications/servers
Type in the command window:
festival --server
You can test with
spd-conf --test-festival
Start the GCS with the -speech option and there you go! (Hopefully)