Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
 
2
# Global configuration for Speech Dispatcher
3
# ==========================================
4
 
5
# -----SYSTEM OPTIONS-----
6
 
7
# CommunicationMethod specifies the method to be used by Speech Dispatcher to communicate with
8
# its clients. Two basic methods are "unix_socket" and "inet_socket".
9
#
10
# unix_socket -- communication over Unix sockets represented by a file in the
11
# filesystem (see SocketPath below). This method works only locally, but is
12
# prefered for standard session setup, where every user runs his own instance of Speech
13
# Dispatcher to get voice feedback on his own computer.
14
#
15
# inet_socket -- alternatively, you can start Speech Dispatcher on
16
# a TCP port and connect to it via hostname/port. This allows for a more
17
# flexible setup, where you can use Speech Dispatcher over network
18
# from different machines. See also the Port and LocalhostAccessOnly
19
# configuration variables.
20
#
21
# CommunicationMethod "unix_socket"
22
 
23
# SocketPath is either "default" or a full path to the filesystem
24
# where the driving Unix socket file should be created in case the
25
# CommunicationMethod is set to "unix_socket". The default is
26
# $XDG_RUNTIME_DIR/speech-dispatcher/speechd.sock where $XDG_RUNTIME_DIR
27
# is the directory specified by the XDG Base Directory Specification.
28
# Do not change this unless you have a reason and know what you are doing.
29
 
30
# SocketPath "default"
31
 
32
# The Port on which Speech Dispatcher should be available to clients if the "inet_socket"
33
# communication method is used.
34
 
35
# Port 6560
36
 
37
# By default, if "inet_socket" communication method is used, the specified port is opened only
38
# for connections coming from localhost. If LocalhostAccessOnly is set to 0 it disables this
39
# access control. It means that the port will be accessible from all computers on the
40
# network. If you turn off this option, please make sure you set up some system rules on what
41
# computers are and are not allowed to access the Speech Dispatcher port.
42
 
43
# LocalhostAccessOnly 1
44
 
45
# By default, Speech Dispatcher is configured to shut itself down after a period of
46
# time if no clients are connected. The timeout value is in seconds, and is started when
47
# the last client disconnects. A value of 0 disables the timeout.
48
 
49
# Timeout 5
50
 
51
# -----LOGGING CONFIGURATION-----
52
 
53
# The LogLevel is a number between 0 and 5 specifying the
54
# verbosity of information to the logfile  or screen
55
# 0 means nothing, 5 means everything (not recommended).
56
 
57
LogLevel  3
58
 
59
# The LogDir specifies where the Speech Dispatcher logs reside
60
# Specify "stdout" for standard console output
61
# or a custom log directory path. 'default' means
62
# the logs are written to the default destination (e.g. a preconfigured
63
# system directory or the home directory if .speech-dispatcher is present)
64
# DO NOT COMMENT OUT THIS OPTION, leave as "default" for standard logging
65
 
66
LogDir  "default"
67
#LogDir  "/var/log/speech-dispatcher/"
68
#LogDir  "stdout"
69
 
70
# The CustomLogFile allows logging all messages # regardless of
71
# priority, to the given destination.
72
#CustomLogFile "protocol" "/var/log/speech-dispatcher/speech-dispatcher-protocol.log"
73
 
74
# ----- VOICE PARAMETERS -----
75
 
76
# The DefaultRate controls how fast the synthesizer is going to speak.
77
# The value must be between -100 (slowest) and +100 (fastest), default
78
# is 0.
79
 
80
# DefaultRate  0
81
 
82
# The DefaultPitch controls the pitch of the synthesized voice.  The
83
# value must be between -100 (lowest) and +100 (highest), default is
84
# 0.
85
 
86
# DefaultPitch  0
87
 
88
# The DefaultVolume controls the default volume of the voice.  It is
89
# a value between -100 (softly) and +100 (loudly).  Currently, +100
90
# maps to the default volume of the synthesizer.
91
 
92
DefaultVolume 100
93
 
94
# The DefaultVoiceType controls which voice type should be used by
95
# default.  Voice types are symbolic names which map to particular
96
# voices provided by the synthesizer according to the output module
97
# configuration.  Please see the synthesizer-specific configuration
98
# in etc/speech-dispatcher/modules/ to see which voices are assigned to
99
# different symbolic names.  The following symbolic names are
100
# currently supported: MALE1, MALE2, MALE3, FEMALE1, FEMALE2, FEMALE3,
101
# CHILD_MALE, CHILD_FEMALE
102
 
103
# DefaultVoiceType  "MALE1"
104
 
105
# The Default language with which to speak
106
 
107
# DefaultLanguage "en"
108
 
109
 
110
# ----- MESSAGE DISPATCHING CONTROL -----
111
 
112
# The DefaultClientName specifies the name of a client who didn't
113
# introduce himself at the beginning of an SSIP session.
114
 
115
# DefaultClientName  "unknown:unknown:unknown"
116
 
117
# The Default Priority. Use with caution, normally this shouldn't be
118
# changed globally (at this place)
119
 
120
# DefaultPriority  "text"
121
 
122
# The DefaultPauseContext specifies by how many index marks a speech
123
# cursor should return when resuming after a pause. This is roughly
124
# equivalent to the number of sentences before the place of the
125
# execution of pause that will be repeated.
126
 
127
# DefaultPauseContext 0
128
 
129
# -----SPELLING/PUNCTUATION/CAPITAL LETTERS  CONFIGURATION-----
130
 
131
# The DefaultPunctuationMode sets the way dots, comas, exclamation
132
# marks, question marks etc. are interpreted.  none: they are ignored
133
# some: some of them are sent to synthesis (see
134
# DefaultPunctuationSome) all: all punctuation marks are sent to
135
# synthesis
136
 
137
# DefaultPunctuationMode "none"
138
 
139
# The DefaultCapLetRecognition: if set to "spell", capital letters
140
# should be spelled (e.g. "capital b"), if set to "icon",
141
# capital letters are indicated by inserting a special sound
142
# before them but they should be read normally, it set to "none"
143
# capital letters are not recognized (by default)
144
 
145
# DefaultCapLetRecognition  "none"
146
 
147
# The DefaultSpelling: if set to On, all messages will be spelt
148
# unless set otherwise (this is usually not something you want to do.)
149
 
150
# DefaultSpelling  Off
151
 
152
# ----- AUDIO CONFIGURATION -----------
153
 
154
# -- AUDIO OUTPUT --
155
 
156
# Chooses between the possible sound output systems:
157
#       "pulse" - PulseAudio
158
#       "alsa"  - Advanced Linux Sound System
159
#       "oss"   - Open Sound System
160
#       "nas"   - Network Audio System
161
#       "libao" - A cross platform audio library
162
# Pulse audio is the default and recommended sound server. OSS and ALSA
163
# are only provided for compatibility with architectures that do not
164
# include Pulse Audio. NAS provides network transparency, but is not
165
# very well tested. libao is a cross platform library with plugins for
166
# different sound systems and provides alternative output for Pulse Audio
167
# and ALSA as well as for other backends.
168
 
169
# AudioOutputMethod "pulse"
170
 
171
# -- Pulse Audio parameters --
172
 
173
# Pulse audio server name or "default" for the default pulse server
174
 
175
#AudioPulseServer "default"
176
 
177
#AudioPulseMinLength 100
178
 
179
# -- ALSA parameters --
180
 
181
# Audio device for ALSA output
182
 
183
#AudioALSADevice "default"
184
 
185
# -- OSS parameters --
186
 
187
# Audio device for OSS output
188
 
189
#AudioOSSDevice "/dev/dsp"
190
 
191
# -- NAS parameters --
192
 
193
# Route to the Network Audio System server when NAS
194
# is chosen for the audio output. Note that NAS
195
# server doesn't need to run on your machine,
196
# you can use it also over network (for instance
197
# when working on remote machines).
198
 
199
#AudioNASServer "tcp/localhost:5450"
200
 
201
 
202
 
203
# -----OUTPUT MODULES CONFIGURATION-----
204
 
205
# Each AddModule line loads an output module.
206
#  Syntax: AddModule "name" "binary" "configuration" "logfile"
207
#  - name is the name under which you can access this module
208
#  - binary is the path to the binary executable of this module,
209
#    either relative (to lib/speech-dispatcher-modules/) or absolute
210
#  - configuration is the path to the config file of this module,
211
#    either relative (to etc/speech-dispatcher/modules/) or absolute
212
 
213
#AddModule "espeak"       "sd_espeak"   "espeak.conf"
214
#AddModule "espeak-ng"    "sd_espeak-ng" "espeak-ng.conf"
215
#AddModule "festival"     "sd_festival"  "festival.conf"
216
#AddModule "flite"        "sd_flite"     "flite.conf"
217
#AddModule "ivona"	 "sd_ivona"    "ivona.conf"
218
#AddModule "pico"        "sd_pico"     "pico.conf"
219
#AddModule "espeak-generic" "sd_generic" "espeak-generic.conf"
220
#AddModule "espeak-mbrola-generic" "sd_generic" "espeak-mbrola-generic.conf"
221
#AddModule "swift-generic" "sd_generic" "swift-generic.conf"
222
#AddModule "epos-generic" "sd_generic"   "epos-generic.conf"
223
#AddModule "dtk-generic"  "sd_generic"   "dtk-generic.conf"
224
#AddModule "pico-generic"  "sd_generic"   "pico-generic.conf"
225
#AddModule "ibmtts"       "sd_ibmtts"    "ibmtts.conf"
226
#AddModule "cicero"        "sd_cicero"     "cicero.conf"
227
 
228
# DO NOT REMOVE the following line unless you have
229
# a specific reason -- this is the fallback output module
230
# that is only used when no other modules are in use
231
#AddModule "dummy"         "sd_dummy"      ""
232
 
233
# The output module testing doesn't actually connect to anything. It
234
# outputs the requested commands to standard output and reads
235
# responses from stdandard input. This way, Speech Dispatcher's
236
# communication with output modules can be tested easily.
237
 
238
# AddModule "testing"
239
 
240
# The DefaultModule selects which output module is the default.  You
241
# must use one of the names of the modules loaded with AddModule.
242
 
243
DefaultModule espeak-ng
244
 
245
# The LanguageDefaultModule selects which output modules are prefered
246
# for specified languages.
247
 
248
#LanguageDefaultModule "en"  "espeak"
249
#LanguageDefaultModule "cs"  "festival"
250
#LanguageDefaultModule "es"  "festival"
251
 
252
# -----CLIENT SPECIFIC CONFIGURATION-----
253
 
254
# Here you can include the files with client-specific configuration
255
# for different types of clients. They must contain one or more sections with
256
# this structure:
257
#     BeginClient "emacs:*"
258
#          DefaultPunctuationMode "some"
259
#          ...and/or some other settings
260
#     EndClient
261
# The parameter of BeginClient tells Speech Dispatcher which clients
262
# it should apply the settings to (it does glob-style matching, you can use
263
# * to match any number of characters and ? to match one character)
264
 
265
# There are some sample client settings
266
 
267
Include "clients/*.conf"
268
 
269
# The DisableAutoSpawn option will disable the autospawn mechanism.
270
# Thus the server will not start automatically on requests from the clients
271
# DisableAutoSpawn