Debian Codegraph @

phsource/ph_myanmar

raw
1 //===========
2 // TONES
3 //===========
4
5
6 phoneme 1 //low tone
7 stress
8 Tone(20,35, envelope/i_risefall,NULL)
9 endphoneme
10
11 phoneme 2 //high tone
12 stress
13 Tone(45,80, envelope/p_rise,NULL)
14 endphoneme
15
16 phoneme 3 //creaky tone
17 stress
18 Tone(30,75, envelope/p_214, NULL)
19 endphoneme
20
21 phoneme 4 //checked tone
22 stress
23 Tone(20,35, envelope/i_risefall,NULL)
24 endphoneme
25
26
27
28 //====================================================
29 // Consonants
30 //====================================================
31
32 phoneme k
33 vls uvl stp
34 lengthmod 2
35 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
36 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
37 WAV(myanmar/k, 150)
38 endphoneme
39
40 phoneme kh
41 vls uvl stp
42 lengthmod 2
43 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
44 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
45 WAV(myanmar/kh, 150)
46 endphoneme
47
48 phoneme g
49 vls glt stp
50 lengthmod 2
51 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
52 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
53 WAV(myanmar/g.wav,150)
54 endphoneme
55
56 phoneme ng
57 vcd pal nas pal
58 lengthmod 1
59 Vowelin f1=1 f2=1000 0 200 f3=-300 80 f4
60 Vowelout f1=1 f2=200 0 300 f3=200 80 len=50 rms=10
61 FMT(myanmar/ny,130) //addWav(r3/r_trill.wav, 50) //ng_1)
62 endphoneme
63
64 phoneme s
65 vls alv frc sib
66 lengthmod 2
67 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
68 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
69 WAV(myanmar/s, 150)
70 endphoneme
71
72 phoneme hs
73 vls alv frc sib
74 lengthmod 2
75 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
76 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
77 WAV(myanmar/hs, 150)
78 endphoneme
79
80 phoneme z
81 vls uvl stp
82 lengthmod 2
83 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
84 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
85 WAV(myanmar/z, 150)
86 endphoneme
87
88 //vv
89 // phoneme f
90 //
91 // import_phoneme base/N
92 //
93 // endphoneme
94
95 phoneme t // voiceless /ㅈ//
96
97 vls blb stp
98 lengthmod 2
99 WAV(myanmar/t_short,150)
100
101 endphoneme
102
103
104 phoneme ht
105 vls uvl stp
106 lengthmod 2
107 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
108 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
109 WAV(myanmar/ht, 150 )
110 endphoneme
111
112 phoneme d
113 vls uvl stp
114 lengthmod 2
115 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
116 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
117 WAV(myanmar/d, 150 )
118 endphoneme
119
120 phoneme p
121 vls blb stp
122 lengthmod 2
123 WAV(myanmar/p, 150)
124 endphoneme
125
126 phoneme ph
127 vls blb stp
128 voicingswitch b
129 lengthmod 2
130 Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
131 Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
132
133 IF nextPh(isPause2) THEN
134 WAV(ustop/p_)
135 ELIF nextPh(r) THEN
136 WAV(ustop/pr, 70)
137 ELIF nextPh(R) OR nextPh(R2) THEN
138 WAV(ustop/pr)
139 ELIF nextPh(@-) THEN
140 WAV(ustop/p_unasp)
141 ELIF nextPh(l) THEN
142 WAV(ustop/pl)
143 ENDIF
144 WAV(ustop/p)
145
146 endphoneme
147
148 phoneme x
149 liquid
150 lengthmod 7
151
152 IF nextPh(isNotVowel) THEN
153 ChangePhoneme(l/)
154 ENDIF
155
156 IF nextPh(isNotVowel) THEN
157 PrevVowelEndings
158 VowelEnding(l/L1_@L, -60)
159 VowelEnding(l/L1_aL, -40)
160 VowelEnding(l/L1_eL, -30)
161 VowelEnding(l/L1_iL, -30)
162 VowelEnding(l/L1_oL, -40)
163 VowelEnding(l/L1_uL, -40)
164 EndSwitch
165
166 FMT(l/l_)
167 RETURN
168 ENDIF
169
170 CALL vowelstart_l
171
172 IF prevPh(#@) THEN
173 VowelEnding(l/xl, -50)
174 ELIF prevPh(isVowel) THEN
175 VowelEnding(l/xl, -40)
176 ENDIF
177
178 IF prevPh(isPause) THEN
179 FMT(l/_l)
180 ENDIF
181
182 IF prevPh(t) THEN
183 FMT(l/tl)
184 ENDIF
185
186 IF prevPh(l/) THEN
187 FMT(l/l_long) // double l, make it longer
188 ENDIF
189
190 FMT(l/l)
191
192 endphoneme
193
194 phoneme w
195 liquid
196 lengthmod 7
197
198 IF nextPh(isVowel) THEN
199 NextVowelStarts
200 VowelStart(w/w@)
201 VowelStart(w/wa)
202 VowelStart(w/we)
203 VowelStart(w/wi)
204 VowelStart(w/wo)
205 VowelStart(w/wu)
206 EndSwitch
207
208 VowelEnding(w/xw, -30)
209
210 IF prevPhW(isNasal) THEN
211 FMT(w/w)
212 ELSE
213 FMT(w/_w)
214 ENDIF
215 ELSE
216 Vowelout len=50
217 IF prevPh(#i) THEN
218 FMT(w/iw_)
219 ENDIF
220 FMT(w/w_)
221 ENDIF
222 endphoneme
223
224 phoneme th
225 vls dnt frc
226 voicingswitch t
227 lengthmod 1
228 Vowelin f1=0 f2=1700 -300 300 f3=-100 80
229 Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
230
231 WAV(myanmar/t_hi,200)
232 endphoneme
233
234 phoneme h
235 vls blb stp
236 lengthmod 2
237 Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
238 Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
239 WAV(myanmar/h, 150)
240 endphoneme
241
242
243
244
245 phoneme j
246 vcd pal afr sib pal
247 voicingswitch c
248 lengthmod 5
249 Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
250 Vowelout f1=2 f2=2700 400 600 f3=300 80 colr=1
251 FMT(myanmar/yy)
252
253 endphoneme
254
255 phoneme v
256 vls blb stp
257 lengthmod 2
258 Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
259 Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
260 FMT(myanmar/a)
261 endphoneme
262
263
264 phoneme ky
265 vcd pal afr sib pal
266 lengthmod 5
267 Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
268 Vowelout f1=2 f2=2700 400 600 f3=300 80 colr=1
269 FMT(myanmar/ky)
270 endphoneme
271
272 ////////////////////////////
273 phoneme q0
274 vls uvl stp
275 lengthmod 1
276 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
277 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
278 WAV(myanmar/by.wav,10)
279 endphoneme
280
281
282 phoneme q1
283 vls uvl stp
284 lengthmod 2
285 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
286 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=3
287 WAV(myanmar/ch.wav,100)
288 endphoneme
289
290 phoneme q3
291 vls uvl stp
292 lengthmod 2
293 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
294 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
295 WAV(myanmar/gya.wav, 150)
296 endphoneme
297
298 phoneme q4
299 vls uvl stp
300 lengthmod 2
301 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
302 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
303 WAV(myanmar/htya.wav, 150)
304 endphoneme
305
306 phoneme q7
307 vls uvl stp
308 lengthmod 2
309 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
310 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
311 WAV(myanmar/phya.wav, 150)
312 endphoneme
313
314
315 phoneme q8
316 vls uvl stp
317 lengthmod 2
318 WAV(myanmar/pya.wav, 10)
319 endphoneme
320
321 phoneme q9
322 vls uvl stp
323 lengthmod 2
324 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
325 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
326 WAV(myanmar/ty.wav, 100)
327 endphoneme
328
329 ///////////////////////////////////////////////////////
330
331 phoneme q46
332 vls uvl stp
333 lengthmod 2
334 Vowelin f1=1 f2=1700 0 200 f3=-300 80 f4
335 Vowelout f1=1 f2=1700 0 200 f3=-300 80 f4 rms=30
336 WAV(myanmar/sh.wav, 150)
337 endphoneme
338
339
340 //====================================================
341 // Vowels and Diphtnongs
342 //====================================================
343 phoneme @ //အ
344 vwl starttype #@ endtype #@
345 unstressed
346 length 194
347 FMT(myanmar/a01)
348 endphoneme
349
350 phoneme a01 //အ
351 vwl starttype #a endtype a
352 length 194
353 FMT(myanmar/a01)
354 endphoneme
355
356 phoneme a02 //အာ
357 vwl starttype #a endtype r
358 length 180
359 FMT(myanmar/a02) //ar_1)
360 endphoneme
361
362 phoneme a03 //အား
363 vwl starttype #a endtype r
364 length 200
365 FMT(myanmar/a03)
366 endphoneme
367
368 ///////////////////////////////////////////////////////////////////////////////////////
369
370 phoneme a04 //အိ
371 vwl starttype #i endtype #i
372 IF nextPh(3) THEN //creaky tone
373 length 168
374 ELIF nextPh(1) THEN //low tone
375 length 408
376 ELIF nextPh(2) THEN //high tone
377 length 312
378 ELIF nextPh(4) THEN //checked tone
379 length 218
380 ENDIF
381 FMT(myanmar/a04)
382 endphoneme
383
384
385 phoneme a05 //အီ
386 vwl starttype #a endtype e
387 length 180
388 FMT(myanmar/a05)
389 endphoneme
390
391 phoneme a06 //အီး
392 vwl starttype #a endtype e
393 length 200
394 FMT(myanmar/a06)
395 endphoneme
396 ///////////////////////////////////////////////////////////////////////////////////////////////
397
398 phoneme a07 //အု
399 vwl starttype #a endtype u
400 length 130
401 FMT(myanmar/a07)
402 endphoneme
403
404 phoneme a08 //အူ
405 vwl starttype #u endtype #u
406 IF nextPh(3) THEN //creaky tone
407 length 200
408 ELIF nextPh(1) THEN //low tone
409 length 461
410 ELIF nextPh(2) THEN //high tone
411 length 302
412 // ELIF nextPh(4) THEN //checked tone
413 // length
414 ENDIF
415 FMT(myanmar/a08)
416 endphoneme
417
418 phoneme a09 //အူး
419 vwl starttype #a endtype u
420 length 200
421 FMT(myanmar/a09)
422 endphoneme
423
424 //////////////////////////////////////////////////////////////////////////////////////
425
426 phoneme a11 //အေ့
427 vwl starttype #a endtype a
428 length 130
429 FMT(myanmar/a11)
430 endphoneme
431
432 phoneme a10 //အေ
433 vwl starttype #e endtype #e
434 IF nextPh(3) THEN //creaky tone
435 length 197
436 ELIF nextPh(1) THEN //low tone
437 length 436
438 ELIF nextPh(2) THEN //high tone
439 length 336
440 ELIF nextPh(4) THEN //checked tone
441 length 219
442 ENDIF
443 FMT(vowel/e)
444
445 endphoneme
446
447 phoneme a12 //အေး
448 vwl starttype #a endtype a
449 length 200
450 FMT(myanmar/a12)
451 endphoneme
452
453 //////////////////////////////////////////////////////////////////////////////////////
454
455 phoneme a14 //အဲ့
456 vwl starttype #a endtype e
457 length 120
458 FMT(myanmar/a14)
459 endphoneme
460
461 phoneme a13 //အယ်
462 vwl starttype #a endtype e
463 length 180
464 FMT(myanmar/a13)
465 endphoneme
466
467 phoneme a15 //အဲ
468 vwl starttype #e endtype #e
469 IF nextPh(3) THEN //creaky tone
470 length 203
471 ELIF nextPh(1) THEN //low tone
472 length 412
473 ELIF nextPh(2) THEN //high tone
474 length 317
475 ELIF nextPh(4) THEN //checked tone
476 length 209
477 ENDIF
478 FMT(vowel/e_mid) //chosen at random
479
480 endphoneme
481
482 ///////////////////////////////////////////////////////////////////////////////////////////////
483
484 phoneme a17 //အော့
485 vwl starttype #a endtype a
486 length 130
487 FMT(myanmar/a17)
488 endphoneme
489
490 phoneme a18 //အော်
491 vwl starttype #o endtype #o
492 IF nextPh(3) THEN //creaky tone
493 length 236
494 ELIF nextPh(1) THEN //low tone
495 length 471
496 ELIF nextPh(2) THEN //high tone
497 length 345
498 ELIF nextPh(4) THEN //checked tone
499 length 202
500 ENDIF
501 FMT(vowel/oo)
502 endphoneme
503
504 phoneme a16 //အော
505 vwl starttype #a endtype e
506 length 200
507 FMT(myanmar/a16)
508 endphoneme
509
510 //////////////////////////////////////////////////////////////////////////////////////////////////
511 phoneme a20 //အံ့
512 vwl starttype #a endtype e
513 length 130
514 FMT(myanmar/a20)
515 endphoneme
516
517 phoneme a19 //အံ
518 vwl starttype #a endtype e
519 length 180
520 FMT(myanmar/a19)
521 endphoneme
522
523 phoneme a21 //အန်း
524 vwl starttype #a endtype e
525 length 200
526 FMT(myanmar/a21)//myanmar/an1)
527 endphoneme
528
529 ///////////////////////////////////////////////////////////////////////////////////////////////////////
530
531 phoneme a23 //အို့
532 vwl starttype #a endtype e
533 length 130
534 FMT(myanmar/a23)
535 endphoneme
536
537 phoneme a22 //အို
538 vwl starttype #a endtype e
539 length 180
540 FMT(myanmar/a22)
541 endphoneme
542
543 phoneme a24 //အိုး
544 vwl starttype #a endtype e
545 length 200
546 FMT(myanmar/a24)
547 endphoneme
548
549 /////////////////////////////////////////////////////////////////////////////////////////////////
550 phoneme a29 //အင့်
551 vwl starttype #a endtype e
552 length 130
553 FMT(myanmar/a29)
554 endphoneme
555
556 phoneme a28 //အင်
557 vwl starttype #a endtype e
558 length 180
559 FMT(myanmar/a28)
560 endphoneme
561
562 phoneme a30 //အင်း
563 vwl starttype #a endtype e
564 length 200
565 FMT(myanmar/a30)
566 endphoneme
567
568
569 phoneme a32 //အိုင့်
570 vwl starttype #a endtype e
571 length 130
572 FMT(myanmar/a32)
573 endphoneme
574
575 phoneme a31 //အိုင်
576 vwl starttype #a endtype e
577 length 180
578 FMT(myanmar/a31)
579 endphoneme
580
581 phoneme a33 //အိုင်း
582 vwl starttype #a endtype e
583 length 200
584 FMT(myanmar/a33)
585 endphoneme
586
587 /////////////////////////////////////////////////////////
588
589 phoneme a35 //အောင့်
590 vwl starttype #a endtype e
591 length 130
592 FMT(myanmar/a35)
593 endphoneme
594
595 phoneme a34 //အောင်
596 vwl starttype #a endtype e
597 length 180
598 FMT(myanmar/a34)
599 endphoneme
600
601 phoneme a36 //အောင်း
602 vwl starttype #a endtype e
603 length 200
604 FMT(myanmar/a36)
605 endphoneme
606
607 /////////////////////////////////////////////////////////////////////////////////////////////////////////////
608 phoneme a43 //အိန့်
609 vwl starttype #a endtype e
610 length 130
611 FMT(myanmar/a43)
612 endphoneme
613
614 phoneme a42 //အိန်
615 vwl starttype #a endtype e
616 length 180
617 FMT(myanmar/a42)
618 endphoneme
619
620 phoneme a44 //အိန်း
621 vwl starttype #a endtype e
622 length 200
623 FMT(myanmar/a44)
624 endphoneme
625
626 /////////////////////////////////////////////////////////////////////////////////////////////////
627 phoneme a20 //အန့်
628 vwl starttype #a endtype e
629 length 130
630 FMT(myanmar/a20)
631 endphoneme
632
633 phoneme a19 //အန်
634 vwl starttype #a endtype e
635 length 180
636 FMT(myanmar/a19)
637 endphoneme
638
639 phoneme a21 //အန်း
640 vwl starttype #a endtype e
641 length 200
642 FMT(myanmar/a21)
643 endphoneme
644
645 ///////////////////////////////////////////////////////
646
647 phoneme a49 //အွန့်
648 vwl starttype #a endtype e
649 length 130
650 FMT(myanmar/a49)
651 endphoneme
652
653 phoneme a48 //အွန်
654 vwl
655 IF nextPh(4) THEN //diphthong with checked ton
656 starttype #o endtype #u
657 ELSE
658 starttype #o endtype #o
659 ENDIF
660 IF nextPh(3) THEN //creaky tone
661 length 266
662 ELIF nextPh(1) THEN //low tone
663 length 458
664 ELIF nextPh(2) THEN //high tone
665 length 325
666 ELIF nextPh(4) THEN //checked tone
667 length 202
668 ENDIF
669 FMT(vowel/oo_en) //formant
670
671 endphoneme
672
673 phoneme a50 //အွန်း
674 vwl starttype #a endtype e
675 length 200
676 FMT(myanmar/a50)
677 endphoneme
678
679
680
681 /////////////////////////////////////////////////////////////////////////////////////////////////////////////
682 phoneme a46 //အုန့်
683 vwl starttype #a endtype e
684 length 130
685 FMT(myanmar/a46)
686 endphoneme
687
688 phoneme a45 //အုန်
689 vwl starttype #a endtype e
690 length 180
691 FMT(myanmar/a45)
692 endphoneme
693
694 phoneme a47 //အုန်း
695 vwl starttype #a endtype e
696 length 200
697 FMT(myanmar/a47)
698 endphoneme
699
700 /////////////////////////////////////////////////////////////////////////////////////////////////////////////
701
702
703
704 //////////////////////////////////////////////////////////
705 phoneme a25 //အက်
706 vwl starttype #a endtype e
707 length 130
708 FMT(myanmar/a25)
709 endphoneme
710
711 phoneme a26 //အောက်
712 vwl starttype #a endtype e
713 length 130
714 FMT(myanmar/a26)
715 endphoneme
716
717 phoneme a27 //အိုက်
718 vwl starttype #a endtype e
719 length 130
720 FMT(myanmar/a27)
721 endphoneme
722
723 phoneme a37 //အစ်
724 vwl starttype #a endtype e
725 length 130
726 FMT(myanmar/a37)
727 endphoneme
728
729 phoneme a38 //အတ်
730 vwl starttype #a endtype e
731 length 130
732 FMT(myanmar/a38)
733 endphoneme
734
735 phoneme a39 //အိတ်
736 vwl starttype #a endtype e
737 length 130
738 FMT(myanmar/a39)
739 endphoneme
740
741 phoneme a40 //အုတ်
742 vwl starttype #a endtype e
743 length 130
744 FMT(myanmar/a40)
745 endphoneme
746
747 phoneme a41 //အွတ်
748 vwl starttype #a endtype e
749 length 130
750 FMT(myanmar/a41)
751 endphoneme
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779