Debian Codegraph @

phsource/ph_italian

raw
1 //====================================================
2 // Italian
3 //====================================================
4
5 phoneme : // Lengthen previous vowel by "length"
6 virtual
7 length 50
8 endphoneme
9
10
11 phoneme a
12 vowel starttype #a endtype #a
13 length 160
14 ChangeIfNotStressed(a/)
15 FMT(vowel/a)
16 endphoneme
17
18
19 phoneme a/
20 vowel starttype #@ endtype #@
21 length 140
22 IF thisPh(isWordEnd) THEN
23 FMT(vowel/a#_4)
24 ENDIF
25 FMT(vowel/a_5)
26 endphoneme
27
28
29 phoneme e
30 vowel starttype #e endtype #e
31 length 150
32 ChangeIfNotStressed(e/)
33 FMT(vowel/e_2)
34 endphoneme
35
36 phoneme e/
37 vowel starttype #e endtype #e
38 length 140
39 IF nextPhW(isNasal) OR nextPhW(isLiquid) THEN
40 FMT(vowel/e_mid2)
41 ELSE
42 FMT(vowel/e)
43 ENDIF
44 endphoneme
45
46
47
48 phoneme E
49 vowel starttype #e endtype #e
50 length 145
51 ChangeIfUnstressed(e/) // [E] only in stressed syllables ?
52 FMT(vowel/e_mid)
53 endphoneme
54
55
56 phoneme i
57 vowel starttype #i endtype #i
58 length 140
59 IfNextVowelAppend(;)
60 FMT(vowel/i)
61
62 IF thisPh(isWordEnd) AND thisPh(isNotStressed) AND NOT prevPhW(E) THEN
63 ChangePhoneme(I)
64 ENDIF
65 endphoneme
66
67
68 phoneme i# // Used for 'gia_' where [i] is only spoken if stressed
69 vowel starttype #i endtype #i
70 length 145
71 ChangeIfNotStressed(NULL)
72 ChangePhoneme(i)
73 endphoneme
74
75
76 phoneme I
77 vowel starttype #i endtype #i
78 length 140
79 IfNextVowelAppend(;)
80 FMT(vowel/i_4)
81 endphoneme
82
83
84
85 phoneme o
86 vowel starttype #o endtype #o
87 length 150
88 ChangeIfNotStressed(o/)
89 FMT(vowel/o)
90 endphoneme
91
92 phoneme o/
93 vowel starttype #o endtype #o
94 length 140
95 IF nextPhW(isNasal) OR nextPhW(isLiquid) THEN
96 FMT(vowel/oo_1)
97 ELSE
98 FMT(vowel/o)
99 ENDIF
100 endphoneme
101
102
103 phoneme O
104 vowel starttype #o endtype #o
105 length 150
106 ChangeIfUnstressed(o/) // [O] only in stressed syllables ?
107 FMT(vowel/oo_4)
108 endphoneme
109
110
111 phoneme u
112 vowel starttype #u endtype #u
113 length 150
114 ChangeIfNotStressed(U)
115 FMT(vowel/u_bck)
116 endphoneme
117
118 phoneme U
119 vowel starttype #u endtype #u
120 length 140
121 FMT(vowel/u_bck)
122 endphoneme
123
124
125 phoneme aU
126 vowel starttype #a endtype #u
127 length 270
128 FMT(vdiph/au_4)
129 endphoneme
130
131
132
133 phoneme aI
134 vowel starttype #a endtype #i
135 length 250
136 FMT(vdiph/ai)
137 endphoneme
138
139
140 phoneme oI
141 vowel starttype #o endtype #i
142 length 230
143 FMT(vdiph/oi)
144 endphoneme
145
146
147
148 // CONSONANTS
149 //===========
150
151 phoneme l^
152 import_phoneme base/l^
153 Length 130
154 endphoneme
155
156 phoneme ts
157 vls alv afr sibilant
158 voicingswitch dz
159 lengthmod 2
160 Vowelin f1=1 f2=1700 -300 300 f3=-100 70 len=60
161 Vowelout f1=2 f2=1700 -300 250 f3=-100 70 rms=14
162 IF nextPh(isPause2) THEN
163 WAV(ustop/ts_)
164 ENDIF
165 WAV(ustop/ts)
166 endphoneme
167
168 phoneme dz
169 import_phoneme consonants/dz
170 voicingswitch z
171 lengthmod 3
172 endphoneme