Debian Codegraph @

phsource/ph_finnish

raw
1
2 //====================================================
3 // Finnish
4 //====================================================
5
6 phoneme : // Lengthen previous vowel by "length"
7 virtual
8 length 160
9 endphoneme
10
11
12
13 phoneme i
14 vwl starttype #i endtype #i
15 length 140
16 IfNextVowelAppend(;)
17 ChangeIfUnstressed(I)
18 FMT(vowel/i_4)
19 endphoneme
20
21 phoneme I
22 vwl starttype #i endtype #i
23 length 140
24 IfNextVowelAppend(;)
25 FMT(vowel/ii_3)
26 endphoneme
27
28
29
30 phoneme e
31 vwl starttype #e endtype #e
32 length 150
33 FMT(vowel/e_mid2)
34 endphoneme
35
36
37 phoneme &
38 vwl starttype #a endtype #a
39 length 150
40 FMT(vowel/&)
41 endphoneme
42
43
44 phoneme a
45 vwl starttype #a endtype #a
46 length 170
47 // ChangeIfUnstressed(a2)
48 FMT(vowel/aa_9)
49 endphoneme
50
51 phoneme a2
52 vwl starttype #a endtype #a
53 length 170
54 FMT(vowel/aa#)
55 endphoneme
56
57
58 phoneme o
59 vwl starttype #o endtype #o
60 length 155
61 FMT(vowel/oo_1)
62 endphoneme
63
64 phoneme Y
65 vwl starttype #@ endtype #@
66 length 155
67 FMT(vowel/y#)
68 endphoneme
69
70
71 phoneme u
72 vwl starttype #u endtype #u
73 length 140
74 FMT(vowel/u_bck)
75 endphoneme
76
77 phoneme u1 // TEST
78 vwl starttype #u endtype #u
79 length 140
80 FMT(vowel/u_2)
81 endphoneme
82
83 phoneme U // TEST
84 vwl starttype #u endtype #u
85 length 140
86 FMT(vowel/uu_4)
87 endphoneme
88
89
90
91 phoneme y
92 vwl starttype #u endtype #u
93 length 150
94 FMT(vowel/y)
95 endphoneme
96
97
98
99
100 // Diphthongs
101 //===========
102
103 phoneme ai
104 vwl starttype #a endtype #i
105 length 310
106 lng
107 FMT(vdiph/aai_3)
108 endphoneme
109
110 phoneme &i
111 vwl starttype #a endtype #i
112 length 290
113 lng
114 FMT(vdiph/&i)
115 endphoneme
116
117 phoneme oi
118 vwl starttype #o endtype #i
119 length 280
120 lng
121 FMT(vdiph/ooi)
122 endphoneme
123
124 phoneme ei
125 vwl starttype #e endtype #i
126 length 280
127 lng
128 FMT(vdiph/eei_2)
129 endphoneme
130
131 phoneme Yi
132 vwl starttype #@ endtype #i
133 length 270
134 lng
135 FMT(vdiph/y#i)
136 endphoneme
137
138 phoneme ui
139 vwl starttype #u endtype #i
140 length 270
141 lng
142 FMT(vdiph/ui_4)
143 endphoneme
144
145 phoneme yi
146 vwl starttype #u endtype #i
147 length 270
148 lng
149 FMT(vdiph/yi)
150 endphoneme
151
152
153 phoneme au
154 vwl starttype #a endtype #u
155 length 300
156 lng
157 FMT(vdiph/aau)
158 endphoneme
159
160 phoneme ou
161 vwl starttype #o endtype #u
162 length 280
163 lng
164 FMT(vdiph/ou)
165 endphoneme
166
167 phoneme eu
168 vwl starttype #e endtype #u
169 length 280
170 lng
171 FMT(vdiph/eu_2)
172 endphoneme
173
174 phoneme iu
175 vwl starttype #i endtype #u
176 length 280
177 lng
178 FMT(vdiph2/iu_2)
179 endphoneme
180
181
182 phoneme &y
183 vwl starttype #a endtype #u
184 length 280
185 lng
186 FMT(vdiph/&y)
187 endphoneme
188
189 phoneme ey
190 vwl starttype #e endtype #u
191 length 280
192 lng
193 FMT(vdiph/eey)
194 endphoneme
195
196 phoneme Yy
197 vwl starttype #@ endtype #u
198 length 270
199 lng
200 FMT(vdiph/y#y)
201 endphoneme
202
203 phoneme iy
204 vwl starttype #i endtype #u
205 length 260
206 lng
207 FMT(vdiph2/iy)
208 endphoneme
209
210
211 phoneme uo
212 vwl starttype #u endtype #o
213 length 280
214 lng
215 FMT(vdiph2/uo)
216 endphoneme
217
218 phoneme ie
219 vwl starttype #i endtype #e
220 length 280
221 lng
222 FMT(vdiph2/ie)
223 endphoneme
224
225 phoneme yY
226 vwl starttype #u endtype #@
227 length 280
228 lng
229 FMT(vdiph2/y-y#)
230 endphoneme
231
232
233
234
235 // CONSONANTS
236 //===========
237
238
239
240 phoneme r
241 import_phoneme base1/R
242 endphoneme
243
244
245 phoneme R2 // this is [R2], but shorter
246 liquid trl
247 lengthmod 6
248 ipa r
249 Vowelin f1=0 f2=1700 -300 300 f3=-300 80
250 Vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
251 FMT(r3/r_trill_short) addWav(r3/r_trill.wav, 50)
252 endphoneme
253
254
255
256
257 phoneme v // approximant, not fricative
258 vcd lbd frc
259 lengthmod 6
260 voicingswitch f
261 Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
262 Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
263 IF nextPh(isPause2) THEN
264 FMT(voc/v_)
265 ENDIF
266 FMT(voc/v)
267 endphoneme
268
269
270 phoneme t // dental variant of /t/
271 import_phoneme base1/t[
272 voicingswitch d
273 endphoneme
274
275
276
277 phoneme d
278 vcd dnt stp
279 voicingswitch t
280 lengthmod 5
281 Vowelin f1=2 f2=1700 -100 200 f3=0 80
282 Vowelout f1=2 f2=1700 -100 200 f3=0 80 rms=20
283
284 IF PreVoicing THEN
285 FMT(d/xd)
286 ENDIF
287
288 IF nextPh(isPause2) THEN
289 FMT(d/d_) addWav(x/d_)
290 ELIF nextPh(r) THEN
291 FMT(d/dr) addWav(x/d_dnt, 60)
292 ENDIF
293
294 FMT(d/d) addWav(x/d_dnt, 60)
295 endphoneme
296
297
298
299 phoneme p
300 import_phoneme base2/p
301 voicingswitch b
302 endphoneme
303
304
305
306 phoneme k
307 import_phoneme base2/k
308 voicingswitch g
309 endphoneme
310
311
312 phoneme s2 // second part of long [s]
313 import_phoneme consonants/s2
314 endphoneme
315
316
317 phoneme h
318 vls glt apr
319 lengthmod 3
320
321 IF nextPh(#@) THEN
322 WAV(h/h@)
323 ELIF nextPh(#a) THEN
324 WAV(h/ha)
325 ELIF nextPh(#e) THEN
326 WAV(h/he)
327 ELIF nextPh(#i) THEN
328 WAV(h/hi)
329 ELIF nextPh(#o) THEN
330 WAV(h/hu_fi, 70)
331 ELIF nextPh(#u) THEN
332 WAV(h/hu_fi, 80)
333 ENDIF
334 WAV(h/h_, 70) // no vowel following
335 endphoneme
336
337