first commit
This commit is contained in:
		
							
								
								
									
										7
									
								
								etc_org/speech-dispatcher/clients/emacs.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								etc_org/speech-dispatcher/clients/emacs.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
# Local configuration for emacs
 | 
			
		||||
 | 
			
		||||
BeginClient "emacs:*"
 | 
			
		||||
# Example:
 | 
			
		||||
#        DefaultPunctuationMode "some"
 | 
			
		||||
EndClient
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										30
									
								
								etc_org/speech-dispatcher/modules/cicero.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								etc_org/speech-dispatcher/modules/cicero.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
			
		||||
 | 
			
		||||
# -- CICERO EXECUTABLE AND LOG --
 | 
			
		||||
 | 
			
		||||
# CiceroExecutable indicates path to the cicero executable (the file called
 | 
			
		||||
# tts_brltty_es.py in the original distribution of the 0.7 version).  You can
 | 
			
		||||
# create a symbolic link # ln -s your-path/tts_brltty_es.py /usr/bin/cicero or
 | 
			
		||||
# probably better in /usr/local/bin/cicero and modify the below option
 | 
			
		||||
# accordingly.
 | 
			
		||||
 | 
			
		||||
#CiceroExecutable "/usr/bin/cicero"
 | 
			
		||||
 | 
			
		||||
# CiceroExecutableLog is the path where logging information of the
 | 
			
		||||
# original Cicero synthesizer (CiceroExecutable) should be stored.
 | 
			
		||||
# This should not be confused with the logging of this module/driver
 | 
			
		||||
# specified in speechd.conf.
 | 
			
		||||
 | 
			
		||||
#CiceroExecutableLog "/var/log/speech-dispatcher/cicero-executable.log"
 | 
			
		||||
 | 
			
		||||
# -- AUDIO OUTPUT --
 | 
			
		||||
 | 
			
		||||
# Cicero does its own audio output which can't
 | 
			
		||||
# be influenced from this place. Please see Cicero
 | 
			
		||||
# documentation
 | 
			
		||||
 | 
			
		||||
# -- DEBUGING AND LOGING --
 | 
			
		||||
 | 
			
		||||
# Debug turns debugging on or off
 | 
			
		||||
# See speechd.conf for information where debugging information is stored
 | 
			
		||||
 | 
			
		||||
#Debug 0
 | 
			
		||||
							
								
								
									
										84
									
								
								etc_org/speech-dispatcher/modules/dtk-generic.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										84
									
								
								etc_org/speech-dispatcher/modules/dtk-generic.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,84 @@
 | 
			
		||||
# DECTalk software output module is based on the generic plugin for Speech
 | 
			
		||||
# Dispatcher. It means there is no C code written explicitly for
 | 
			
		||||
# this plugin, all the specifics are handled in this configuration
 | 
			
		||||
# and we call a simple command line client to perform the actual
 | 
			
		||||
# synthesis. Note that this is not an optimal solution, but
 | 
			
		||||
# it's reported to work.
 | 
			
		||||
#
 | 
			
		||||
# Please note that DECTalk software is currently *not* Free Software.
 | 
			
		||||
# You might want to look at Festival instead.
 | 
			
		||||
 | 
			
		||||
# GenericExecuteSynth is the shell command that should be
 | 
			
		||||
# executed in order to say some message. This command must
 | 
			
		||||
# stop saying the message on SIGKILL, otherwise it's useless.
 | 
			
		||||
# You can use the variables $LANG, $VOICE, $PITCH and $RATE
 | 
			
		||||
# which will be substituted for the appropriate value (you
 | 
			
		||||
# can modify this value, see other parameters).
 | 
			
		||||
# The command can be split into more lines, if necessary, using '\'.
 | 
			
		||||
# NOTE1:
 | 
			
		||||
# Users of previous versions of this configuration file need to rename their
 | 
			
		||||
# DECTalk command-line program back to `say', since speech dispatcher no
 | 
			
		||||
# longer installs a program with this name. Thus, the reason for
 | 
			
		||||
# renaming the client in the first place is gone.
 | 
			
		||||
# NOTE2:
 | 
			
		||||
# DECTalk software version 4.61 is known to occasionally stop reading,
 | 
			
		||||
# due to a buffering problem with the `say' program. So far, the only way
 | 
			
		||||
# I know of to fix this is to upgrade from DECTalk 4.61 to DECTalk 5.
 | 
			
		||||
GenericExecuteSynth \
 | 
			
		||||
"echo \"[:n$VOICE][:ra $RATE][:dv ap $PITCH]\" >$TMPDIR/dtk-speak.txt \
 | 
			
		||||
&& echo \'$DATA\' | fmt >>$TMPDIR/dtk-speak.txt && say -fi $TMPDIR/dtk-speak.txt"
 | 
			
		||||
 | 
			
		||||
# GenericStripPunctChars is a list (enclosed in doublequotes) of
 | 
			
		||||
# all the characters that should be replaced by whitespaces in
 | 
			
		||||
# order not to be badly handled by the output module or misinterpreted
 | 
			
		||||
# by shell.
 | 
			
		||||
# We need to strip `[' and `]', as these are DECTalk's
 | 
			
		||||
# command characters.
 | 
			
		||||
GenericStripPunctChars  "[]"
 | 
			
		||||
 | 
			
		||||
# AddVoice specifies which $VOICE string should be assigned to
 | 
			
		||||
# each language and symbolic voice name. All the voices you want
 | 
			
		||||
# to use must be specified here.
 | 
			
		||||
# NOTE:
 | 
			
		||||
# There is a multilingual version of DECTalk software, however I
 | 
			
		||||
# do not have it. Thus, only the US English voices are defined here.
 | 
			
		||||
# If you know about the other languages, please let us know on
 | 
			
		||||
# <speechd@freebsoft.org>
 | 
			
		||||
 | 
			
		||||
AddVoice	"en"	"MALE1"		"p"
 | 
			
		||||
AddVoice	"en"	"MALE2"		"h"
 | 
			
		||||
AddVoice	"en"	"MALE3"		"d"
 | 
			
		||||
AddVoice	"en"	"FEMALE1" 	"b"
 | 
			
		||||
AddVoice	"en"	"FEMALE2"	"u"
 | 
			
		||||
AddVoice	"en"	"FEMALE3"	"w"
 | 
			
		||||
AddVoice	"en"	"CHILD_MALE"	"k"
 | 
			
		||||
 | 
			
		||||
# These parameters set _rate_ and _pitch_ conversion. This is
 | 
			
		||||
# part of the core of the definition of this generic output
 | 
			
		||||
# module for this concrete synthesizer, it's not intended to
 | 
			
		||||
# be modified by common users.
 | 
			
		||||
# The resulting rate (or pitch) has the form:
 | 
			
		||||
# 	(speechd_rate * GenericRateMultiply) + GenericRateAdd
 | 
			
		||||
# while speechd_rate is a value between -100 (lowest) and +100 (highest)
 | 
			
		||||
# You have to define some meaningful conversion for each synthesizer
 | 
			
		||||
# NOTE:
 | 
			
		||||
# Because DECTalk cannot accept float values, we must force them to be
 | 
			
		||||
# integers.
 | 
			
		||||
 | 
			
		||||
GenericRateForceInteger 1
 | 
			
		||||
GenericPitchForceInteger 1
 | 
			
		||||
 | 
			
		||||
GenericRateAdd 338
 | 
			
		||||
GenericPitchAdd	225
 | 
			
		||||
 | 
			
		||||
# (These values are multiplied by 100, because DotConf currently
 | 
			
		||||
# doesn't support floats. So you can write 0.85 as 85 and so on.)
 | 
			
		||||
 | 
			
		||||
GenericRateMultiply 262
 | 
			
		||||
GenericPitchMultiply 175 
 | 
			
		||||
 | 
			
		||||
# Debug turns debugging on or off
 | 
			
		||||
# See speechd.conf for information where debugging information is stored
 | 
			
		||||
 | 
			
		||||
# Debug 0
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										80
									
								
								etc_org/speech-dispatcher/modules/epos-generic.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										80
									
								
								etc_org/speech-dispatcher/modules/epos-generic.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,80 @@
 | 
			
		||||
# Epos output module is based on the generic plugin for Speech
 | 
			
		||||
# Dispatcher. It means there is no C code written explicitly for
 | 
			
		||||
# this plugin, all the specifics are handled in this configuration
 | 
			
		||||
# and we call a simple command line client to perform the actual
 | 
			
		||||
# synthesis.
 | 
			
		||||
#
 | 
			
		||||
# WARNING: You will need to either rename the command epos-say in 
 | 
			
		||||
# GenericExecuteString to what's the name of this utility on your
 | 
			
		||||
# system (it might be "say"), or (better) create a link epos-say
 | 
			
		||||
# somewhere in your path to the epos's say client.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# GenericExecuteSynth is the shell command that should be
 | 
			
		||||
# executed in order to say some message. This command must
 | 
			
		||||
# stop saying the message on SIGKILL, otherwise it's useless.
 | 
			
		||||
# You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE
 | 
			
		||||
# which will be substituted for the appropriate value (you
 | 
			
		||||
# can modify this value, see other parameters).
 | 
			
		||||
# The command can be split into more lines, if necessary, using '\'.
 | 
			
		||||
 | 
			
		||||
GenericExecuteSynth \
 | 
			
		||||
"epos-say -o --language $LANGUAGE --voice $VOICE --init_f $PITCH --init_t $RATE \
 | 
			
		||||
\'$DATA\' | sed -e /unknown*/d >$TMPDIR/epos-said.wav && play $TMPDIR/epos-said.wav >/dev/null"
 | 
			
		||||
 | 
			
		||||
# GenericStripPunctChars is a list (enclosed in doublequotes) of
 | 
			
		||||
# all the characters that should be replaced by whitespaces in
 | 
			
		||||
# order not to be badly handled by the output module or misinterpreted
 | 
			
		||||
# by shell.
 | 
			
		||||
 | 
			
		||||
# GenericStripPunctChars  "~@#$%^&*+=|\\/<>[]_`"
 | 
			
		||||
 | 
			
		||||
# AddVoice specifies which $VOICE string should be assigned to
 | 
			
		||||
# each language and symbolic voice name. All the voices you want
 | 
			
		||||
# to use must be specified here.
 | 
			
		||||
 | 
			
		||||
AddVoice        "cs"	"male1"      "kadlec"
 | 
			
		||||
AddVoice        "sk"	"male1"      "bob"
 | 
			
		||||
 | 
			
		||||
# If the language you need to pass in $LANG is different
 | 
			
		||||
# from the standard ISO language code, you can specify
 | 
			
		||||
# which string to use instead. If you wish to use
 | 
			
		||||
# other than ISO charset for the specified language,
 | 
			
		||||
# you can add it's name (as accepted by iconv) as a
 | 
			
		||||
# third parameter in doublequotes.
 | 
			
		||||
 | 
			
		||||
GenericLanguage	"cs" "czech"
 | 
			
		||||
GenericLanguage "sk" "slovak"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# These parameters set _rate_ and _pitch_ conversion. This is
 | 
			
		||||
# part of the core of the definition of this generic output
 | 
			
		||||
# module for this concrete synthesizer, it's not intended to
 | 
			
		||||
# be modified by common users.
 | 
			
		||||
# The resulting rate (or pitch) has the form:
 | 
			
		||||
# 	(speechd_rate * GenericRateMultiply) + GenericRateAdd
 | 
			
		||||
# while speechd_rate is a value between -100 (lowest) and +100 (highest)
 | 
			
		||||
# You have to define some meaningful conversion for each synthesizer
 | 
			
		||||
 | 
			
		||||
GenericRateAdd 100
 | 
			
		||||
GenericPitchAdd	100
 | 
			
		||||
#GenericVolumeAdd 100
 | 
			
		||||
 | 
			
		||||
# (These values are multiplied by 100, because DotConf currently
 | 
			
		||||
# doesn't support floats. So you can write 0.85 as 85 and so on.)
 | 
			
		||||
 | 
			
		||||
GenericRateMultiply -85
 | 
			
		||||
GenericPitchMultiply 100
 | 
			
		||||
#GenericVolumeMultiply 50
 | 
			
		||||
 | 
			
		||||
# If the client program can't handle floats, you will have to
 | 
			
		||||
# use these two options to force integers as the parameters
 | 
			
		||||
# 1 means force integers, 0 means do nothing (write floats).
 | 
			
		||||
 | 
			
		||||
#GenericRateForceInteger 0
 | 
			
		||||
#GenericPitchForceInteger 0
 | 
			
		||||
#GenericVolumeForceInteger 0
 | 
			
		||||
 | 
			
		||||
# Debug turns debugging on or off
 | 
			
		||||
# See speechd.conf for information where debugging information is stored
 | 
			
		||||
# Debug 0
 | 
			
		||||
							
								
								
									
										123
									
								
								etc_org/speech-dispatcher/modules/espeak-generic.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										123
									
								
								etc_org/speech-dispatcher/modules/espeak-generic.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,123 @@
 | 
			
		||||
# Espeak output module is based on the generic plugin for Speech
 | 
			
		||||
# Dispatcher. It means there is no C code written explicitly for
 | 
			
		||||
# this plugin, all the specifics are handled in this configuration
 | 
			
		||||
# and we call a simple command line client to perform the actual
 | 
			
		||||
# synthesis. Use this config file with the sd_generic output module.
 | 
			
		||||
#
 | 
			
		||||
# IMPORTANT: The audio output method relies on ALSA Player (aplay)
 | 
			
		||||
# being installed. If this is not the case, consider installing it
 | 
			
		||||
# or replace the aplay command in the GenericExecuteString below
 | 
			
		||||
# with play or similar.
 | 
			
		||||
#
 | 
			
		||||
# GenericExecuteString to what's the name of this utility on your
 | 
			
		||||
# system (it might be "speak")
 | 
			
		||||
 | 
			
		||||
# GenericExecuteSynth is the shell command that should be
 | 
			
		||||
# executed in order to say some message. This command must
 | 
			
		||||
# stop saying the message on SIGKILL, otherwise it's useless.
 | 
			
		||||
# You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE
 | 
			
		||||
# which will be substituted for the appropriate value (you
 | 
			
		||||
# can modify this value, see other parameters).
 | 
			
		||||
# The command can be split into more lines, if necessary, using '\'.
 | 
			
		||||
GenericExecuteSynth \
 | 
			
		||||
"echo \'$DATA\' | espeak -w $TMPDIR/espeak.wav -v $VOICE -s $RATE -a $VOLUME -p $PITCH $PUNCT --stdin && $PLAY_COMMAND $TMPDIR/espeak.wav"
 | 
			
		||||
 | 
			
		||||
# The following three items control punctuation levels None, Some, and All.
 | 
			
		||||
# Each of these values will be substituted into the $PUNCT variable depending
 | 
			
		||||
# on the value passed to speech dispatcher from applications.
 | 
			
		||||
# Note that if an empty string is specified, then $PUNCT will be blank 
 | 
			
		||||
# which is a default situation for espeak.
 | 
			
		||||
 
 | 
			
		||||
GenericPunctNone ""
 | 
			
		||||
GenericPunctSome "--punct=\"()[]{};:\""
 | 
			
		||||
GenericPunctAll "--punct"
 | 
			
		||||
 | 
			
		||||
# GenericStripPunctChars is a list (enclosed in doublequotes) of
 | 
			
		||||
# all the characters that should be replaced by whitespaces in
 | 
			
		||||
# order not to be badly handled by the output module or misinterpreted
 | 
			
		||||
# by shell.
 | 
			
		||||
 | 
			
		||||
# GenericStripPunctChars  ""
 | 
			
		||||
 | 
			
		||||
# AddVoice specifies which $VOICE string should be assigned to
 | 
			
		||||
# each language and symbolic voice name. All the voices you want
 | 
			
		||||
# to use must be specified here. This list will likely not be
 | 
			
		||||
# up-to-date, please check eSpeak documentation and add the voices
 | 
			
		||||
# you want to use. Or better use the native espeak module ('espeak'
 | 
			
		||||
# not 'espeak-generic')
 | 
			
		||||
 | 
			
		||||
AddVoice        "en"    "MALE1"		"en"
 | 
			
		||||
AddVoice	"en"    "MALE2"		"en-b"
 | 
			
		||||
AddVoice	"en"    "MALE3"		"en-d"
 | 
			
		||||
AddVoice	"en"    "FEMALE1"   	"en-f"
 | 
			
		||||
AddVoice	"en"    "FEMALE2"   	"en-fb"
 | 
			
		||||
AddVoice	"en"    "FEMALE3"   	"en-fd"
 | 
			
		||||
AddVoice	"en"    "CHILD_MALE"    "en-c"
 | 
			
		||||
AddVoice	"en"	"CHILD_FEMALE" 	"en-fc"
 | 
			
		||||
AddVoice        "af"    "MALE1"		"af"
 | 
			
		||||
AddVoice        "de"    "MALE1"		"de"
 | 
			
		||||
AddVoice        "eo"    "MALE1"		"eo"
 | 
			
		||||
AddVoice        "es"    "MALE1"		"es"
 | 
			
		||||
AddVoice        "fi"    "MALE1"		"fi"
 | 
			
		||||
AddVoice        "fr"    "MALE1"		"fr"
 | 
			
		||||
AddVoice        "it"    "MALE1"		"it"
 | 
			
		||||
AddVoice        "pt"    "MALE1"		"pt"
 | 
			
		||||
AddVoice        "ro"    "MALE1"		"ro"
 | 
			
		||||
 | 
			
		||||
# Experimental voices
 | 
			
		||||
AddVoice        "cs"    "MALE1"		"cs"
 | 
			
		||||
AddVoice        "cy"    "MALE1"		"cy"
 | 
			
		||||
AddVoice        "el"    "MALE1"		"el"
 | 
			
		||||
AddVoice        "nl"    "MALE1"		"nl"
 | 
			
		||||
AddVoice        "no"    "MALE1"		"no"
 | 
			
		||||
AddVoice        "hi"    "MALE1"		"hi"
 | 
			
		||||
AddVoice        "pl"    "MALE1"		"pl"
 | 
			
		||||
AddVoice        "ru"    "MALE1"		"ru"
 | 
			
		||||
AddVoice        "sv"    "MALE1"		"sv"
 | 
			
		||||
AddVoice        "vi"    "MALE1"		"vi"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# These parameters set _rate_, _pitch_, and _volume_ conversion. This is
 | 
			
		||||
# part of the core of the definition of this generic output
 | 
			
		||||
# module for this concrete synthesizer, it's not intended to
 | 
			
		||||
# be modified by common users.
 | 
			
		||||
# The resulting rate (or pitch) has the form:
 | 
			
		||||
#       (speechd_rate * GenericRateMultiply) + GenericRateAdd
 | 
			
		||||
# while speechd_rate is a value between -100 (lowest) and +100 (highest)
 | 
			
		||||
# You have to define some meaningful conversion for each synthesizer
 | 
			
		||||
 | 
			
		||||
# Here's the mapping from SSIP (Speech Dispatcher) to ESpeak (v1.10):
 | 
			
		||||
#
 | 
			
		||||
#           SSIP Range  SSIP Default    ESpeak Range    ESpeak Default
 | 
			
		||||
#           ----------- ------------    ------------    --------------
 | 
			
		||||
# Rate      -100 to 100     0           80 to 320       160
 | 
			
		||||
# Pitch     -100 to 100     0            0 to 99         50
 | 
			
		||||
# Volume    -100 to 100     0            0 to 20         10
 | 
			
		||||
#
 | 
			
		||||
# The SSIP defaults are actually controlled via DefaultRate, DefaultPitch, and
 | 
			
		||||
# DefaultVolume in the speechd.conf file.
 | 
			
		||||
 | 
			
		||||
GenericRateAdd          160
 | 
			
		||||
GenericPitchAdd         50
 | 
			
		||||
GenericVolumeAdd        10
 | 
			
		||||
 | 
			
		||||
# (These values are multiplied by 100, because DotConf currently
 | 
			
		||||
# doesn't support floats. So you can write 0.85 as 85 and so on.)
 | 
			
		||||
 | 
			
		||||
GenericRateMultiply     160
 | 
			
		||||
GenericPitchMultiply    50
 | 
			
		||||
GenericVolumeMultiply   10
 | 
			
		||||
 | 
			
		||||
# If the client program can't handle floats, you will have to
 | 
			
		||||
# use these two options to force integers as the parameters
 | 
			
		||||
# 1 means force integers, 0 means do nothing (write floats).
 | 
			
		||||
 | 
			
		||||
GenericRateForceInteger     1
 | 
			
		||||
GenericPitchForceInteger    1
 | 
			
		||||
GenericVolumeForceInteger   1
 | 
			
		||||
 | 
			
		||||
# Note that SSIP rates < -50 are spoken at -50.
 | 
			
		||||
 | 
			
		||||
# Debug turns debugging on or off
 | 
			
		||||
# See speechd.conf for information where debugging information is stored
 | 
			
		||||
Debug 0
 | 
			
		||||
							
								
								
									
										158
									
								
								etc_org/speech-dispatcher/modules/espeak-mbrola-generic.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										158
									
								
								etc_org/speech-dispatcher/modules/espeak-mbrola-generic.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,158 @@
 | 
			
		||||
# Espeak mbrola output module is based on the generic plugin for Speech
 | 
			
		||||
# Dispatcher. It means there is no code written explicitly for
 | 
			
		||||
# this plugin, all the specifics are handled in this configuration
 | 
			
		||||
# and we call a simple command line client to perform the actual
 | 
			
		||||
# synthesis. Use this config file with the sd_generic output module.
 | 
			
		||||
#
 | 
			
		||||
# IMPORTANT: The audio output method relies on an audio playback
 | 
			
		||||
# utility (play, aplay, paplay for OSS, ALSA or Pulse)
 | 
			
		||||
# being installed. If this is not the case, consider installing it
 | 
			
		||||
# or replace the $PLAY_COMMAND string in the GenericExecuteString below
 | 
			
		||||
# with play, paplay or similar.
 | 
			
		||||
#
 | 
			
		||||
# GenericExecuteSynth is the shell command that should be
 | 
			
		||||
# executed in order to say some message. This command must
 | 
			
		||||
# stop saying the message on SIGKILL, otherwise it's useless.
 | 
			
		||||
# You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE
 | 
			
		||||
# which will be substituted for the appropriate value (you
 | 
			
		||||
# can modify this value, see other parameters).
 | 
			
		||||
# The command can be split into more lines, if necessary, using '\'.
 | 
			
		||||
GenericExecuteSynth \
 | 
			
		||||
"echo \'$DATA\' | espeak -v mb-$VOICE -s $RATE -p $PITCH $PUNCT -q --stdin --pho | mbrola -v $VOLUME -e /usr/share/mbrola/$VOICE/$VOICE - -.au | $PLAY_COMMAND
 | 
			
		||||
 | 
			
		||||
# The following three items control punctuation levels None, Some, and All.
 | 
			
		||||
# Each of these values will be substituted into the $PUNCT variable depending
 | 
			
		||||
# on the value passed to speech dispatcher from applications.
 | 
			
		||||
# Note that if an empty string is specified, then $PUNCT will be blank 
 | 
			
		||||
# which is a default situation for espeak.
 | 
			
		||||
 
 | 
			
		||||
GenericPunctNone " "
 | 
			
		||||
GenericPunctSome "--punct=\"()[]{};:\""
 | 
			
		||||
GenericPunctAll "--punct"
 | 
			
		||||
 | 
			
		||||
# GenericStripPunctChars is a list (enclosed in doublequotes) of
 | 
			
		||||
# all the characters that should be replaced by whitespaces in
 | 
			
		||||
# order not to be badly handled by the output module or misinterpreted
 | 
			
		||||
# by shell.
 | 
			
		||||
# GenericStripPunctChars  ""
 | 
			
		||||
 | 
			
		||||
# If the language you need to pass in $LANG is different
 | 
			
		||||
# from the standard ISO language code, you can specify
 | 
			
		||||
# which string to use instead. If you wish to use
 | 
			
		||||
# other than ISO charset for the specified language,
 | 
			
		||||
# you can add it's name (as accepted by iconv) as a
 | 
			
		||||
# third parameter in doublequotes.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
GenericLanguage		  "af" "af" "utf-8"
 | 
			
		||||
GenericLanguage		  "cs" "cs" "utf-8"
 | 
			
		||||
GenericLanguage		  "de" "de" "utf-8"
 | 
			
		||||
GenericLanguage		  "el" "el" "utf-8"
 | 
			
		||||
GenericLanguage		  "en" "en" "utf-8"
 | 
			
		||||
GenericLanguage		  "es" "es" "utf-8"
 | 
			
		||||
GenericLanguage		  "fr" "fr" "utf-8"
 | 
			
		||||
GenericLanguage		  "hr" "hr" "utf-8"
 | 
			
		||||
GenericLanguage		  "hu" "hu" "utf-8"
 | 
			
		||||
GenericLanguage		  "it" "it" "utf-8"
 | 
			
		||||
GenericLanguage		  "la" "la" "utf-8"
 | 
			
		||||
GenericLanguage		  "nl" "nl" "utf-8"
 | 
			
		||||
GenericLanguage		  "pl" "pl" "utf-8"
 | 
			
		||||
GenericLanguage		  "pt" "pt" "utf-8"
 | 
			
		||||
GenericLanguage		  "ro" "ro" "utf-8"
 | 
			
		||||
GenericLanguage		  "sv" "sv" "utf-8"
 | 
			
		||||
GenericLanguage		  "sw" "sw" "utf-8"
 | 
			
		||||
GenericLanguage		  "gr" "gr" "utf-8"
 | 
			
		||||
GenericLanguage		  "cr" "cr" "utf-8"
 | 
			
		||||
GenericLanguage		  "hu" "hu" "utf-8"
 | 
			
		||||
GenericLanguage		  "id" "id" "utf-8"
 | 
			
		||||
 | 
			
		||||
# AddVoice specifies which $VOICE string should be assigned to
 | 
			
		||||
# each language and symbolic voice name. All the voices you want
 | 
			
		||||
# to use must be specified here. This list will likely not be
 | 
			
		||||
# up-to-date, please check eSpeak documentation and add the voices
 | 
			
		||||
# you want to use. Or better use the native espeak module ('espeak'
 | 
			
		||||
# not 'espeak-generic')
 | 
			
		||||
 | 
			
		||||
AddVoice        "en"    "MALE1"		"en1"
 | 
			
		||||
AddVoice        "en"    "MALE2"		"us2"
 | 
			
		||||
AddVoice        "en"    "MALE3"		"us3"
 | 
			
		||||
AddVoice        "en"    "FEMALE1"	"us1"
 | 
			
		||||
 | 
			
		||||
AddVoice        "de"    "MALE1"         "de4"
 | 
			
		||||
AddVoice        "de"    "MALE2"         "de6"
 | 
			
		||||
AddVoice        "de"    "FEMALE1"       "de5"
 | 
			
		||||
AddVoice        "de"    "FEMALE2"       "de7"
 | 
			
		||||
 | 
			
		||||
AddVoice        "fr"    "MALE1"       "fr1"
 | 
			
		||||
AddVoice        "fr"    "FEMALE1"     "fr4"
 | 
			
		||||
 | 
			
		||||
AddVoice        "it"    "MALE1"		"it3"
 | 
			
		||||
AddVoice        "it"    "FEMALE1"	"it4"
 | 
			
		||||
 | 
			
		||||
AddVoice        "es"    "MALE1"		"es1"
 | 
			
		||||
AddVoice        "es"    "MALE2"		"es2"
 | 
			
		||||
 | 
			
		||||
AddVoice        "sw"    "MALE1"         "sw1"
 | 
			
		||||
AddVoice        "sw"    "FEMALE1"    	"sw2"
 | 
			
		||||
 | 
			
		||||
AddVoice        "gr"    "MALE1"       	"gr1"
 | 
			
		||||
AddVoice        "gr"    "MALE2"       	"gr2"
 | 
			
		||||
 | 
			
		||||
AddVoice        "pt"    "MALE1"       	"br1"
 | 
			
		||||
AddVoice        "pt"    "MALE2"       	"br3"
 | 
			
		||||
AddVoice        "pt"    "FEMALE1"       "pt1"
 | 
			
		||||
 | 
			
		||||
AddVoice        "cs"    "MALE1"	      	"cz2"
 | 
			
		||||
AddVoice        "pl"    "FEMALE1"       "pl1"
 | 
			
		||||
AddVoice        "ro"    "MALE1"	      	"ro1"
 | 
			
		||||
AddVoice        "af"    "MALE1"       	"af1"
 | 
			
		||||
AddVoice        "cr"    "MALE1"       	"cr1"
 | 
			
		||||
AddVoice        "hu"    "MALE1"       	"hu1"
 | 
			
		||||
AddVoice        "la"    "MALE1"       	"la1"
 | 
			
		||||
AddVoice        "id"    "MALE1"       	"id1"
 | 
			
		||||
AddVoice        "nl"    "MALE1"       	"nl2"
 | 
			
		||||
 | 
			
		||||
# These parameters set _rate_, _pitch_, and _volume_ conversion. This is
 | 
			
		||||
# part of the core of the definition of this generic output
 | 
			
		||||
# module for this concrete synthesizer, it's not intended to
 | 
			
		||||
# be modified by common users.
 | 
			
		||||
# The resulting rate (or pitch) has the form:
 | 
			
		||||
#       (speechd_rate * GenericRateMultiply) + GenericRateAdd
 | 
			
		||||
# while speechd_rate is a value between -100 (lowest) and +100 (highest)
 | 
			
		||||
# You have to define some meaningful conversion for each synthesizer
 | 
			
		||||
 | 
			
		||||
# Here's the mapping from SSIP (Speech Dispatcher) to ESpeak (v1.10):
 | 
			
		||||
#
 | 
			
		||||
#           SSIP Range  SSIP Default    ESpeak/MBROLA Range ESpeak Default
 | 
			
		||||
#           ----------- ------------    ------------         --------------
 | 
			
		||||
# Rate      -100 to 100     0           80 to 320       160
 | 
			
		||||
# Pitch     -100 to 100     0            0 to 99         50
 | 
			
		||||
# Volume    -100 to 100     0            0 to 2          --
 | 
			
		||||
#
 | 
			
		||||
# The SSIP defaults are actually controlled via DefaultRate, DefaultPitch, and
 | 
			
		||||
# DefaultVolume in the speechd.conf file.
 | 
			
		||||
 | 
			
		||||
GenericRateAdd          160
 | 
			
		||||
GenericPitchAdd         50
 | 
			
		||||
GenericVolumeAdd        1
 | 
			
		||||
 | 
			
		||||
# (These values are multiplied by 100, because DotConf currently
 | 
			
		||||
# doesn't support floats. So you can write 0.85 as 85 and so on.)
 | 
			
		||||
 | 
			
		||||
GenericRateMultiply     160
 | 
			
		||||
GenericPitchMultiply    50
 | 
			
		||||
GenericVolumeMultiply   1
 | 
			
		||||
 | 
			
		||||
# If the client program can't handle floats, you will have to
 | 
			
		||||
# use these two options to force integers as the parameters
 | 
			
		||||
# 1 means force integers, 0 means do nothing (write floats).
 | 
			
		||||
 | 
			
		||||
GenericRateForceInteger     1
 | 
			
		||||
GenericPitchForceInteger    1
 | 
			
		||||
GenericVolumeForceInteger   0
 | 
			
		||||
 | 
			
		||||
# Note that SSIP rates < -50 are spoken at -50.
 | 
			
		||||
 | 
			
		||||
# Debug turns debugging on or off
 | 
			
		||||
# See speechd.conf for information where debugging information is stored
 | 
			
		||||
Debug 0
 | 
			
		||||
							
								
								
									
										56
									
								
								etc_org/speech-dispatcher/modules/espeak.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								etc_org/speech-dispatcher/modules/espeak.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,56 @@
 | 
			
		||||
 | 
			
		||||
# -- SOUND ICONS --
 | 
			
		||||
 | 
			
		||||
# Espeak  does not currently support playing sound icons
 | 
			
		||||
# (audio files that are played by name when an application requests
 | 
			
		||||
# a sound icon).  If you have installed the free(b)soft sound-icons
 | 
			
		||||
# package, this is the directory where will they be found.  If not
 | 
			
		||||
# blank, the espeak Output Module will play them if it finds a
 | 
			
		||||
# file whose name matches the sound icon name.  If blank, or no
 | 
			
		||||
# matching file is found, the name of the sound icon will be spoken.
 | 
			
		||||
 | 
			
		||||
EspeakSoundIconFolder "/usr/share/sounds/sound-icons/"
 | 
			
		||||
 | 
			
		||||
# Volume at which sound icons are played.
 | 
			
		||||
 | 
			
		||||
EspeakSoundIconVolume 0
 | 
			
		||||
 | 
			
		||||
# -- Punctuation --
 | 
			
		||||
 | 
			
		||||
# Characters to be spoken when punctuation setting is "some"
 | 
			
		||||
# Encoding is UTF-8.
 | 
			
		||||
EspeakPunctuationList "@+_"
 | 
			
		||||
EspeakCapitalPitchRise 0
 | 
			
		||||
 | 
			
		||||
# -- Rate control --
 | 
			
		||||
# The following options are in words per minute
 | 
			
		||||
#the same as the -s parameter for the -s option in espeak command line tool.
 | 
			
		||||
 | 
			
		||||
# Minimum rate (-100 in speech-dispatcher)
 | 
			
		||||
EspeakMinRate 80
 | 
			
		||||
 | 
			
		||||
# Normal rate (0 in speech-dispatcher)
 | 
			
		||||
EspeakNormalRate 170
 | 
			
		||||
 | 
			
		||||
# Maximum rate (100 in speech-dispatcher)
 | 
			
		||||
EspeakMaxRate 390
 | 
			
		||||
 | 
			
		||||
# -- Espeak variants --
 | 
			
		||||
 | 
			
		||||
# Controls whether espeak voice variants are presented in the list of
 | 
			
		||||
# available voices. A value of 1 will present an espeak voice, plus the
 | 
			
		||||
# espeak voice with all the available variants. A value of 0 will present
 | 
			
		||||
# the list of espeak voices only.
 | 
			
		||||
 | 
			
		||||
EspeakListVoiceVariants 0
 | 
			
		||||
 | 
			
		||||
# -- Internal parameters --
 | 
			
		||||
 | 
			
		||||
# Number of ms of audio returned by the espeak callback function.
 | 
			
		||||
EspeakAudioChunkSize 3000
 | 
			
		||||
 | 
			
		||||
# Maximum number of samples to buffer in playback queue.
 | 
			
		||||
EspeakAudioQueueMaxSize 441000
 | 
			
		||||
 | 
			
		||||
# Debugging
 | 
			
		||||
Debug 0
 | 
			
		||||
							
								
								
									
										76
									
								
								etc_org/speech-dispatcher/modules/festival.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										76
									
								
								etc_org/speech-dispatcher/modules/festival.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,76 @@
 | 
			
		||||
 | 
			
		||||
# -- FESTIVAL SERVER SETTINGS --
 | 
			
		||||
 | 
			
		||||
# Address where the Festival server runs (you have to
 | 
			
		||||
# have a Festival server running, please see documentation).
 | 
			
		||||
 | 
			
		||||
#FestivalServerHost  "localhost"
 | 
			
		||||
#FestivalServerPort   1314
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# -- CACHING --
 | 
			
		||||
 | 
			
		||||
# Festival output module supports a caching mechanism for
 | 
			
		||||
# repeated events like characters, keys and sound icons
 | 
			
		||||
# that saves the wavefiles retrieved from the synthesizer
 | 
			
		||||
# and uses them next time an identical request is issued.
 | 
			
		||||
# This way, the synthesis is much more responsive when
 | 
			
		||||
# you type in keys, you spell some word by going over it
 | 
			
		||||
# with cursor keys, sound icons are faster and so on.
 | 
			
		||||
# If you wish to enable this caching mechanism, turn
 | 
			
		||||
# FestivalCacheOn to 1, or switch it off by 0.
 | 
			
		||||
 | 
			
		||||
# FestivalCacheOn 1
 | 
			
		||||
 | 
			
		||||
# How large should the memmory assigned to output module for
 | 
			
		||||
# cache should be. Festival will never overcome this limit.
 | 
			
		||||
# If there are more messages to save, the ones that are least
 | 
			
		||||
# accessed will be removed from the cache. So if you set this
 | 
			
		||||
# parameter too low, the module will often have to synthesize
 | 
			
		||||
# your request (which takes time) instead of just retrieving
 | 
			
		||||
# it from the cache, but you will save system resources. If you
 | 
			
		||||
# set it higher, it might make the module more responsive.
 | 
			
		||||
# The value is given in kilobytes, default is 10 megabytes.
 | 
			
		||||
 | 
			
		||||
# FestivalCacheMaxKBytes 10240
 | 
			
		||||
 | 
			
		||||
# Normally, the cache pool is common for all voices, rates and
 | 
			
		||||
# pitches. This means that when for example the key 'r' gets cached,
 | 
			
		||||
# you change the voice and request the key 'r' again, it will be
 | 
			
		||||
# retrieved from the cache and you will hear the old 'r' instead of a
 | 
			
		||||
# new one. By default, it only switches between languages.  In most
 | 
			
		||||
# cases, this isn't a problem for characters, keys and sound icons and
 | 
			
		||||
# it saves system resources. But if you want to keep separate caches
 | 
			
		||||
# for different voices (and even rates and pitches), please set the
 | 
			
		||||
# corresponding parameters to 1. (0 means don't distinguish).
 | 
			
		||||
 | 
			
		||||
# FestivalCacheDistinguishVoices 0
 | 
			
		||||
# FestivalCacheDistinguishRate 0
 | 
			
		||||
# FestivalCacheDistinguishPitch 0
 | 
			
		||||
 | 
			
		||||
# -- FESTIVAL PERFORMANCE --
 | 
			
		||||
 | 
			
		||||
# Switching FestivalReopenSocket to 1 will make the module close the
 | 
			
		||||
# connection to Festival each time the currently synthesized wavefile
 | 
			
		||||
# is no longer needed to finish and new text is waiting. This may improve
 | 
			
		||||
# Festival responsivity on slower machines, but might cause a more network
 | 
			
		||||
# trafic. Currently, the option is set to 0 by default, because there
 | 
			
		||||
# is a network problem in Festival socket communication layer that introduces
 | 
			
		||||
# unnecessary delays that affect the performance heavily in this mode.
 | 
			
		||||
# Unless your Festival is patched against this bug, switching this on
 | 
			
		||||
# is not recommended.
 | 
			
		||||
 | 
			
		||||
# FestivalReopenSocket 0
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# -- DEBUGING --
 | 
			
		||||
 | 
			
		||||
# Debug turns debugging on or off
 | 
			
		||||
# See speechd.conf for information where debugging information is stored
 | 
			
		||||
Debug 0
 | 
			
		||||
 | 
			
		||||
# If FestivalDebugSaveOutput is set to 1, it writes the produced sound tracks
 | 
			
		||||
# to /tmp/debug-festival-*.snd before it says them. You can later browse them
 | 
			
		||||
# for debugging purposes. They are numbered in order starting from 0.
 | 
			
		||||
 | 
			
		||||
# FestivalDebugSaveOutput 0
 | 
			
		||||
							
								
								
									
										15
									
								
								etc_org/speech-dispatcher/modules/flite.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								etc_org/speech-dispatcher/modules/flite.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
 | 
			
		||||
# See Festival commands comments for information
 | 
			
		||||
FliteMaxChunkLength    500
 | 
			
		||||
FliteDelimiters        ".?!;"
 | 
			
		||||
 | 
			
		||||
# Debug turns debugging on or off
 | 
			
		||||
# See speechd.conf for information where debugging information is stored
 | 
			
		||||
 | 
			
		||||
# Debug 0
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# DebugFile specifies the file where the debugging information
 | 
			
		||||
# should be stored (note that the log is overwritten each time
 | 
			
		||||
# the module starts)
 | 
			
		||||
# DebugFile "/tmp/debug-flite"
 | 
			
		||||
							
								
								
									
										204
									
								
								etc_org/speech-dispatcher/modules/ibmtts.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										204
									
								
								etc_org/speech-dispatcher/modules/ibmtts.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,204 @@
 | 
			
		||||
 | 
			
		||||
# -- SSML Support --
 | 
			
		||||
 | 
			
		||||
# Some version of IBM TTS support SSML. If IbmttsUseSSML
 | 
			
		||||
# is set to 1, SSML will be used and advanced features like
 | 
			
		||||
# index marking will be working. If set to 0, all SSML is
 | 
			
		||||
# deleted from the message prior to sending it to IBM TTS.
 | 
			
		||||
# By default, SSML support is switched on.
 | 
			
		||||
 | 
			
		||||
# IbmttsUseSSML 1
 | 
			
		||||
 | 
			
		||||
# -- User dictionaries --
 | 
			
		||||
 | 
			
		||||
# IBM TTS supports user dictionaries so that you may customize 
 | 
			
		||||
# the pronunciation of words, beginning of words or abbreviations
 | 
			
		||||
# according to the language. 
 | 
			
		||||
# 
 | 
			
		||||
# IbmttsDictionaryFolder defines the root directory under which you 
 | 
			
		||||
# may add your dictionary files. If several languages are installed,
 | 
			
		||||
# you may want to create one sub-directory per language. 
 | 
			
		||||
#
 | 
			
		||||
# Three examples : 
 | 
			
		||||
# 
 | 
			
		||||
# - a single language is installed:
 | 
			
		||||
# place your files under IbmttsDictionaryFolder
 | 
			
		||||
# 
 | 
			
		||||
# - two languages are installed, say English and French:
 | 
			
		||||
# place your files under IbmttsDictionaryFolder in sub-directories en and fr
 | 
			
		||||
# 
 | 
			
		||||
# - the same language for different regions are installed, say Castilian 
 | 
			
		||||
#   Spanish and Mexican Spanish:
 | 
			
		||||
#   place your files in directories es_ES and es_MX
 | 
			
		||||
# 
 | 
			
		||||
# The directory names are listed below (DIRECTORY NAMES and EXTENDED 
 | 
			
		||||
# DIRECTORY NAMES).
 | 
			
		||||
#
 | 
			
		||||
# The name of the dictionary files are:
 | 
			
		||||
#
 | 
			
		||||
# - main.dct: main dictionary
 | 
			
		||||
# - root.dct: roots dictionary
 | 
			
		||||
# - extension.dct: main extension dictionary
 | 
			
		||||
# - abbreviation.dct: abbreviation dictionary 
 | 
			
		||||
#
 | 
			
		||||
# The IBM TTS documentation details the syntax of the user dictionaries.
 | 
			
		||||
# Basically, it is one line per entry, composed of key, tabulation, value. 
 | 
			
		||||
#
 | 
			
		||||
# DIRECTORY NAMES
 | 
			
		||||
# ---------------
 | 
			
		||||
# de: German
 | 
			
		||||
# en: English
 | 
			
		||||
# es: Spanish
 | 
			
		||||
# fi: Finnish
 | 
			
		||||
# fr: French
 | 
			
		||||
# it: Italian
 | 
			
		||||
# ja: Japanese
 | 
			
		||||
# pt: Portuguese
 | 
			
		||||
# zh: Chinese
 | 
			
		||||
#
 | 
			
		||||
# EXTENDED DIRECTORY NAMES
 | 
			
		||||
# ------------------------
 | 
			
		||||
# en_GB: British English
 | 
			
		||||
# en_US: American English
 | 
			
		||||
# fr_CA: Canadian French
 | 
			
		||||
# fr_FR: French
 | 
			
		||||
# pt_BR: Brazilian Portuguese
 | 
			
		||||
# zh_CN: Mandarin Chinese
 | 
			
		||||
# zh_TW: Mandarin Taiwanese
 | 
			
		||||
 | 
			
		||||
IbmttsDictionaryFolder "/var/opt/IBM/ibmtts/dict"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# -- Abbreviation dictionaries --
 | 
			
		||||
 | 
			
		||||
# Enable the abbreviation dictionaries.
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
IbmttsUseAbbreviation 1
 | 
			
		||||
 | 
			
		||||
# -- SOUND ICONS --
 | 
			
		||||
 | 
			
		||||
# IBM TTS Synthesizer does not currently support sound icons
 | 
			
		||||
# (audio files that are played by name when an application requests
 | 
			
		||||
# a sound icon).  If you have installed the free(b)soft sound-icons
 | 
			
		||||
# package, this is the directory where will they be found.  If not
 | 
			
		||||
# blank, the IBM TTS Output Module will play them if it finds a
 | 
			
		||||
# file whose name matches the sound icon name.  If blank, or no
 | 
			
		||||
# matching file is found, the name of the sound icon will be spoken.
 | 
			
		||||
 | 
			
		||||
#IbmttsSoundIconFolder "/usr/share/sounds/sound-icons/"
 | 
			
		||||
 | 
			
		||||
# -- DEBUG --
 | 
			
		||||
 | 
			
		||||
# Debug turns debugging on or off
 | 
			
		||||
# See speechd.conf for information where debugging information is stored.
 | 
			
		||||
 | 
			
		||||
# TODO: Change this to 0 and comment out for final release.
 | 
			
		||||
 | 
			
		||||
Debug 0
 | 
			
		||||
 | 
			
		||||
# DebugFile specifies the file where the debugging information
 | 
			
		||||
# should be stored (note that the log is overwritten each time
 | 
			
		||||
# the module starts)
 | 
			
		||||
 | 
			
		||||
# DebugFile "/tmp/debug-ibmtts"
 | 
			
		||||
 | 
			
		||||
# -- VOICE PARAMETERS --
 | 
			
		||||
 | 
			
		||||
# This table provides a mechanism for fine-tuning the voices used for synthesis.
 | 
			
		||||
# The dialect is chosen by the table above, then adjusted according to these parameters.
 | 
			
		||||
# The columns are:
 | 
			
		||||
#   Voice Name   - See the Speech Dispatcher manual for standard voice names.  Use lowercase names.
 | 
			
		||||
#   M/F          - Gender.   0 = male. 1 = female.
 | 
			
		||||
#   Br           - Breathiness.  0 to 100. 0 is usually used for males, 40 or 50 for females.
 | 
			
		||||
#   Hd Sz        - Head Size.  0 to 100.
 | 
			
		||||
#   Pitch Bas    - Pitch Baseline.  0 to 100.
 | 
			
		||||
#   Pitch Flc    - Pitch Fluctuation.  0 to 100.
 | 
			
		||||
#   Rough        - Roughness.  0 to 100
 | 
			
		||||
#   Speed        - Rate.  0 to 100.
 | 
			
		||||
 | 
			
		||||
# Volume is controlled via speechd.conf or SSIP commands.
 | 
			
		||||
 | 
			
		||||
# Application RATE or PITCH commands are relative to the settings here.
 | 
			
		||||
# For example, if Pitch Bas is 80 below, a PITCH command of -50 would set the
 | 
			
		||||
# pitch baseline to halfway between 80 and 0, or 40.
 | 
			
		||||
 | 
			
		||||
# All columns must be provided.
 | 
			
		||||
 | 
			
		||||
#                                             Hd  -Pitch-
 | 
			
		||||
#                      Voice Name     M/F Br  Sz  Bas Flc Rough Speed
 | 
			
		||||
#                      -------------- --- --- --- --- --- ---   ---
 | 
			
		||||
#IbmttsVoiceParameters "male1"          0   0  50  65  30   0    50
 | 
			
		||||
#IbmttsVoiceParameters "male2"          0   0  86  56  47   0    50
 | 
			
		||||
#IbmttsVoiceParameters "male3"          0   0  50  69  34   0    70
 | 
			
		||||
#IbmttsVoiceParameters "male3"          0  20  30  61  44  18    50
 | 
			
		||||
#IbmttsVoiceParameters "female1"        1  50  50  81  30   0    50
 | 
			
		||||
#IbmttsVoiceParameters "female2"        1  40  56  89  35   0    70
 | 
			
		||||
#IbmttsVoiceParameters "female3"        1  40  45  68  30   3    50
 | 
			
		||||
IbmttsVoiceParameters  "child_male"     0   0  35  85  35   0    50
 | 
			
		||||
#IbmttsVoiceParameters "child_female"   1   0  22  93  35   0    50
 | 
			
		||||
 | 
			
		||||
# The table above shows the default mapping.
 | 
			
		||||
# It shows the default settings in the IBM TTS Engine, as follows:
 | 
			
		||||
#
 | 
			
		||||
# SD Voice Name     IBM TTS Voice
 | 
			
		||||
# -------------     -------------
 | 
			
		||||
# male1             Adult Male 1
 | 
			
		||||
# male2             Adult Male 2
 | 
			
		||||
# male3             Adult Male 3
 | 
			
		||||
# male3             Elderly Male (uncomment the 2nd "male3" line if you want to use this)
 | 
			
		||||
# female1           Adult Female 1
 | 
			
		||||
# female2           Adult Female 2
 | 
			
		||||
# female3           Elderly Female (notice there is no Adult Female 3)
 | 
			
		||||
# child_male        none provided (that is why it is uncommented, by default)
 | 
			
		||||
# child_female      Child
 | 
			
		||||
 | 
			
		||||
# -- KEY NAME SUBSTITUTIONS --
 | 
			
		||||
 | 
			
		||||
# Maps Speech Dispatcher key names used in SSIP KEY commands to speakable words.
 | 
			
		||||
# The string in the "SD Key" column occurring anywhere in a KEY command
 | 
			
		||||
# is replaced with the string in "Spoken".  The substitutions occur in the
 | 
			
		||||
# order listed.  "Lang" determines which language the substitution applies
 | 
			
		||||
# to.
 | 
			
		||||
 | 
			
		||||
#                     Lang  SD Key      Spoken
 | 
			
		||||
#                     ----  ----------- -----------
 | 
			
		||||
IbmttsKeySubstitution "en"  "kp--"      "keypad minus "
 | 
			
		||||
IbmttsKeySubstitution "en"  "kp-"       "keypad "
 | 
			
		||||
IbmttsKeySubstitution "en"  "_"         " "
 | 
			
		||||
IbmttsKeySubstitution "en"  "#"         "pound "
 | 
			
		||||
IbmttsKeySubstitution "en"  "&"         "ampersand "
 | 
			
		||||
IbmttsKeySubstitution "en"  "!"         "exclamation mark "
 | 
			
		||||
IbmttsKeySubstitution "en"  "¦"         "pipe "
 | 
			
		||||
IbmttsKeySubstitution "en"  "¤"         "currency "
 | 
			
		||||
IbmttsKeySubstitution "en"  "Ø"         "capital phi "
 | 
			
		||||
IbmttsKeySubstitution "en"  "ø"         "phi "
 | 
			
		||||
IbmttsKeySubstitution "en"  "ÿ"         "yummel "
 | 
			
		||||
IbmttsKeySubstitution "en"  ""         "dash "
 | 
			
		||||
IbmttsKeySubstitution "en"  "A"         "capital A "
 | 
			
		||||
IbmttsKeySubstitution "en"  "B"         "capital B "
 | 
			
		||||
IbmttsKeySubstitution "en"  "C"         "capital C "
 | 
			
		||||
IbmttsKeySubstitution "en"  "D"         "capital D "
 | 
			
		||||
IbmttsKeySubstitution "en"  "E"         "capital E "
 | 
			
		||||
IbmttsKeySubstitution "en"  "F"         "capital F "
 | 
			
		||||
IbmttsKeySubstitution "en"  "G"         "capital G "
 | 
			
		||||
IbmttsKeySubstitution "en"  "H"         "capital H "
 | 
			
		||||
IbmttsKeySubstitution "en"  "I"         "capital I "
 | 
			
		||||
IbmttsKeySubstitution "en"  "J"         "capital J "
 | 
			
		||||
IbmttsKeySubstitution "en"  "K"         "capital K "
 | 
			
		||||
IbmttsKeySubstitution "en"  "L"         "capital L "
 | 
			
		||||
IbmttsKeySubstitution "en"  "M"         "capital M "
 | 
			
		||||
IbmttsKeySubstitution "en"  "N"         "capital N "
 | 
			
		||||
IbmttsKeySubstitution "en"  "O"         "capital O "
 | 
			
		||||
IbmttsKeySubstitution "en"  "P"         "capital P "
 | 
			
		||||
IbmttsKeySubstitution "en"  "Q"         "capital Q "
 | 
			
		||||
IbmttsKeySubstitution "en"  "R"         "capital R "
 | 
			
		||||
IbmttsKeySubstitution "en"  "S"         "capital S "
 | 
			
		||||
IbmttsKeySubstitution "en"  "T"         "capital T "
 | 
			
		||||
IbmttsKeySubstitution "en"  "U"         "capital U "
 | 
			
		||||
IbmttsKeySubstitution "en"  "V"         "capital V "
 | 
			
		||||
IbmttsKeySubstitution "en"  "W"         "capital W "
 | 
			
		||||
IbmttsKeySubstitution "en"  "X"         "capital X "
 | 
			
		||||
IbmttsKeySubstitution "en"  "Y"         "capital Y "
 | 
			
		||||
IbmttsKeySubstitution "en"  "Z"         "capital Z "
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										39
									
								
								etc_org/speech-dispatcher/modules/ivona.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								etc_org/speech-dispatcher/modules/ivona.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,39 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Host and port - default values 
 | 
			
		||||
#IvonaServerHost "127.0.0.1"
 | 
			
		||||
#IvonaServerPort 9123
 | 
			
		||||
 | 
			
		||||
#Sample Frequency
 | 
			
		||||
#IvonaSampleFreq 16000
 | 
			
		||||
 | 
			
		||||
# Debug level - see Festival module configuration
 | 
			
		||||
Debug 0
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# DebugFile specifies the file where the debugging information
 | 
			
		||||
# should be stored (note that the log is overwritten each time
 | 
			
		||||
# the module starts)
 | 
			
		||||
# DebugFile "/tmp/debug-ivona"
 | 
			
		||||
 | 
			
		||||
# IvonaMinCapLet overrides DefaultCapLetRecognition.  Set to:
 | 
			
		||||
# 1 for "icon" - play icon even if default is "none"
 | 
			
		||||
# 2 for "spell" - spell "capital" even if default is "none" or "icon"
 | 
			
		||||
 | 
			
		||||
IvonaMinCapLet 1
 | 
			
		||||
 | 
			
		||||
IvonaSoundIconPath "/usr/share/sounds/sound-icons-0.1/"
 | 
			
		||||
 | 
			
		||||
#Ivona Speaker (depends on Ivona version)
 | 
			
		||||
#Jacek or Ewa for pl, Jennifer for en, Carmen for ro
 | 
			
		||||
 | 
			
		||||
IvonaSpeakerName "Jacek"
 | 
			
		||||
IvonaSpeakerLanguage "pl"
 | 
			
		||||
 | 
			
		||||
#Delimiters for message splitting
 | 
			
		||||
#Do not change if not sure!
 | 
			
		||||
#IvonaDelimiters ".;:,!?"
 | 
			
		||||
 | 
			
		||||
#Punctuation for "some"
 | 
			
		||||
#IvonaPunctuationSome "()"
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										66
									
								
								etc_org/speech-dispatcher/modules/llia_phon-generic.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										66
									
								
								etc_org/speech-dispatcher/modules/llia_phon-generic.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,66 @@
 | 
			
		||||
# llia_phon output module is based on the generic plugin for Speech
 | 
			
		||||
# Dispatcher. It means there is no C code written explicitly for
 | 
			
		||||
# this plugin, all the specifics are handled in this configuration
 | 
			
		||||
# and we call a simple command line client to perform the actual
 | 
			
		||||
# synthesis.
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
# WARNING: This is only a preliminary version and needs some more
 | 
			
		||||
# work to be really useful. We plan to finish it as soon as llia_phon
 | 
			
		||||
# is fixed in it's CVS.
 | 
			
		||||
 | 
			
		||||
# GenericExecuteSynth is the shell command that should be
 | 
			
		||||
# executed in order to say some message. This command must
 | 
			
		||||
# stop saying the message on SIGKILL, otherwise it's useless.
 | 
			
		||||
# You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE
 | 
			
		||||
# which will be substituted for the appropriate value (you
 | 
			
		||||
# can modify this value, see other parameters).
 | 
			
		||||
# The command can be split into more lines, if necessary, using '\'.
 | 
			
		||||
 | 
			
		||||
GenericExecuteSynth \
 | 
			
		||||
"echo \'$DATA\' > $TMPDIR/llia_phon.txt && llia_phon | mbrola --f $PITCH --t $RATE \
 | 
			
		||||
-e -I LIAPHON/data/noarch/initfile.lia (directory with the voice) $VOICE \
 | 
			
		||||
$TMPDIR/llia_phon.txt -.au | $PLAY_COMMAND -t au - >/dev/null"
 | 
			
		||||
 | 
			
		||||
# AddVoice specifies which $VOICE string should be assigned to
 | 
			
		||||
# each language and symbolic voice name. All the voices you want
 | 
			
		||||
# to use must be specified here.
 | 
			
		||||
 | 
			
		||||
AddVoice        "fr"	"male1"      "phoneme-file"
 | 
			
		||||
AddVoice        "fr"	"male2"      "phoneme-file"
 | 
			
		||||
 | 
			
		||||
# These parameters set _rate_ and _pitch_ conversion. This is
 | 
			
		||||
# part of the core of the definition of this generic output
 | 
			
		||||
# module for this concrete synthesizer, it's not intended to
 | 
			
		||||
# be modified by common users.
 | 
			
		||||
# The resulting rate (or pitch) has the form:
 | 
			
		||||
# 	(speechd_rate * GenericRateMultiply) + GenericRateAdd
 | 
			
		||||
# while speechd_rate is a value between -100 (lowest) and +100 (highest)
 | 
			
		||||
# You have to define some meaningful conversion for each synthesizer
 | 
			
		||||
 | 
			
		||||
GenericRateAdd 100
 | 
			
		||||
GenericPitchAdd	100
 | 
			
		||||
#GenericVolumeAdd 100
 | 
			
		||||
 | 
			
		||||
# (These values are multiplied by 100, because DotConf currently
 | 
			
		||||
# doesn't support floats. So you can write 0.85 as 85 and so on.)
 | 
			
		||||
 | 
			
		||||
GenericRateMultiply -85
 | 
			
		||||
GenericPitchMultiply 100
 | 
			
		||||
#GenericVolumeMultiply 50
 | 
			
		||||
 | 
			
		||||
# If the client program can't handle floats, you will have to
 | 
			
		||||
# use these two options to force integers as the parameters
 | 
			
		||||
# 1 means force integers, 0 means do nothing (write floats).
 | 
			
		||||
 | 
			
		||||
#GenericRateForceInteger 0
 | 
			
		||||
#GenericPitchForceInteger 0
 | 
			
		||||
#GenericVolumeForceInteger 0
 | 
			
		||||
 | 
			
		||||
# Debug turns debugging on or off
 | 
			
		||||
# Debug 0
 | 
			
		||||
 | 
			
		||||
# DebugFile specifies the file where the debugging information
 | 
			
		||||
# should be stored (note that the log is overwritten each time
 | 
			
		||||
# the module starts)
 | 
			
		||||
# DebugFile "/tmp/debug-llia-phon-generic"
 | 
			
		||||
							
								
								
									
										77
									
								
								etc_org/speech-dispatcher/modules/pico-generic.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										77
									
								
								etc_org/speech-dispatcher/modules/pico-generic.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,77 @@
 | 
			
		||||
# pico output module is based on the generic plugin for Speech
 | 
			
		||||
# Dispatcher. It means there is no code written explicitly for
 | 
			
		||||
# this plugin, all the specifics are handled in this configuration
 | 
			
		||||
# and we call a simple command line client to perform the actual
 | 
			
		||||
# synthesis. Use this config file with the sd_generic output module.
 | 
			
		||||
#
 | 
			
		||||
# IMPORTANT: The audio output method relies on an audio playback
 | 
			
		||||
# utility (play, aplay, paplay for OSS, ALSA or Pulse)
 | 
			
		||||
# being installed. If this is not the case, consider installing it
 | 
			
		||||
# or replace the $PLAY_COMMAND string in the GenericExecuteString below
 | 
			
		||||
# with play, paplay or similar.
 | 
			
		||||
#
 | 
			
		||||
# GenericExecuteSynth is the shell command that should be
 | 
			
		||||
# executed in order to say some message. This command must
 | 
			
		||||
# stop saying the message on SIGKILL, otherwise it's useless.
 | 
			
		||||
# You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE
 | 
			
		||||
# which will be substituted for the appropriate value (you
 | 
			
		||||
# can modify this value, see other parameters).
 | 
			
		||||
# The command can be split into more lines, if necessary, using '\'.
 | 
			
		||||
GenericExecuteSynth \
 | 
			
		||||
"pico2wave -w $TMPDIR/pico.wav -l $VOICE \'$DATA\' && $PLAY_COMMAND $TMPDIR/pico.wav
 | 
			
		||||
 | 
			
		||||
# The following three items control punctuation levels None, Some, and All.
 | 
			
		||||
# Each of these values will be substituted into the $PUNCT variable depending
 | 
			
		||||
# on the value passed to speech dispatcher from applications.
 | 
			
		||||
# Note that if an empty string is specified, then $PUNCT will be blank 
 | 
			
		||||
# which is a default situation for espeak.
 | 
			
		||||
 
 | 
			
		||||
GenericPunctNone " "
 | 
			
		||||
GenericPunctSome "--punct=\"()[]{};:\""
 | 
			
		||||
GenericPunctAll "--punct"
 | 
			
		||||
 | 
			
		||||
# GenericStripPunctChars is a list (enclosed in doublequotes) of
 | 
			
		||||
# all the characters that should be replaced by whitespaces in
 | 
			
		||||
# order not to be badly handled by the output module or misinterpreted
 | 
			
		||||
# by shell.
 | 
			
		||||
# GenericStripPunctChars  ""
 | 
			
		||||
 | 
			
		||||
# If the language you need to pass in $LANG is different
 | 
			
		||||
# from the standard ISO language code, you can specify
 | 
			
		||||
# which string to use instead. If you wish to use
 | 
			
		||||
# other than ISO charset for the specified language,
 | 
			
		||||
# you can add it's name (as accepted by iconv) as a
 | 
			
		||||
# third parameter in doublequotes.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
GenericLanguage		  "en" "en" "utf-8"
 | 
			
		||||
GenericLanguage		  "de" "de" "utf-8"
 | 
			
		||||
GenericLanguage		  "es" "es" "utf-8"
 | 
			
		||||
GenericLanguage		  "fr" "fr" "utf-8"
 | 
			
		||||
GenericLanguage		  "it" "it" "utf-8"
 | 
			
		||||
 | 
			
		||||
# AddVoice specifies which $VOICE string should be assigned to
 | 
			
		||||
# each language and symbolic voice name. All the voices you want
 | 
			
		||||
# to use must be specified here. This list will likely not be
 | 
			
		||||
# up-to-date, please check pico documentation and add the voices
 | 
			
		||||
# you want to use.
 | 
			
		||||
 | 
			
		||||
AddVoice        "en"    "FEMALE1"	"en-US"
 | 
			
		||||
AddVoice        "en"    "FEMALE2"	"en-GB"
 | 
			
		||||
AddVoice        "de"    "FEMALE1"	"de-DE"
 | 
			
		||||
AddVoice        "es"    "FEMALE1"	"es-ES"
 | 
			
		||||
AddVoice        "fr"    "FEMALE1"	"fr-FR"
 | 
			
		||||
AddVoice        "it"    "FEMALE1"	"it-IT"
 | 
			
		||||
 | 
			
		||||
# Yes, it's wrong, but this way you at least get something even when configured
 | 
			
		||||
# (by default) to use a male voice
 | 
			
		||||
AddVoice        "en"    "MALE1"		"en-US"
 | 
			
		||||
AddVoice        "en"    "MALE2"		"en-GB"
 | 
			
		||||
AddVoice        "de"    "MALE1"		"de-DE"
 | 
			
		||||
AddVoice        "es"    "MALE1"		"es-ES"
 | 
			
		||||
AddVoice        "fr"    "MALE1"		"fr-FR"
 | 
			
		||||
AddVoice        "it"    "MALE1"		"it-IT"
 | 
			
		||||
 | 
			
		||||
# Debug turns debugging on or off
 | 
			
		||||
# See speechd.conf for information where debugging information is stored
 | 
			
		||||
Debug 0
 | 
			
		||||
							
								
								
									
										65
									
								
								etc_org/speech-dispatcher/modules/swift-generic.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										65
									
								
								etc_org/speech-dispatcher/modules/swift-generic.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,65 @@
 | 
			
		||||
# Swift software output module is based on the generic plugin for Speech
 | 
			
		||||
# Dispatcher. It means there is no C code written explicitly for
 | 
			
		||||
# this plugin, all the specifics are handled in this configuration
 | 
			
		||||
# and we call a simple command line client to perform the actual
 | 
			
		||||
# synthesis. Note that this is not an optimal solution, but
 | 
			
		||||
# it's reported to work.
 | 
			
		||||
#Use this config file with the sd_generic output module.
 | 
			
		||||
#
 | 
			
		||||
# IMPORTANT: The audio output method relies on an audio playback
 | 
			
		||||
# utility (play, aplay, paplay for OSS, ALSA or Pulse)
 | 
			
		||||
# being installed. If this is not the case, consider installing it
 | 
			
		||||
# or replace the $PLAY_COMMAND string in the GenericExecuteString below
 | 
			
		||||
# with play, paplay or similar.
 | 
			
		||||
#
 | 
			
		||||
# Please note that Swift software is currently *not* Free Software.
 | 
			
		||||
#It can be purchased at www.cepstral.com.
 | 
			
		||||
 | 
			
		||||
# GenericExecuteSynth is the shell command that should be
 | 
			
		||||
# executed in order to say some message. This command must
 | 
			
		||||
# stop saying the message on SIGKILL, otherwise it's useless.
 | 
			
		||||
# You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE
 | 
			
		||||
# which will be substituted for the appropriate value (you
 | 
			
		||||
# can modify this value, see other parameters).
 | 
			
		||||
# The command can be split into more lines, if necessary, using '\'.
 | 
			
		||||
GenericExecuteSynth \
 | 
			
		||||
 "echo \'$DATA\' >/tmp/swift-speak.txt && /opt/swift/bin/swift -p speech/rate=$RATE,speech/pitch/shift=$PITCH,tts/content-type=text/plain,tts/text-encoding=utf-8,config/default-voice=$VOICE -f /tmp/swift-speak.txt -o /tmp/swift-speak.wav&& $PLAY_COMMAND /tmp/swift-speak.wav" 
 | 
			
		||||
 | 
			
		||||
# GenericStripPunctChars is a list (enclosed in doublequotes) of
 | 
			
		||||
# all the characters that should be replaced by whitespaces in
 | 
			
		||||
# order not to be badly handled by the output module or misinterpreted
 | 
			
		||||
# by shell.
 | 
			
		||||
# command characters.
 | 
			
		||||
GenericStripPunctChars  "[]"
 | 
			
		||||
 | 
			
		||||
# AddVoice specifies which $VOICE string should be assigned to
 | 
			
		||||
# each language and symbolic voice name. All the voices you want
 | 
			
		||||
# to use must be specified here.
 | 
			
		||||
 | 
			
		||||
AddVoice	"en"	"MALE1"		"David"
 | 
			
		||||
AddVoice	"en"	"FEMALE1" 	"Diane"
 | 
			
		||||
AddVoice	"en"	"FEMALE2"	"Linda"
 | 
			
		||||
AddVoice	"en"	"FEMALE3"	"Callie"
 | 
			
		||||
 | 
			
		||||
# These parameters set _rate_ and _pitch_ conversion. This is
 | 
			
		||||
# part of the core of the definition of this generic output
 | 
			
		||||
# module for this concrete synthesizer, it's not intended to
 | 
			
		||||
# be modified by common users.
 | 
			
		||||
# The resulting rate (or pitch) has the form:
 | 
			
		||||
# 	(speechd_rate * GenericRateMultiply) + GenericRateAdd
 | 
			
		||||
# while speechd_rate is a value between -100 (lowest) and +100 (highest)
 | 
			
		||||
# You have to define some meaningful conversion for each synthesizer
 | 
			
		||||
 | 
			
		||||
GenericRateForceInteger 1
 | 
			
		||||
 | 
			
		||||
GenericRateAdd 238
 | 
			
		||||
GenericPitchAdd 1
 | 
			
		||||
# (These values are multiplied by 100, because DotConf currently
 | 
			
		||||
# doesn't support floats. So you can write 0.85 as 85 and so on.)
 | 
			
		||||
 | 
			
		||||
GenericRateMultiply 262
 | 
			
		||||
GenericPitchMultiply 1
 | 
			
		||||
 | 
			
		||||
# Debug turns debugging on or off
 | 
			
		||||
# See speechd.conf for information where debugging information is stored
 | 
			
		||||
# Debug 0
 | 
			
		||||
							
								
								
									
										264
									
								
								etc_org/speech-dispatcher/speechd.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										264
									
								
								etc_org/speech-dispatcher/speechd.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,264 @@
 | 
			
		||||
 | 
			
		||||
# Global configuration for Speech Dispatcher
 | 
			
		||||
# ==========================================
 | 
			
		||||
 | 
			
		||||
# -----SYSTEM OPTIONS-----
 | 
			
		||||
 | 
			
		||||
# CommunicationMethod specifies the method to be used by Speech Dispatcher to communicate with
 | 
			
		||||
# its clients. Two basic methods are "unix_socket" and "inet_socket".
 | 
			
		||||
#
 | 
			
		||||
# unix_socket -- communication over Unix sockets represented by a file in the
 | 
			
		||||
# filesystem (see SocketPath below). This method works only locally, but is
 | 
			
		||||
# prefered for standard session setup, where every user runs his own instance of Speech
 | 
			
		||||
# Dispatcher to get voice feedback on his own computer.
 | 
			
		||||
#
 | 
			
		||||
# inet_socket -- alternatively, you can start Speech Dispatcher on
 | 
			
		||||
# a TCP port and connect to it via hostname/port. This allows for a more
 | 
			
		||||
# flexible setup, where you can use Speech Dispatcher over network
 | 
			
		||||
# from different machines. See also the Port and LocalhostAccessOnly
 | 
			
		||||
# configuration variables.
 | 
			
		||||
#
 | 
			
		||||
# CommunicationMethod "unix_socket"
 | 
			
		||||
 | 
			
		||||
# SocketPath is either "default" or a full path to the filesystem
 | 
			
		||||
# where the driving Unix socket file should be created in case the
 | 
			
		||||
# CommunicationMethod is set to "unix_socket". The default is
 | 
			
		||||
# $XDG_RUNTIME_DIR/speech-dispatcher/speechd.sock where $XDG_RUNTIME_DIR
 | 
			
		||||
# is the directory specified by the XDG Base Directory Specification.
 | 
			
		||||
# Do not change this unless you have a reason and know what you are doing.
 | 
			
		||||
 | 
			
		||||
# SocketPath "default"
 | 
			
		||||
 | 
			
		||||
# The Port on which Speech Dispatcher should be available to clients if the "inet_socket"
 | 
			
		||||
# communication method is used.
 | 
			
		||||
 | 
			
		||||
# Port 6560
 | 
			
		||||
 | 
			
		||||
# By default, if "inet_socket" communication method is used, the specified port is opened only
 | 
			
		||||
# for connections coming from localhost. If LocalhostAccessOnly is set to 0 it disables this
 | 
			
		||||
# access controll. It means that the port will be accessible from all computers on the
 | 
			
		||||
# network. If you turn off this option, please make sure you set up some system rules on what
 | 
			
		||||
# computers are and are not allowed to access the Speech Dispatcher port.
 | 
			
		||||
 | 
			
		||||
# LocalhostAccessOnly 1
 | 
			
		||||
 | 
			
		||||
# -----LOGGING CONFIGURATION-----
 | 
			
		||||
 | 
			
		||||
# The LogLevel is a number between 0 and 5 specifying the
 | 
			
		||||
# verbosity of information to the logfile  or screen
 | 
			
		||||
# 0 means nothing, 5 means everything (not recommended).
 | 
			
		||||
 | 
			
		||||
LogLevel  3
 | 
			
		||||
 | 
			
		||||
# The LogDir specifies where the Speech Dispatcher logs reside
 | 
			
		||||
# Specify "stdout" for standard console output
 | 
			
		||||
# or a custom log directory path. 'default' means
 | 
			
		||||
# the logs are written to the default destination (e.g. a preconfigured
 | 
			
		||||
# system directory or the home directory if .speech-dispatcher is present)
 | 
			
		||||
# DO NOT COMMENT OUT THIS OPTION, leave as "default" for standard logging
 | 
			
		||||
 | 
			
		||||
LogDir  "default"
 | 
			
		||||
#LogDir  "/var/log/speech-dispatcher/"
 | 
			
		||||
#LogDir  "stdout"
 | 
			
		||||
 | 
			
		||||
# The CustomLogFile allows logging all messages # regardless of
 | 
			
		||||
# priority, to the given destination.
 | 
			
		||||
#CustomLogFile "protocol" "/var/log/speech-dispatcher/speech-dispatcher-protocol.log"
 | 
			
		||||
 | 
			
		||||
# ----- VOICE PARAMETERS -----
 | 
			
		||||
 | 
			
		||||
# The DefaultRate controls how fast the synthesizer is going to speak.
 | 
			
		||||
# The value must be between -100 (slowest) and +100 (fastest), default
 | 
			
		||||
# is 0.
 | 
			
		||||
 | 
			
		||||
# DefaultRate  0
 | 
			
		||||
 | 
			
		||||
# The DefaultPitch controls the pitch of the synthesized voice.  The
 | 
			
		||||
# value must be between -100 (lowest) and +100 (highest), default is
 | 
			
		||||
# 0.
 | 
			
		||||
 | 
			
		||||
# DefaultPitch  0
 | 
			
		||||
 | 
			
		||||
# The DefaultVolume controls the default volume of the voice.  It is
 | 
			
		||||
# a value between -100 (softly) and +100 (loudly).  Currently, +100
 | 
			
		||||
# maps to the default volume of the synthesizer.
 | 
			
		||||
 | 
			
		||||
DefaultVolume 100
 | 
			
		||||
 | 
			
		||||
# The DefaultVoiceType controls which voice type should be used by
 | 
			
		||||
# default.  Voice types are symbolic names which map to particular
 | 
			
		||||
# voices provided by the synthesizer according to the output module
 | 
			
		||||
# configuration.  Please see the synthesizer-specific configuration
 | 
			
		||||
# in etc/speech-dispatcher/modules/ to see which voices are assigned to
 | 
			
		||||
# different symbolic names.  The following symbolic names are
 | 
			
		||||
# currently supported: MALE1, MALE2, MALE3, FEMALE1, FEMALE2, FEMALE3,
 | 
			
		||||
# CHILD_MALE, CHILD_FEMALE
 | 
			
		||||
 | 
			
		||||
# DefaultVoiceType  "MALE1"
 | 
			
		||||
 | 
			
		||||
# The Default language with which to speak
 | 
			
		||||
 | 
			
		||||
# DefaultLanguage "en"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# ----- MESSAGE DISPATCHING CONTROLL -----
 | 
			
		||||
 | 
			
		||||
# The DefaultClientName specifies the name of a client who didn't
 | 
			
		||||
# introduce himself at the beginning of an SSIP session.
 | 
			
		||||
 | 
			
		||||
# DefaultClientName  "unknown:unknown:unknown"
 | 
			
		||||
 | 
			
		||||
# The Default Priority. Use with caution, normally this shouldn't be
 | 
			
		||||
# changed globally (at this place)
 | 
			
		||||
 | 
			
		||||
# DefaultPriority  "text"
 | 
			
		||||
 | 
			
		||||
# The DefaultPauseContext specifies by how many index marks a speech
 | 
			
		||||
# cursor should return when resuming after a pause. This is roughly
 | 
			
		||||
# equivalent to the number of sentences before the place of the
 | 
			
		||||
# execution of pause that will be repeated.
 | 
			
		||||
 | 
			
		||||
# DefaultPauseContext 0
 | 
			
		||||
 | 
			
		||||
# -----SPELLING/PUNCTUATION/CAPITAL LETTERS  CONFIGURATION-----
 | 
			
		||||
 | 
			
		||||
# The DefaultPunctuationMode sets the way dots, comas, exclamation
 | 
			
		||||
# marks, question marks etc. are interpreted.  none: they are ignored
 | 
			
		||||
# some: some of them are sent to synthesis (see
 | 
			
		||||
# DefaultPunctuationSome) all: all punctuation marks are sent to
 | 
			
		||||
# synthesis
 | 
			
		||||
 | 
			
		||||
# DefaultPunctuationMode "none"
 | 
			
		||||
 | 
			
		||||
# The DefaultCapLetRecognition: if set to "spell", capital letters
 | 
			
		||||
# should be spelled (e.g. "capital b"), if set to "icon",
 | 
			
		||||
# capital letters are indicated by inserting a special sound
 | 
			
		||||
# before them but they should be read normally, it set to "none"
 | 
			
		||||
# capital letters are not recognized (by default)
 | 
			
		||||
 | 
			
		||||
# DefaultCapLetRecognition  "none"
 | 
			
		||||
 | 
			
		||||
# The DefaultSpelling: if set to On, all messages will be spelt
 | 
			
		||||
# unless set otherwise (this is usually not something you want to do.)
 | 
			
		||||
 | 
			
		||||
# DefaultSpelling  Off
 | 
			
		||||
 | 
			
		||||
# ----- AUDIO CONFIGURATION -----------
 | 
			
		||||
 | 
			
		||||
# -- AUDIO OUTPUT --
 | 
			
		||||
 | 
			
		||||
# Chooses between the possible sound output systems:
 | 
			
		||||
#       "pulse" - PulseAudio
 | 
			
		||||
#       "alsa"  - Advanced Linux Sound System
 | 
			
		||||
#       "oss"   - Open Sound System
 | 
			
		||||
#       "nas"   - Network Audio System
 | 
			
		||||
#       "libao" - A cross platform audio library
 | 
			
		||||
# Pulse audio is the default and recommended sound server. OSS and ALSA
 | 
			
		||||
# are only provided for compatibility with architectures that do not
 | 
			
		||||
# include Pulse Audio. NAS provides network transparency, but is not
 | 
			
		||||
# very well tested. libao is a cross platform library with plugins for
 | 
			
		||||
# different sound systems and provides alternative output for Pulse Audio
 | 
			
		||||
# and ALSA as well as for other backends.
 | 
			
		||||
 | 
			
		||||
# AudioOutputMethod "pulse"
 | 
			
		||||
 | 
			
		||||
# -- Pulse Audio parameters --
 | 
			
		||||
 | 
			
		||||
# Pulse audio server name or "default" for the default pulse server
 | 
			
		||||
 | 
			
		||||
#AudioPulseServer "default"
 | 
			
		||||
 | 
			
		||||
#AudioPulseMinLength 1764
 | 
			
		||||
 | 
			
		||||
# -- ALSA parameters --
 | 
			
		||||
 | 
			
		||||
# Audio device for ALSA output
 | 
			
		||||
 | 
			
		||||
#AudioALSADevice "default"
 | 
			
		||||
 | 
			
		||||
# -- OSS parameters --
 | 
			
		||||
 | 
			
		||||
# Audio device for OSS output
 | 
			
		||||
 | 
			
		||||
#AudioOSSDevice "/dev/dsp"
 | 
			
		||||
 | 
			
		||||
# -- NAS parameters --
 | 
			
		||||
 | 
			
		||||
# Route to the Network Audio System server when NAS
 | 
			
		||||
# is chosen for the audio output. Note that NAS
 | 
			
		||||
# server doesn't need to run on your machine,
 | 
			
		||||
# you can use it also over network (for instance
 | 
			
		||||
# when working on remote machines).
 | 
			
		||||
 | 
			
		||||
#AudioNASServer "tcp/localhost:5450"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# -----OUTPUT MODULES CONFIGURATION-----
 | 
			
		||||
 | 
			
		||||
# Each AddModule line loads an output module.
 | 
			
		||||
#  Syntax: AddModule "name" "binary" "configuration" "logfile"
 | 
			
		||||
#  - name is the name under which you can access this module
 | 
			
		||||
#  - binary is the path to the binary executable of this module,
 | 
			
		||||
#    either relative (to lib/speech-dispatcher-modules/) or absolute
 | 
			
		||||
#  - configuration is the path to the config file of this module,
 | 
			
		||||
#    either relative (to etc/speech-dispatcher/modules/) or absolute
 | 
			
		||||
 | 
			
		||||
#AddModule "espeak"       "sd_espeak"   "espeak.conf"
 | 
			
		||||
#AddModule "festival"     "sd_festival"  "festival.conf"
 | 
			
		||||
#AddModule "flite"        "sd_flite"     "flite.conf"
 | 
			
		||||
#AddModule "ivona"	 "sd_ivona"    "ivona.conf"
 | 
			
		||||
#AddModule "pico"        "sd_pico"     "pico.conf"
 | 
			
		||||
#AddModule "espeak-generic" "sd_generic" "espeak-generic.conf"
 | 
			
		||||
#AddModule "espeak-mbrola-generic" "sd_generic" "espeak-mbrola-generic.conf"
 | 
			
		||||
#AddModule "swift-generic" "sd_generic" "swift-generic.conf"
 | 
			
		||||
#AddModule "epos-generic" "sd_generic"   "epos-generic.conf"
 | 
			
		||||
#AddModule "dtk-generic"  "sd_generic"   "dtk-generic.conf"
 | 
			
		||||
#AddModule "pico-generic"  "sd_generic"   "pico-generic.conf"
 | 
			
		||||
#AddModule "ibmtts"       "sd_ibmtts"    "ibmtts.conf"
 | 
			
		||||
#AddModule "cicero"        "sd_cicero"     "cicero.conf"
 | 
			
		||||
 | 
			
		||||
# DO NOT REMOVE the following line unless you have
 | 
			
		||||
# a specific reason -- this is the fallback output module
 | 
			
		||||
# that is only used when no other modules are in use
 | 
			
		||||
#AddModule "dummy"         "sd_dummy"      ""
 | 
			
		||||
 | 
			
		||||
# The output module testing doesn't actually connect to anything. It
 | 
			
		||||
# outputs the requested commands to standard output and reads
 | 
			
		||||
# responses from stdandard input. This way, Speech Dispatcher's
 | 
			
		||||
# communication with output modules can be tested easily.
 | 
			
		||||
 | 
			
		||||
# AddModule "testing"
 | 
			
		||||
 | 
			
		||||
# The DefaultModule selects which output module is the default.  You
 | 
			
		||||
# must use one of the names of the modules loaded with AddModule.
 | 
			
		||||
 | 
			
		||||
DefaultModule espeak
 | 
			
		||||
 | 
			
		||||
# The LanguageDefaultModule selects which output modules are prefered
 | 
			
		||||
# for specified languages.
 | 
			
		||||
 | 
			
		||||
#LanguageDefaultModule "en"  "espeak"
 | 
			
		||||
#LanguageDefaultModule "cs"  "festival"
 | 
			
		||||
#LanguageDefaultModule "es"  "festival"
 | 
			
		||||
 | 
			
		||||
# -----CLIENT SPECIFIC CONFIGURATION-----
 | 
			
		||||
 | 
			
		||||
# Here you can include the files with client-specific configuration
 | 
			
		||||
# for different types of clients. They must contain one or more sections with
 | 
			
		||||
# this structure:
 | 
			
		||||
#     BeginClient "emacs:*"
 | 
			
		||||
#          DefaultPunctuationMode "some"
 | 
			
		||||
#          ...and/or some other settings
 | 
			
		||||
#     EndClient
 | 
			
		||||
# The parameter of BeginClient tells Speech Dispatcher which clients
 | 
			
		||||
# it should apply the settings to (it does glob-style matching, you can use
 | 
			
		||||
# * to match any number of characters and ? to match one character)
 | 
			
		||||
 | 
			
		||||
# There are some sample client settings
 | 
			
		||||
 | 
			
		||||
Include "clients/*.conf"
 | 
			
		||||
 | 
			
		||||
# The DisableAutoSpawn option will disable the autospawn mechanism.
 | 
			
		||||
# Thus the server will not start automatically on requests from the clients
 | 
			
		||||
# DisableAutoSpawn
 | 
			
		||||
		Reference in New Issue
	
	Block a user