Debian Codegraph @

phsource/ph_english_sc

raw
1
2
3 //*******************************************************************
4 // VOWELS
5 //*******************************************************************
6
7
8 phoneme @ // Schwa
9 vowel starttype #@ endtype #@
10 unstressed
11 length 140
12 IfNextVowelAppend(r-)
13 FMT(vowel/@_3)
14 endphoneme
15
16
17 phoneme 3 // Schwa, used for rhotic schwa in American
18 vowel starttype #@ endtype #@
19 unstressed
20 length 140
21 IF nextPh(isVowel) THEN
22 ChangePhoneme(@)
23 ENDIF
24 IfNextVowelAppend(r-)
25 IF nextPh(isPause) THEN
26 FMT(vowelr/V3_r)
27 ENDIF
28 FMT(vowel/V)
29 endphoneme
30
31
32 phoneme @2 // Schwa, changes to I before a vowel
33 vowel starttype #@ endtype #@
34 unstressed
35 length 120
36 IF nextPh(isVowel) THEN
37 ChangePhoneme(I2)
38 ENDIF
39 ChangePhoneme(@)
40 endphoneme
41
42
43 phoneme @5 // Schwa, changes to U before a vowel
44 vowel starttype #@ endtype #@
45 unstressed
46 length 140
47 IF nextPh(isVowel) OR nextPh(isPause) THEN
48 ChangePhoneme(U)
49 ENDIF
50 ChangePhoneme(@)
51 endphoneme
52
53
54 phoneme a
55 vowel starttype #a endtype #a
56 length 200
57 ChangeIfDiminished(a#)
58 ChangeIfNotStressed(a/)
59 FMT(vowel/a_3)
60 endphoneme
61
62
63 phoneme a/
64 vowel starttype #a endtype #a
65 length 160
66 ChangeIfDiminished(a#)
67 FMT(vowel/a_3)
68 endphoneme
69
70
71 phoneme a#
72 vowel starttype #@ endtype #@
73 ipa ɐ
74 unstressed
75 length 140
76 IfNextVowelAppend(r-)
77 FMT(vowel/a#)
78 endphoneme
79
80
81 phoneme aa // 'bath' etc.
82 vowel starttype #a endtype #a
83 ipa a:
84 length 220
85 IfNextVowelAppend(r-)
86 FMT(vowel/a_3)
87 endphoneme
88
89
90 phoneme E
91 vowel starttype #e endtype #e
92 length 170
93 IF nextPhW(n) THEN
94 ChangeIfDiminished(@)
95 ELSE
96 ChangeIfDiminished(I2)
97 ENDIF
98 FMT(vowel/e_e)
99 endphoneme
100
101
102 phoneme I
103 vowel starttype #@ endtype #@
104 length 110
105 IF nextPh(l/2) THEN
106 VowelEnding(l/L2_@L, -30)
107 FMT(vowel/@_3)
108 ENDIF
109 FMT(vowel/e#)
110 endphoneme
111
112
113 phoneme I2
114 vowel starttype #@ endtype #@
115 unstressed
116 length 110
117 CALL I
118 endphoneme
119
120 phoneme I#
121 vowel starttype #@ endtype #@
122 ChangePhoneme(I2)
123 endphoneme
124
125 phoneme i // optional variant of [I] for end of words
126 vowel starttype #i endtype #e
127 ipa e
128 length 150
129 IfNextVowelAppend(;)
130 FMT(vowel/e_5)
131 endphoneme
132
133
134 phoneme 0
135 vowel starttype #o endtype #o
136 length 200
137 ChangeIfDiminished(@)
138 FMT(vowel/oo_2)
139 endphoneme
140
141
142 phoneme 02 // becomes V in en-us
143 vowel starttype #o endtype #o
144 length 140
145 ChangePhoneme(V)
146 endphoneme
147
148
149 phoneme V
150 vowel starttype #a endtype #@
151 length 140
152 ChangeIfDiminished(@)
153 FMT(vowel/V_4)
154 endphoneme
155
156
157 phoneme U
158 vowel starttype #u endtype #u
159 ipa ʉ
160 length 140
161 FMT(vowel/u#_4)
162 endphoneme
163
164
165 phoneme A:
166 vowel starttype #a endtype #a
167 length 220
168 ipa a:
169 IfNextVowelAppend(r-)
170 IF nextPh(r) THEN
171 Length 250
172 FMT(vowelr/aa_r)
173 ENDIF
174 FMT(vowel/a_3)
175 endphoneme
176
177
178 phoneme A@ // Used for [A:] when followed by 'r', becomes [A:]+[r] in American
179 vowel starttype #a endtype #@
180 length 250
181 ipa aː
182 IF NOT nextPhW(r) THEN
183 AppendPhoneme(r)
184 ENDIF
185 FMT(vowelr/aa_r)
186 endphoneme
187
188
189 phoneme 3:
190 vowel starttype #e endtype #@
191 length 230
192 ChangeIfNotStressed(VR) // also need "replace 02 3: VR" in voice file
193 ipa e
194 FMT(vowelr/e_r)
195 endphoneme
196
197
198 phoneme i:
199 vowel starttype #i endtype #i
200 length 130
201 IfNextVowelAppend(;)
202 IF prevPh(w) THEN
203 VowelStart(w/wi2)
204 ENDIF
205 IF nextPh(isVFricative) OR nextPh(isPause) THEN
206 Length 180
207 ENDIF
208 FMT(vowel/i_5)
209 endphoneme
210
211
212 phoneme O:
213 vowel starttype #o endtype #o
214 length 200
215 ChangeIfDiminished(@)
216 IF nextPh(r) THEN
217 FMT(vwl_en_us/or)
218 ENDIF
219 FMT(vowel/oo)
220 endphoneme
221
222
223 phoneme O@
224 vowel starttype #o endtype #@
225 length 230
226 ipa ɔ
227 IF NOT nextPhW(r) THEN
228 AppendPhoneme(r)
229 ENDIF
230 FMT(vowelr/oo_r)
231 endphoneme
232
233 phoneme o@
234 vowel starttype #o endtype #@
235 length 230
236 ipa o
237 IF NOT nextPhW(r) THEN
238 AppendPhoneme(r)
239 ENDIF
240 FMT(vowelr/oo_r)
241 endphoneme
242
243
244 phoneme O
245 vowel starttype #o endtype #o
246 length 150
247 ChangeIfDiminished(@)
248 FMT(vowel/0_3)
249 endphoneme
250
251
252 phoneme u:
253 vowel starttype #u endtype #u
254 ipa ʉː
255 length 160
256 IF nextPh(isVFricative) THEN
257 Length 200
258 ENDIF
259 IF nextPh(isPause) THEN
260 Length 200
261 FMT(vowel/u#_4)
262 ENDIF
263 FMT(vowel/u#)
264 endphoneme
265
266
267 phoneme aU
268 vowel starttype #a endtype #u
269 ipa ʌʉ
270 length 200
271 FMT(vdiph/au#)
272 endphoneme
273
274
275 phoneme oU
276 vowel starttype #o endtype #u
277 ipa oː
278 length 190
279 FMT(vowel/o_3)
280 endphoneme
281
282
283 phoneme aI
284 vowel starttype #a endtype #i
285 length 190
286 IF nextPh(isVowel) OR nextPh(isVFricative) THEN
287 ChangePhoneme(aI2)
288 ENDIF
289 IF nextPh(l/2) THEN
290 // before l/2 vwl_en/aI@_2+vwl_en/@L_2
291 FMT(vwl_en/aI@_2)
292 ENDIF
293
294 // FMT(vdiph/&i_2
295 FMT(vdiph/ai_7)
296 endphoneme
297
298
299 phoneme aI2
300 vowel starttype #a endtype #i
301 length 240
302 FMT(vdiph/ai_7)
303 endphoneme
304
305
306 phoneme eI
307 vowel starttype #e endtype #i
308 ipa eː
309 length 190
310 FMT(vowel/e_2)
311 endphoneme
312
313
314 phoneme OI
315 vowel starttype #o endtype #i
316 length 210
317 FMT(vdiph/0i_2)
318 endphoneme
319
320
321 phoneme e@
322 vowel starttype #e endtype #@
323 length 220
324 ipa e
325 IF NOT nextPhW(r) THEN
326 AppendPhoneme(r)
327 ENDIF
328 FMT(vdiph2/e@)
329 endphoneme
330
331
332 phoneme i@3
333 vowel starttype #i endtype #@
334 ipa ɪ
335 length 240
336 IF NOT nextPhW(r) THEN
337 AppendPhoneme(r)
338 ENDIF
339 FMT(vowelr/i_r)
340 endphoneme
341
342
343 phoneme U@
344 vowel starttype #u endtype #@
345 ipa ʉɹ
346 IF nextPh(r-) THEN
347 ipa ʉ
348 ENDIF
349 length 240
350 IfNextVowelAppend(r-)
351 FMT(vdiph2/u#@)
352 endphoneme
353
354
355 phoneme aU@
356 vowel starttype #a endtype #@
357 length 270
358 IfNextVowelAppend(r-)
359 FMT(vwl_en/aU@)
360 endphoneme
361
362
363 phoneme aI@
364 vowel starttype #a endtype #@
365 length 270
366 IfNextVowelAppend(r-)
367 FMT(vwl_en/aI@_2)
368 endphoneme
369
370
371 phoneme aI3
372 vowel starttype #a endtype #@
373 length 280
374 ChangePhoneme(aI@)
375 endphoneme
376
377
378 phoneme @L
379 vowel starttype #@ endtype l
380 ipa əl
381 unstressed
382 length 160
383 CALL vowelstart_l
384 FMT(vwl_en/@L_2)
385 endphoneme
386
387
388
389
390 //==============
391 // Consonants
392 //==============
393
394 phoneme r/ // used for [r] when not preceding a vowel
395 liquid
396 lengthmod 2 //
397 FMT(NULL)
398 endphoneme
399
400 phoneme r
401 liquid rhotic
402 lengthmod 7
403 trill
404 IF nextPh(isNotVowel) THEN
405 ChangePhoneme(r/)
406 ENDIF
407 CALL base/r
408 ipa r
409 endphoneme
410
411
412
413
414
415