Debian Codegraph @

config/modules/ibmtts.conf

raw
1 # -- DEBUG --
2
3 # Debug turns debugging on or off
4 # See speechd.conf for information where debugging information is stored.
5
6 # TODO: Change this to 0 and comment out for final release.
7
8 Debug 0
9
10 # DebugFile specifies the file where the debugging information
11 # should be stored (note that the log is overwritten each time
12 # the module starts)
13
14 # DebugFile "/tmp/debug-ibmtts"
15
16
17 # The number of samples returned by IBM TTS.
18 #IbmttsAudioChunkSize 20000
19
20 # -- SSML Support --
21
22 # Some versions of IBM TTS support SSML. If IbmttsUseSSML
23 # is set to 1, SSML will be used and advanced features like
24 # index marking will be working. If set to 0, all SSML is
25 # deleted from the message prior to sending it to IBM TTS.
26 # By default, SSML support is switched on.
27
28 # IbmttsUseSSML 1
29
30 # -- Punctuation Support --
31
32 # Some versions of IBM TTS support a punctuation filter.
33 # If IbmttsUsePunctuation is set to 1, it will be tuned according
34 # to the requested parameters. If you keep hearing spurious "`pf0"
35 # try to set this to 0.
36 # By default, punctuation support is switched off.
37
38 # IbmttsUsePunctuation 0
39
40 # -- User dictionaries --
41
42 # IBM TTS supports user dictionaries so that you may customize
43 # the pronunciation of words, beginning of words or abbreviations
44 # according to the language.
45 #
46 # IbmttsDictionaryFolder defines the root directory under which you
47 # may add your dictionary files. If several languages are installed,
48 # you may want to create one sub-directory per language.
49 #
50 # Three examples :
51 #
52 # - a single language is installed:
53 # place your files under IbmttsDictionaryFolder
54 #
55 # - two languages are installed, say English and French:
56 # place your files under IbmttsDictionaryFolder in sub-directories en and fr
57 #
58 # - the same language for different regions are installed, say Castilian
59 # Spanish and Mexican Spanish:
60 # place your files in directories es_ES and es_MX
61 #
62 # The directory names are listed below (DIRECTORY NAMES and EXTENDED
63 # DIRECTORY NAMES).
64 #
65 # The name of the dictionary files are:
66 #
67 # - main.dct: main dictionary
68 # - root.dct: roots dictionary
69 # - extension.dct: main extension dictionary
70 # - abbreviation.dct: abbreviation dictionary
71 #
72 # The IBM TTS documentation details the syntax of the user dictionaries.
73 # Basically, it is one line per entry, composed of key, tabulation, value.
74 #
75 # DIRECTORY NAMES
76 # ---------------
77 # de: German
78 # en: English
79 # es: Spanish
80 # fi: Finnish
81 # fr: French
82 # it: Italian
83 # ja: Japanese
84 # pt: Portuguese
85 # zh: Chinese
86 #
87 # EXTENDED DIRECTORY NAMES
88 # ------------------------
89 # en_GB: British English
90 # en_US: American English
91 # fr_CA: Canadian French
92 # fr_FR: French
93 # pt_BR: Brazilian Portuguese
94 # zh_CN: Mandarin Chinese
95 # zh_TW: Mandarin Taiwanese
96
97 IbmttsDictionaryFolder "/var/opt/IBM/ibmtts/dict"
98
99
100 # -- Abbreviation dictionaries --
101
102 # Enable the abbreviation dictionaries.
103 #
104
105 IbmttsUseAbbreviation 1
106
107 # -- SOUND ICONS --
108
109 # IBM TTS Synthesizer does not currently support sound icons
110 # (audio files that are played by name when an application requests
111 # a sound icon). If you have installed the free(b)soft sound-icons
112 # package, this is the directory where will they be found. If not
113 # blank, the IBM TTS Output Module will play them if it finds a
114 # file whose name matches the sound icon name. If blank, or no
115 # matching file is found, the name of the sound icon will be spoken.
116
117 #IbmttsSoundIconFolder "/usr/share/sounds/sound-icons/"
118
119 # -- VOICE PARAMETERS --
120
121 # This table provides a mechanism for fine-tuning the voices used for synthesis.
122 # The dialect is chosen by the table above, then adjusted according to these parameters.
123 # The columns are:
124 # Voice Name - See the Speech Dispatcher manual for standard voice names. Use lowercase names.
125 # M/F - Gender. 0 = male. 1 = female.
126 # Br - Breathiness. 0 to 100. 0 is usually used for males, 40 or 50 for females.
127 # Hd Sz - Head Size. 0 to 100.
128 # Pitch Bas - Pitch Baseline. 0 to 100.
129 # Pitch Flc - Pitch Fluctuation. 0 to 100.
130 # Rough - Roughness. 0 to 100
131 # Speed - Rate. 0 to 100.
132
133 # Volume is controlled via speechd.conf or SSIP commands.
134
135 # Application RATE or PITCH commands are relative to the settings here.
136 # For example, if Pitch Bas is 80 below, a PITCH command of -50 would set the
137 # pitch baseline to halfway between 80 and 0, or 40.
138
139 # All columns must be provided.
140
141 # Hd -Pitch-
142 # Voice Name M/F Br Sz Bas Flc Rough Speed
143 # -------------- --- --- --- --- --- --- ---
144 #IbmttsVoiceParameters "male1" 0 0 50 65 30 0 50
145 #IbmttsVoiceParameters "male2" 0 0 86 56 47 0 50
146 #IbmttsVoiceParameters "male3" 0 0 50 69 34 0 70
147 #IbmttsVoiceParameters "male3" 0 20 30 61 44 18 50
148 #IbmttsVoiceParameters "female1" 1 50 50 81 30 0 50
149 #IbmttsVoiceParameters "female2" 1 40 56 89 35 0 70
150 #IbmttsVoiceParameters "female3" 1 40 45 68 30 3 50
151 IbmttsVoiceParameters "child_male" 0 0 35 85 35 0 50
152 #IbmttsVoiceParameters "child_female" 1 0 22 93 35 0 50
153
154 # The table above shows the default mapping.
155 # It shows the default settings in the IBM TTS Engine, as follows:
156 #
157 # SD Voice Name IBM TTS Voice
158 # ------------- -------------
159 # male1 Adult Male 1
160 # male2 Adult Male 2
161 # male3 Adult Male 3
162 # male3 Elderly Male (uncomment the 2nd "male3" line if you want to use this)
163 # female1 Adult Female 1
164 # female2 Adult Female 2
165 # female3 Elderly Female (notice there is no Adult Female 3)
166 # child_male none provided (that is why it is uncommented, by default)
167 # child_female Child
168
169 # -- KEY NAME SUBSTITUTIONS --
170
171 # Maps Speech Dispatcher key names used in SSIP KEY commands to speakable words.
172 # The string in the "SD Key" column occurring anywhere in a KEY command
173 # is replaced with the string in "Spoken". The substitutions occur in the
174 # order listed. "Lang" determines which language the substitution applies
175 # to.
176
177 # Lang SD Key Spoken
178 # ---- ----------- -----------
179 IbmttsKeySubstitution "en" "kp--" "keypad minus "
180 IbmttsKeySubstitution "en" "kp-" "keypad "
181 IbmttsKeySubstitution "en" "_" " "
182 IbmttsKeySubstitution "en" "#" "pound "
183 IbmttsKeySubstitution "en" "&" "ampersand "
184 IbmttsKeySubstitution "en" "!" "exclamation mark "
185 IbmttsKeySubstitution "en" "¦" "pipe "
186 IbmttsKeySubstitution "en" "¤" "currency "
187 IbmttsKeySubstitution "en" "Ø" "capital phi "
188 IbmttsKeySubstitution "en" "ø" "phi "
189 IbmttsKeySubstitution "en" "ÿ" "yummel "
190 IbmttsKeySubstitution "en" "­" "dash "
191 IbmttsKeySubstitution "en" "A" "capital A "
192 IbmttsKeySubstitution "en" "B" "capital B "
193 IbmttsKeySubstitution "en" "C" "capital C "
194 IbmttsKeySubstitution "en" "D" "capital D "
195 IbmttsKeySubstitution "en" "E" "capital E "
196 IbmttsKeySubstitution "en" "F" "capital F "
197 IbmttsKeySubstitution "en" "G" "capital G "
198 IbmttsKeySubstitution "en" "H" "capital H "
199 IbmttsKeySubstitution "en" "I" "capital I "
200 IbmttsKeySubstitution "en" "J" "capital J "
201 IbmttsKeySubstitution "en" "K" "capital K "
202 IbmttsKeySubstitution "en" "L" "capital L "
203 IbmttsKeySubstitution "en" "M" "capital M "
204 IbmttsKeySubstitution "en" "N" "capital N "
205 IbmttsKeySubstitution "en" "O" "capital O "
206 IbmttsKeySubstitution "en" "P" "capital P "
207 IbmttsKeySubstitution "en" "Q" "capital Q "
208 IbmttsKeySubstitution "en" "R" "capital R "
209 IbmttsKeySubstitution "en" "S" "capital S "
210 IbmttsKeySubstitution "en" "T" "capital T "
211 IbmttsKeySubstitution "en" "U" "capital U "
212 IbmttsKeySubstitution "en" "V" "capital V "
213 IbmttsKeySubstitution "en" "W" "capital W "
214 IbmttsKeySubstitution "en" "X" "capital X "
215 IbmttsKeySubstitution "en" "Y" "capital Y "
216 IbmttsKeySubstitution "en" "Z" "capital Z "
217
218
219
220 # Copyright (C) 2006 Gary Cramblitt <[email protected]>
221 # Copyright (C) 2007-2008 Brailcom, o.p.s
222 # Copyright (C) 2007 Lukas Loehrer <[email protected]>
223 # Copyright (C) 2007-2013 Gilles Casse <[email protected]>
224 # Copyright (C) 2010 Christopher Brannon <[email protected]>
225 # Copyright (C) 2016 Luke Yelavich <[email protected]>
226 #
227 # This program is free software; you can redistribute it and/or modify it under
228 # the terms of the GNU General Public License as published by the Free Software
229 # Foundation; either version 2 of the License, or (at your option) any later
230 # version.
231 #
232 # This program is distributed in the hope that it will be useful, but WITHOUT ANY
233 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
234 # PARTICULAR PURPOSE. See the GNU General Public License for more details (file
235 # COPYING in the root directory).
236 #
237 # You should have received a copy of the GNU General Public License
238 # along with this program. If not, see <https://www.gnu.org/licenses/>.