Debian Codegraph @

phsource/ph_vietnam

raw
1
2 //====================================================
3 // Vietnamese Phonemes
4 //====================================================
5
6
7 phoneme 1 // ngang tone: level
8 stress
9 Tone(34,36, envelope/p_level, NULL) // 28 29
10 endphoneme
11
12
13 phoneme 2 // huyền tone: low falling
14 stress
15 Tone(30, 8, envelope/p_fall, NULL) //20 8
16 endphoneme
17
18
19 phoneme 3 // sắc Tone(rising
20 stress
21 Tone(30, 60, envelope/p_rise, NULL) // 30 60
22 endphoneme
23
24
25 phoneme 4 // hỏi Tone(curve (dipping rising)
26 stress
27 Tone(10, 55, envelope/p_fallrise, NULL) //33 31
28 endphoneme
29
30
31 phoneme 5 // ngã tone: broken (creaking rising)
32 stress
33 Tone(28,58,envelope/p_214, envelope/vi_5amp) // 28,58 20 80
34 endphoneme
35
36
37 phoneme 6 // nặng Tone(drop (constricted)
38 stress
39 //length 150 // ignore because it make too short sound 75 // reduce the length of the vowel
40 Tone(25, 60, envelope/p_512, envelope/vi_6amp) //40 20
41 endphoneme
42
43
44 phoneme 7 // Tone(1 (ngang) at end of clause
45 stress
46 Tone(40, 35, envelope/p_fall, NULL) //40 20
47 endphoneme
48
49
50
51 // Vowels
52 //=======
53
54
55 phoneme a
56 vowel starttype #@ endtype #@
57 length 140
58 FMT(vowel/a_4) //a_4)
59 endphoneme
60
61 phoneme a:
62 vowel starttype #a endtype #a
63 IF nextPh(n^) OR nextPh(c) THEN
64 length 100
65 ELSE
66 length 140 //280
67 ENDIF
68 FMT(vowel/a_8)
69 endphoneme
70
71
72 phoneme E
73 vowel starttype #e endtype #e
74 length 140
75 FMT(vowel/e_e) //ee_3)
76 endphoneme
77
78 phoneme e
79 vowel starttype #e endtype #e
80 length 140
81 FMT(vowel/e)
82 endphoneme
83
84
85 phoneme i
86 vowel starttype #i endtype #i
87 IfNextVowelAppend(;)
88 IF prevPhW(w) THEN
89 VowelStart(w/wi)
90 ENDIF
91 IF nextPh(n^) OR nextPh(c) THEN
92 length 100
93 FMT(vnasal/ii_n)
94 ELSE
95 length 140
96 FMT(vowel/i_4)
97 ENDIF
98 endphoneme
99
100
101 phoneme O
102 vowel starttype #o endtype #o
103 IF nextPh(kh) OR nextPh(N) THEN
104 length 80
105 ELSE
106 length 140
107 ENDIF
108 FMT(vdiph2/o_oo) //vowel/oo)
109 endphoneme
110
111 phoneme o
112 vowel starttype #o endtype #o
113 IF nextPh(kh) OR nextPh(N) THEN
114 length 110
115 ELSE
116 length 140
117 ENDIF
118 FMT(vowel/o) // o_2)
119 endphoneme
120
121
122 phoneme u
123 vowel starttype #u endtype #u
124 IF nextPh(kh) OR nextPh(N) THEN // hear as ung sound
125 length 120
126 ELSE
127 length 140
128 ENDIF
129 FMT(vnasal/u_n,60) //vowel/u_5)
130 endphoneme
131
132 phoneme y
133 vowel starttype #u endtype #u
134 IF nextPh(kh) OR nextPh(N) THEN
135 length 120
136 ELSE
137 length 180
138 ENDIF
139 FMT(vowel/u#_5)
140 endphoneme
141
142
143
144 phoneme @
145 vowel starttype #@ endtype #a
146 IF nextPh(kh) OR nextPh(N) OR nextPh(n^) OR nextPh(c) THEN
147 length 120
148 ELSE
149 length 140
150 ENDIF
151 FMT(vowel/V) //vowel/@_2)
152 endphoneme
153
154
155 phoneme @:
156 vowel starttype #@ endtype #@
157 length 140
158 FMT(vowel/@_2)
159 endphoneme
160
161
162
163 // Diphthongs
164 //===========
165
166 phoneme aI
167 vowel starttype #a endtype #i
168 length 140 //250
169 FMT(vdiph/&i_2)
170 endphoneme
171
172
173 phoneme a:I
174 vowel starttype #a endtype #i
175 length 200 //250
176 FMT(vdiph/ai)
177 endphoneme
178
179
180 phoneme @I
181 vowel starttype #@ endtype #i
182 length 200 //250
183 FMT(vdiph/@i)
184 endphoneme
185
186
187 phoneme @:I
188 vowel starttype #@ endtype #i
189 length 200 //250
190 FMT(vdiph/y#i)
191 endphoneme
192
193
194 phoneme eI
195 vowel starttype #e endtype #i
196 length 140
197 FMT(vdiph/ei)
198 endphoneme
199
200
201 phoneme EI
202 vowel starttype #e endtype #i
203 length 140
204 FMT(vdiph/eei)
205 endphoneme
206
207
208 phoneme OI
209 vowel starttype #o endtype #i
210 length 200
211 FMT(vdiph/ooi_4)
212 endphoneme
213
214
215 phoneme oI
216 vowel starttype #o endtype #i
217 length 200
218 FMT(vdiph/oi)
219 endphoneme
220
221
222 phoneme uI
223 vowel starttype #u endtype #i
224 length 200
225 FMT(vdiph/ui)
226 endphoneme
227
228 phoneme yI
229 vowel starttype #u endtype #i
230 length 200
231 FMT(vdiph/u-i)
232 endphoneme
233
234
235
236
237 phoneme aU
238 vowel starttype #a endtype #u
239 length 150
240 FMT(vdiph/aau_4)
241 endphoneme
242
243
244 phoneme a:U
245 vowel starttype #a endtype #u
246 length 150 //270
247 FMT(vdiph/au)
248 endphoneme
249
250
251 phoneme eU
252 vowel starttype #e endtype #u
253 length 150
254 FMT(vdiph/eu)
255 endphoneme
256
257
258 phoneme EU
259 vowel starttype #e endtype #u
260 length 150
261 FMT(vdiph/eeu)
262 endphoneme
263
264 phoneme iU
265 vowel starttype #i endtype #u
266 length 140
267 FMT(vdiph2/iu)
268 endphoneme
269
270 phoneme @U
271 vowel starttype #@ endtype #u
272 length 140
273 FMT(vdiph/@u_3)
274 endphoneme
275
276 phoneme @:U
277 vowel starttype #@ endtype #u
278 length 140
279 FMT(vdiph/@u)
280 endphoneme
281
282
283
284 phoneme i@
285 vowel starttype #i endtype #@
286 length 140
287 FMT(vdiph2/ii@_3)
288 endphoneme
289
290 phoneme y@
291 vowel starttype #i endtype #@
292 length 140
293 FMT(vdiph2/y-y#)
294 endphoneme
295
296 phoneme u@
297 vowel starttype #u endtype #@
298 length 100 //200
299 FMT(vdiph2/uu@)
300 endphoneme
301
302 // Addition Dipthongs
303
304 phoneme o# // ông
305 vowel starttype #o endtype #o
306 length 140
307 FMT(vnasal/a#u_n)
308 endphoneme
309
310 phoneme O# // ong
311 vowel starttype #o endtype #o
312 length 140
313 FMT(vnasal/&u_n)
314 endphoneme
315
316
317 phoneme o@
318 vowel starttype #o endtype #a
319 length 140
320 FMT(vdiph2/oa)
321 endphoneme
322
323 phoneme o&
324 vowel starttype #o endtype #o
325 length 140
326 FMT(vietnam/oe)
327 endphoneme
328
329 phoneme iE // iê : viết, giệc
330 vowel starttype #i endtype #e
331 length 140
332 FMT(vietnam/ie_2)
333 endphoneme
334
335 phoneme Oi // oai sound
336 vowel starttype #o endtype #i
337 length 140
338 FMT(vdiph/ooi_3)
339 endphoneme
340
341 // Vowel and Dipthong for south dialect
342
343 phoneme O- // ôi southern sound
344 vowel starttype #o endtype #i
345 length 150
346 FMT(vnasal/oi_n)
347 endphoneme
348
349 phoneme @- // ơi southern sound
350 vowel starttype #o endtype #i
351 length 150
352 FMT(vdiph/@i_3)
353 endphoneme
354
355 phoneme u- // u southern sound
356 vowel starttype #u endtype #u
357 length 150
358 FMT(vowel/u_3,70)
359 endphoneme
360
361
362
363 phoneme kh
364 vls vel frc
365 lengthmod 3
366 Vowelin f1=0 f2=2300 200 400 f3=200 80 len=30
367 Vowelout f1=0 f2=2300 300 400 f3=200 80 rms=20
368 WAV(vietnam/_c,5) //ufric/x, 50)
369 endphoneme
370
371
372 phoneme l
373 liquid
374 Vowelin f1=0 f2=1700 -300 300 f3=-100 80 len=15
375 //lengthmod 7
376 //IF nextPh(isNotVowel) THEN
377 // ChangePhoneme(l/2)
378 //ENDIF
379 //CALL vowelstart_l
380
381 FMT(l/l_vi)
382 endphoneme
383
384 phoneme t
385 vls alv stop
386 //voicingswitch d
387 lengthmod 2
388 Vowelin f1=0 f2=1700 -300 300 f3=-100 80 len=15
389 Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
390
391 WAV(vietnam/th, 50)
392 endphoneme
393
394 phoneme cr
395 vls pla afr sibilant
396 //voicingswitch dZ
397 lengthmod 2
398 Vowelin f1=0 f2=2300 200 400 f3=-100 80 len=15
399
400
401 WAV(vietnam/tr,10)
402 endphoneme
403
404 phoneme d_
405 vcd alv stop
406 // lengthmod 5
407 ipa ɗ
408 Vowelin f1=1 f2=1700 -300 300 f3=-100 80 len=15
409 Vowelout f1=2 f2=1700 -300 300 f3=-100 80 brk len=30
410 WAV(vietnam/dd)
411 endphoneme
412
413 phoneme c
414 vls pal stop palatal
415 //voicingswitch J
416 lengthmod 2
417 length 2
418 Vowelin f1=0 f2=2700 400 600 f3=300 80 len=15 brk
419 Vowelout f1=1 f2=2700 400 600 f3=200 70 len=15 colr=1
420
421
422 WAV(vietnam/ch,5)
423 endphoneme
424
425
426 phoneme p
427 vls blb stop
428 lengthmod 2
429 Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
430 Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
431
432 WAV(ustop/p_unasp_,10)
433
434 endphoneme
435
436 phoneme n
437 vcd alv nasal
438 Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11 brk len=15
439 Vowelout f1=2 f2=1700 -300 250 f3=-100 80 rms=20 brk len=15
440 lengthmod 4
441 length 75
442 FMT(n/nr_)
443 endphoneme
444
445 phoneme t[ // dental variant of /t/
446 vls dnt stop
447 voicingswitch d[
448 lengthmod 2
449 length 5
450 Vowelin f1=1 f2=1500 -250 250 f3=-100 80 amp=16 len=15
451 Vowelout f1=0 f2=1500 -300 250 f3=-100 80 rms=20 len=15
452
453 IF nextPh(isPause2) THEN
454 WAV(ustop/t_unasp2, 5)
455 ENDIF
456 WAV(ustop/t_hi, 70)
457 endphoneme
458