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