forked from espeak-ng/espeak-ng
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathph_afrikaans
333 lines (247 loc) · 4.87 KB
/
ph_afrikaans
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
//****************************************************************
//redefinition of the : phoneme
phoneme : // lengthen previous vowel by "length"
virtual
length 140
endphoneme
// VOWELS
//****************************************************************
phoneme @ // Schwa, but always unstressed
vwl starttype #@ endtype #@
unstressed
length 140
IF nextPh(r/) THEN
length 190
FMT(vwl_af/r@)
ENDIF
FMT(vwl_af/@)
endphoneme
phoneme a // short A
vwl starttype #a endtype #a
ipa ɐ
length 140
FMT(vowel/V_2)
endphoneme
phoneme E // short E
vwl starttype #e endtype #e
length 140
FMT(vowel/e_mid2)
endphoneme
phoneme I // short I, Schwa
vwl starttype #@ endtype #@
ipa ə
length 140
IF nextPh(r/) THEN
length 190
FMT(vwl_af/r@)
ENDIF
FMT(vwl_af/I)
endphoneme
phoneme O // short O
vwl starttype #o endtype #o
length 140
FMT(vowel/oo_3)
endphoneme
phoneme W // short U
vwl starttype #@ endtype #@
length 140
FMT(vowel/oe)
endphoneme
phoneme u // short OE
vwl starttype #u endtype #u
length 110
FMT(vowel/uu_3)
endphoneme
phoneme & // more open [E]
vwl starttype #e endtype #e
length 150
IF nextPh(l/2) THEN
VowelEnding(l/L_eL_af, -30)
ENDIF
FMT(vowel/ee_3)
endphoneme
phoneme &: // more open [E] longer
vwl starttype #e endtype #e
length 280
IF nextPh(l/2) THEN
VowelEnding(l/L_eL_af, -30)
ENDIF
FMT(vowel/ee_3)
endphoneme
phoneme @L // syllabic L
vwl starttype #@ endtype l
ipa əl
unstressed
length 160
FMT(vwl_en/@L)
endphoneme
phoneme A: // long A
vwl starttype #a endtype #a
length 280
FMT(vowel/aa_3)
endphoneme
phoneme e@ // long E
vwl starttype #i endtype #@
ipa iə
length 230
FMT(vdiph/i@_2)
endphoneme
phoneme i // long I
vwl starttype #i endtype #i
length 100
IfNextVowelAppend(;)
FMT(vowel/i_3)
endphoneme
phoneme o@ // long O
vwl starttype #u endtype #@
ipa ʊə
length 250
FMT(vdiph2/o@)
endphoneme
phoneme y // long U
vwl starttype #i endtype #i
length 180
FMT(vowel/y_3)
endphoneme
phoneme iu
vwl starttype #i endtype #u
length 220
FMT(vdiph2/iu_3)
endphoneme
phoneme @U
vwl starttype #@ endtype #u
length 170
FMT(vdiph/Vu)
endphoneme
phoneme aI
vwl starttype #a endtype #i
length 220
IfNextVowelAppend(;)
FMT(vdiph/ai_4)
endphoneme
phoneme AI
vwl starttype #a endtype #i
length 310
IfNextVowelAppend(;)
FMT(vdiph/aai_2)
endphoneme
phoneme eI
vwl starttype #e endtype #i
ipa ɛɪ
length 170
IfNextVowelAppend(;)
FMT(vdiph/@i_2)
endphoneme
phoneme OI
vwl starttype #o endtype #i
length 230
IfNextVowelAppend(;)
FMT(vdiph/ooi_2)
endphoneme
phoneme oI
vwl starttype #o endtype #i
ipa ʊɪ
length 290
IfNextVowelAppend(;)
FMT(vdiph/oi_2)
endphoneme
phoneme uI
vwl starttype #u endtype #i
length 240
IfNextVowelAppend(;)
FMT(vdiph/ui_2)
endphoneme
phoneme Yy
vwl starttype #@ endtype #i
length 220
IfNextVowelAppend(;)
FMT(vdiph/y#y_2)
endphoneme
phoneme Y@
vwl starttype #i endtype #@
length 210
FMT(vdiph2/y#@)
endphoneme
phoneme aU
vwl starttype #a endtype #u
length 230
FMT(vdiph/au)
endphoneme
// circumflex accent vowels
phoneme e:
vwl starttype #e endtype #e
length 210
FMT(vowel/e)
endphoneme
phoneme O:
vwl starttype #o endtype #o
length 280
FMT(vowel/oo_1)
endphoneme
phoneme 3:
vwl starttype #@ endtype #@
length 230
FMT(vowel/3_en)
endphoneme
// Nasal vowels
phoneme A~
vwl starttype #a endtype #a
length 240
FMT(vnasal/aa_n3)
endphoneme
phoneme e~
vwl starttype #e endtype #e
length 240
FMT(vnasal/e_n)
endphoneme
phoneme o~
vwl starttype #o endtype #o
length 240
FMT(vnasal/o_n2)
endphoneme
// CONSONANTS
//===========
phoneme x2
vls vel frc
Vowelin f1=0 f2=2300 200 400 f3=-100 100
Vowelout f1=0 f2=2300 300 400 f3=-100 100 rms=20
lengthmod 3
WAV(ufric/x2, 60) // stronger version of [x]
endphoneme
phoneme r
liquid rhotic trl
lengthmod 6
Vowelin f1=2 f2=2700 -300 -200 f3=-1300 80
Vowelout f1=2 f2=1700 -300 -200 f3=-1300 80
NextVowelStarts
VowelStart(r/r@, -15)
VowelStart(r/ra, -15)
VowelStart(r/re, -15)
VowelStart(r/ri, -15)
VowelStart(r/ro, -15)
VowelStart(r/ru, -15)
EndSwitch
IF prevPh(isVowel) THEN
VowelEnding(r/xr, -50)
ENDIF
FMT(r3/r_trill) addWav(r3/r_trill3.wav, 100)
endphoneme
phoneme r/ // used for [r] when not preceding a vowel
liquid
lengthmod 7
IF prevPh(@) OR prevPh(I) THEN
ELSE
FMT(r3/r_) addWav(r3/rx)
ENDIF
endphoneme
phoneme l
import_phoneme en/l
endphoneme
phoneme c // used in -tjie
vls pal stp pzd
voicingswitch g
lengthmod 2
Vowelin f1=0 f2=2700 400 600 f3= 200 80
Vowelout f1=0 f2=2700 400 600 f3= 200 80 rms=20
WAV(ustop/ki)
endphoneme