Debian Codegraph @

phsource/ph_turkish

raw
1
2
3 phoneme i
4 vwl starttype #i endtype #i
5 length 180
6 IF thisPh(isTranslationGiven) THEN
7 // don't reduce the vowel if phonemes are explicitly given
8 ELSE
9 IF thisPh(isFinalVowel) THEN
10 ChangePhoneme(I)
11 ENDIF
12 IF nextPh(isNotVowel) AND next2Ph(isNotVowel) THEN
13 ChangePhoneme(I)
14 ENDIF
15 ENDIF
16 FMT(vowel/i_6)
17 endphoneme
18
19 phoneme I
20 vwl starttype #i endtype #i
21 length 180
22 FMT(vowel/ii_5)
23 endphoneme
24
25
26 phoneme y
27 vwl starttype #u endtype #u
28 length 180
29 IF thisPh(isTranslationGiven) THEN
30 // don't reduce the vowel if phonemes are explicitly given
31 ELSE
32 IF thisPh(isFinalVowel) THEN
33 ChangePhoneme(Y)
34 ENDIF
35 IF nextPh(isNotVowel) AND next2Ph(isNotVowel) THEN
36 ChangePhoneme(Y)
37 ENDIF
38 ENDIF
39 FMT(vowel/y_5)
40 endphoneme
41
42 phoneme Y
43 vwl starttype #u endtype #u
44 length 180
45 FMT(vowel/u#)
46 endphoneme
47
48
49
50 phoneme e
51 vwl starttype #e endtype #e
52 length 200
53 IF thisPh(isTranslationGiven) THEN
54 // don't reduce the vowel if phonemes are explicitly given
55 ELSE
56 IF nextPh(isWordEnd) OR next2PhW(isNotVowel) THEN
57 IF nextPh(isRhotic) OR nextPh(isNasal) OR nextPh(l) OR nextPh(L) THEN
58 ChangePhoneme(&)
59 ENDIF
60 ENDIF
61
62 IF thisPh(isFinalVowel) THEN
63 ChangePhoneme(E)
64 ENDIF
65 IF nextPh(isNotVowel) AND next2Ph(isNotVowel) THEN
66 ChangePhoneme(E)
67 ENDIF
68 ENDIF
69 FMT(vowel/e_mid2)
70 endphoneme
71
72 phoneme E
73 vwl starttype #e endtype #e
74 length 200
75 FMT(vowel/e_mid)
76 endphoneme
77
78 phoneme &
79 vwl starttype #a endtype #a
80 length 200
81 FMT(vowel/ee_6)
82 endphoneme
83
84
85 phoneme W
86 vwl starttype #@ endtype #@
87 length 200
88 FMT(vowel/y#)
89 endphoneme
90
91
92 phoneme a
93 vwl starttype #a endtype #a
94 length 200
95 IF thisPh(isUnstressed) AND thisPh(isWordEnd) THEN
96 FMT(vowel/a#_2)
97 ENDIF
98 FMT(vowel/aa_6)
99 endphoneme
100
101
102
103 phoneme u
104 vwl starttype #u endtype #u
105 length 180
106 IF thisPh(isTranslationGiven) THEN
107 // don't reduce the vowel if phonemes are explicitly given
108 ELSE
109 IF thisPh(isFinalVowel) THEN
110 ChangePhoneme(U)
111 ENDIF
112 IF nextPh(isNotVowel) AND next2Ph(isNotVowel) THEN
113 ChangePhoneme(U)
114 ENDIF
115 ENDIF
116 FMT(vowel/u_2)
117 endphoneme
118
119 phoneme U
120 vwl starttype #u endtype #u
121 length 180
122 FMT(vowel/uu_2)
123 endphoneme
124
125
126 phoneme @
127 vwl starttype #@ endtype #@
128 ipa ɯ
129 length 180
130 FMT(vowel/u#_7)
131 endphoneme
132
133
134
135 phoneme o
136 vwl starttype #o endtype #o
137 length 200
138 IF thisPh(isTranslationGiven) THEN
139 // don't reduce the vowel if phonemes are explicitly given
140 ELSE
141 IF thisPh(isFinalVowel) THEN
142 ChangePhoneme(O)
143 ENDIF
144 IF nextPh(isNotVowel) AND next2Ph(isNotVowel) THEN
145 ChangePhoneme(O)
146 ENDIF
147 ENDIF
148 FMT(vowel/o_mid)
149 endphoneme
150
151 phoneme O
152 vwl starttype #o endtype #o
153 length 200
154 FMT(vowel/oo)
155 endphoneme
156
157
158
159 phoneme : // Lengthen previous vowel by "length"
160 virtual
161 length 140
162 endphoneme
163
164
165 phoneme c
166 vls pal stp
167 lengthmod 2
168 Vowelin f1=0 f2=2700 200 500 f3=400 80 len=60
169 Vowelout f1=0 f2=2700 300 500 f3=300 80
170 IF nextPh(isPause2) THEN
171 WAV(ustop/ki, 80)
172 ENDIF
173 WAV(ustop/ki)
174 endphoneme
175
176
177 phoneme J
178 vcd pla stp
179 lengthmod 5
180
181 IF PreVoicing THEN
182 FMT(dzh/xdz_pzd)
183 ENDIF
184
185 Vowelin f1=2 f2=2700 400 600 f3=300 80
186 Vowelout f1=2 f2=2700 400 600 f3=300 80 colr=1
187
188 IF KlattSynth THEN
189 FMT(klatt/dz_pzd) addWav(ustop/ki, 60)
190 ENDIF
191
192
193 FMT(dzh/dz_pzd) addWav(ustop/ki, 60)
194 endphoneme
195
196
197 phoneme G
198 import_phoneme en/r/
199 lengthmod 7
200 endphoneme
201
202
203 phoneme R
204 liquid trl
205 lengthmod 6
206 IF prevPhW(isVowel) AND nextPhW(isVowel) THEN
207 ChangePhoneme(*)
208 ENDIF
209 CALL base1/R
210 endphoneme
211