Debian Codegraph @

phsource/ph_italian

raw
1
2 //====================================================
3 // Italian, last update may 31 2018 by Chris <[email protected]>
4 //====================================================
5
6 phoneme : // Lengthen previous vowel by "length"
7 virtual
8 length 50
9 endphoneme
10
11
12 phoneme a
13 vwl starttype #a endtype #a
14 length 160
15 ChangeIfNotStressed(a/)
16 IF thisPh(isWordEnd) AND prevPhW(t) AND thisPh(isStressed) THEN
17 FMT(vowel/a)
18 ENDIF
19 IF nextPhW(o/) OR prevPhW(isVowel) OR prevPhW(j) THEN
20 FMT(vowel/a)
21 ENDIF
22 FMT(vwl_it/a)
23 endphoneme
24
25 phoneme a/
26 vwl starttype #a endtype #a
27 length 150
28 IF prevPhW(l) THEN
29 FMT(vowel/a_7, 80)
30 ENDIF
31 IF thisPh(isWordEnd) THEN
32 FMT(vowel/a_8, 70)
33 ENDIF
34 IF thisPh(isWordStart) THEN
35 FMT(vwl_it/a, 85)
36 ENDIF
37 FMT(vowel/a_8, 80)
38 endphoneme
39
40
41 phoneme e
42 vwl starttype #e endtype #e
43 length 160
44 ChangeIfNotStressed(e/)
45 FMT(vowel/e_2)
46 endphoneme
47
48 phoneme e/
49 vwl starttype #e endtype #e
50 length 145
51 IF nextPhW(isNasal) OR nextPhW(isLiquid) THEN
52 FMT(vowel/e_mid2)
53 ELIF thisPh(isWordEnd) THEN
54 FMT(vowel/e, 65)
55 ENDIF
56 FMT(vowel/e)
57 endphoneme
58
59 phoneme E
60 vwl starttype #e endtype #e
61 length 150
62 ChangeIfUnstressed(e/)
63 FMT(vwl_it/e_open)
64 endphoneme
65
66
67 phoneme i
68 vwl starttype #i endtype #i
69 length 155
70 IfNextVowelAppend(;)
71 IF thisPh(isWordEnd) AND thisPh(isNotStressed) AND prevPhW(isNotVowel) THEN
72 ChangePhoneme(I)
73 ENDIF
74 IF thisPh(isNotStressed) AND prevPhW(isNotVowel) AND nextPhW(isVowel) THEN
75 ChangePhoneme(i/)
76 ENDIF
77 IF thisPh(isNotStressed) AND prevPhW(isNotVowel) AND nextPhW(isNotVowel) THEN
78 ChangePhoneme(i/)
79 ENDIF
80 FMT(vwl_it/i)
81 endphoneme
82
83 phoneme i/
84 vwl starttype #i endtype #i
85 unstressed
86 length 130
87 IfNextVowelAppend(;)
88 FMT(vwl_it/i, 90)
89 endphoneme
90
91 phoneme i# // Used for 'gia_' where [i] is only spoken if stressed
92 vwl starttype #i endtype #i
93 length 145
94 ChangeIfNotStressed(NULL)
95 ChangePhoneme(i)
96 endphoneme
97
98 phoneme I
99 vwl starttype #i endtype #i
100 length 145
101 IfNextVowelAppend(;)
102 FMT(vowel/i_7)
103 endphoneme
104
105
106 phoneme o
107 vwl starttype #o endtype #o
108 length 170
109 ChangeIfNotStressed(o/)
110 FMT(vwl_it/o)
111 endphoneme
112
113 phoneme o/
114 vwl starttype #o endtype #o
115 length 145
116 IF nextPhW(isNasal) OR nextPhW(isLiquid) THEN
117 FMT(vwl_it/o_open, 80)
118 ENDIF
119 IF thisPh(isWordEnd) AND NOT prevPhW(a) THEN
120 length 150
121 FMT(vowel/o_mid, 65)
122 ENDIF
123 FMT(vowel/o, 90)
124 endphoneme
125
126 phoneme O
127 vwl starttype #o endtype #o
128 length 150
129 ChangeIfUnstressed(o/)
130 FMT(vwl_it/o_open)
131 endphoneme
132
133
134 phoneme u
135 vwl starttype #u endtype #u
136 length 175
137 ChangeIfNotStressed(U)
138 FMT(vwl_it/u)
139 endphoneme
140
141 phoneme U
142 vwl starttype #u endtype #u
143 length 140
144 FMT(vowel/u_bck2)
145 endphoneme
146
147
148 phoneme aU
149 vwl starttype #a endtype #u
150 length 270
151 FMT(vdiph/au_4)
152 endphoneme
153
154 phoneme aI
155 vwl starttype #a endtype #i
156 length 250
157 FMT(vdiph/ai)
158 endphoneme
159
160 phoneme oI
161 vwl starttype #o endtype #i
162 length 230
163 FMT(vdiph/oi)
164 endphoneme
165
166
167 // CONSONANTS
168 //==========
169
170 phoneme l
171 liquid
172 lengthmod 7
173 IF nextPh(isNotVowel) THEN
174 ChangePhoneme(l/)
175 ENDIF
176
177 NextVowelStarts
178 VowelStart(l/l@)
179 VowelStart(l/la, -10)
180 VowelStart(l/le, -15)
181 VowelStart(l/li, -15)
182 VowelStart(l/lo, -20)
183 VowelStart(l/lu, -17)
184 EndSwitch
185 IF prevPh(#@) THEN
186 VowelEnding(l/xl, -50)
187 ELIF prevPh(isVowel) THEN
188 VowelEnding(l/xl, -40)
189 ENDIF
190
191 IF prevPh(isPause) THEN
192 FMT(l/_l)
193 ENDIF
194
195 IF prevPh(t) THEN
196 FMT(l/tl)
197 ENDIF
198
199 IF prevPh(l/) THEN
200 FMT(l/l_long)
201 ENDIF
202 FMT(l/l)
203 endphoneme
204
205 phoneme l^
206 import_phoneme base1/l^
207 length 130
208 endphoneme
209
210 phoneme ts
211 vls alv afr sib
212 voicingswitch s
213 lengthmod 2
214 Vowelin f1=0 f2=1700 -300 300 f3=-100 60 len=60
215 Vowelout f1=0 f2=1700 -300 250 f3=-100 70 rms=18
216 IF nextPh(isPause2) THEN
217 WAV(ustop/ts_)
218 ENDIF
219 WAV(ustop/ts)
220 endphoneme
221
222 phoneme ts2
223 vls alv afr sib
224 voicingswitch dz
225 lengthmod 9
226 Vowelin f1=2 f2=1700 -300 300 f3=-200 120 len=10
227 Vowelout f1=0 f2=1700 -300 250 f3=-100 170 rms=20 brk
228 IF nextPh(isStressed) THEN
229 Vowelin f1=0 f2=1700 -300 300 f3=-100 60 len=60
230 Vowelout f1=0 f2=1700 -300 250 f3=-100 70 rms=14
231 WAV(ustop/ts_, 80)
232 ENDIF
233 WAV(ustop/ts_, 70)
234 endphoneme
235
236 phoneme dz
237 import_phoneme consonants/dz
238 voicingswitch z
239 lengthmod 3
240 endphoneme
241
242 phoneme ss
243 vls alv frc sib
244 voicingswitch z
245 lengthmod 3
246 Vowelin f1=0 f2=1700 -300 300 f3=-100 90
247 Vowelout f1=2 f2=1700 -200 250 f3=-100 60 rms=20
248 length 140
249 WAV(ufric/s, 75)
250 endphoneme
251
252 phoneme v
253 vcd lbd frc
254 voicingswitch f
255 lengthmod 6
256 Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
257 Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
258 IF prevPhW(z) THEN
259 length 70
260 FMT(voc/v_) addWav(vocw/v, 60)
261 ENDIF
262 IF KlattSynth THEN
263 Vowelout f1=1 f2=1000 -500 -300 f3=-300 60 len=50 brk
264 IF nextPh(isPause2) THEN
265 FMT(klatt/v_) addWav(vocw/v)
266 ENDIF
267 FMT(klatt/v) addWav(vocw/v, 150)
268 ENDIF
269
270 IF nextPh(isPause2) THEN
271 FMT(voc/v_) addWav(vocw/v)
272 ENDIF
273 IF thisPh(isWordStart) AND nextPhW(isLiquid) THEN
274 length 70
275 ENDIF
276 FMT(voc/v) addWav(vocw/v, 90)
277 endphoneme
278
279 phoneme z
280 vcd alv frc sib
281 voicingswitch s
282 lengthmod 6
283 Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
284
285 IF KlattSynth THEN
286 Vowelin f1=0 f2=1390 -300 300 f3=0 0
287 Vowelout f1=1 f2=1390 -300 300 f3=-100 60 len=50 brk
288 ENDIF
289
290 IF nextPhW(v) OR nextPhW(b) THEN
291 FMT(voc/z) addWav(ufric/s!, 60)
292 ENDIF
293 FMT(voc/z) addWav(ufric/s_, 85)
294 endphoneme
295
296
297 // Consonant weakening [ITA] (Spirantizzazione delle occlusive)
298
299 phoneme k~
300 vls vel stp
301 lengthmod 2
302 voicingswitch g
303 IF prevPh(isVowel) AND nextPhW(isVowel) THEN
304 ChangePhoneme(h)
305 ENDIF
306 Vowelin f1=0 f2=2300 200 400 f3=-100 80
307 Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
308
309 IF nextPh(isPause2) THEN
310 WAV(ustop/k_)
311 ELIF nextPh(isRhotic) THEN
312 WAV(ustop/kr)
313 ELIF nextPh(l) THEN
314 WAV(ustop/kl)
315 ENDIF
316 WAV(ustop/k_unasp, 70)
317 endphoneme
318
319 phoneme tS~
320 vls pla afr sib
321 voicingswitch dZ
322 lengthmod 2
323 IF prevPh(isVowel) AND nextPhW(isVowel) THEN
324 ChangePhoneme(S)
325 ENDIF
326 Vowelin f1=0 f2=2300 200 400 f3=-100 80
327
328 IF nextPh(isPause2) THEN
329 WAV(ustop/tsh_)
330 ENDIF
331 WAV(ustop/tsh)
332 endphoneme
333
334 phoneme dZ~
335 vcd pla afr sib
336 voicingswitch S
337 lengthmod 5
338 IF prevPh(isVowel) AND nextPhW(isVowel) THEN
339 ChangePhoneme(Z)
340 ENDIF
341 Vowelin f1=2 f2=2300 200 400 f3=100 80
342 Vowelout f1=2 f2=2300 250 300 f3=100 80 brk
343
344 IF PreVoicing THEN
345 FMT(dzh/xdzh)
346 ENDIF
347
348 IF nextPh(isPause2) THEN
349 FMT(dzh/dzh_) addWav(x/dzh_)
350 ENDIF
351 FMT(dzh/dzh) addWav(x/dzh)
352 endphoneme
353
354 phoneme g~
355 vcd vel stp
356 voicingswitch k
357 lengthmod 5
358 IF prevPh(isVowel) AND nextPhW(isVowel) THEN
359 ChangePhoneme(Q~)
360 ENDIF
361 Vowelin f1=2 f2=2300 200 300 f3=-300 80
362 Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
363
364 IF nextPh(isPause2) THEN
365 FMT(g/g_) addWav(x/g_)
366 ENDIF
367 FMT(g/g) addWav(x/g2, 130)
368 endphoneme
369
370 phoneme Q~
371 vcd vel frc
372 voicingswitch x
373 lengthmod 6
374 Vowelin f1=2 f2=2300 200 400 f3=-100 80
375 Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
376
377 IF KlattSynth THEN
378 IF nextPh(isPause2) THEN
379 FMT(klatt/qqh_) addWav(vocw/Q_)
380 ENDIF
381 FMT(klatt/qqh) addWav(vocw/Q)
382 ENDIF
383
384 IF nextPh(isPause2) THEN
385 FMT(voc/Q_) addWav(vocw/Q_)
386 ENDIF
387 FMT(voc/Q) addWav(vocw/Q2, 70)
388 endphoneme
389
390 phoneme S~
391 vls pla frc sib
392 voicingswitch Z
393 lengthmod 3
394 Vowelin f1=0 f2=2100 100 300 f3=-100 80
395 Vowelout f1=0 f2=2100 100 300 f3=-100 80
396 IF nextPhW(isVowel) THEN
397 ChangePhoneme(s)
398 ENDIF
399 WAV(ufric/sh, 85)
400 endphoneme
401