Debian Codegraph @

phsource/ph_bulgarian

raw
1 // Bulgarian
2
3 phoneme i
4 vowel starttype #i endtype #i
5 length 130
6 IfNextVowelAppend(;)
7 IF thisPh(isNotStressed) THEN
8 FMT(vowel/ii_5)
9 ENDIF
10 FMT(vowel/i_6)
11 endphoneme
12
13 phoneme e
14 vowel starttype #e endtype #e
15 length 140
16 IF thisPh(isNotStressed) THEN
17 FMT(vowel/e_mid2)
18 ENDIF
19 FMT(vowel/e_mid)
20 endphoneme
21
22 phoneme @
23 vowel starttype #@ endtype #@
24 length 140
25 IF thisPh(isNotStressed) THEN
26 FMT(vowel/V)
27 ENDIF
28 FMT(vowel/@_bck)
29 endphoneme
30
31 phoneme a
32 vowel starttype #a endtype #a
33 length 150
34 IF thisPh(isNotStressed) THEN
35 IF nextVowel(isStressed) THEN
36 FMT(vowel/a#_4)
37 ELSE
38 ipa ɐ
39 FMT(vowel/V_3)
40 ENDIF
41 ENDIF
42 FMT(vowel/a)
43 endphoneme
44
45 phoneme o
46 vowel starttype #o endtype #o
47 length 140
48 IF thisPh(isNotStressed) THEN
49 FMT(vowel/o_mid)
50 ENDIF
51 FMT(vowel/oo)
52 endphoneme
53
54 phoneme u
55 vowel starttype #u endtype #u
56 length 140
57 IF thisPh(isNotStressed) THEN
58 FMT(vowel/u_2)
59 ENDIF
60 FMT(vowel/u_bck)
61 endphoneme
62
63
64 // Consonants
65
66 phoneme ts;
67 delete_phoneme
68 endphoneme
69
70 phoneme l
71 import_phoneme en/l
72 endphoneme
73
74 phoneme L // velar L
75 import_phoneme base/L
76 endphoneme
77
78
79 phoneme r
80 import_phoneme base/R2
81 endphoneme
82
83 phoneme x
84 voicingswitch x // [x] doesn't switch to [Q]
85 import_phoneme base/x
86 endphoneme
87
88
89
90 phoneme g#
91 import_phoneme ru/g
92 endphoneme
93
94
95 phoneme g;
96 vcd vel stop
97 palatal
98 voicingswitch k
99 lengthmod 5
100 Vowelin f1=1 f2=2300 300 300 f3=300 80
101 Vowelout f1=1 f2=2300 300 300 f3=300 80 brk colr=1
102
103 IF PreVoicing THEN
104 FMT(g/xg)
105 ENDIF
106
107 IF nextPh(isPause2) THEN
108 FMT(g/g_) addWav(x/g_)
109 ENDIF
110 FMT(g/g) addWav(x/g2, 150)
111 endphoneme