Debian Codegraph @

phsource/ph_lule_saami

raw
1
2 //====================================================
3 // Lule Saami
4 //====================================================
5
6 phoneme : // Lengthen previous vowel by "length"
7 virtual
8 length 160
9 endphoneme
10
11 phoneme @ // close schwa
12 vwl starttype #@ endtype #@
13 unstressed
14 length 120
15 FMT(vowel/@_4)
16 endphoneme
17
18 phoneme i
19 vwl starttype #i endtype #i
20 length 140
21 IfNextVowelAppend(;)
22 ChangeIfUnstressed(I)
23 FMT(vowel/i_4)
24 endphoneme
25
26 phoneme I
27 vwl starttype #i endtype #i
28 length 140
29 IfNextVowelAppend(;)
30 FMT(vowel/ii_3)
31 endphoneme
32
33 phoneme e
34 vwl starttype #e endtype #e
35 length 150
36 FMT(vowel/e_mid2)
37 endphoneme
38
39 phoneme E
40 vwl starttype #e endtype #e
41 length 160
42 FMT(vowel/ee_4)
43 endphoneme
44
45 phoneme &
46 vwl starttype #a endtype #a
47 length 150
48 FMT(vowel/&)
49 endphoneme
50
51 phoneme a
52 vwl starttype #a endtype #a
53 length 170
54 // ChangeIfUnstressed(a2)
55 FMT(vowel/aa_9)
56 endphoneme
57
58 phoneme a2
59 vwl starttype #a endtype #a
60 length 170
61 FMT(vowel/aa#)
62 endphoneme
63
64 phoneme A
65 vwl starttype #a endtype #a
66 length 170
67 FMT(vowel/aa_8)
68 endphoneme
69
70 phoneme o
71 vwl starttype #o endtype #o
72 length 155
73 FMT(vowel/oo_1)
74 endphoneme
75
76 phoneme O
77 vwl starttype #o endtype #o
78 length 150
79 FMT(vowel/o_mid)
80 endphoneme
81
82 phoneme Y
83 vwl starttype #@ endtype #@
84 length 155
85 FMT(vowel/y#)
86 endphoneme
87
88
89 phoneme u
90 vwl starttype #u endtype #u
91 length 140
92 FMT(vowel/u_bck)
93 endphoneme
94
95 phoneme u1 // TEST
96 vwl starttype #u endtype #u
97 length 140
98 FMT(vowel/u_2)
99 endphoneme
100
101 phoneme U // TEST
102 vwl starttype #u endtype #u
103 length 140
104 FMT(vowel/uu_4)
105 endphoneme
106
107 phoneme u-
108 vwl starttype #u endtype #u
109 ipa ʉ
110 length 200
111 FMT(vowel/u#_2)
112 endphoneme
113
114 phoneme y
115 vwl starttype #u endtype #u
116 length 150
117 FMT(vowel/y)
118 endphoneme
119
120 phoneme W
121 vwl starttype #@ endtype #@
122 length 120
123 FMT(vowel/oe_2)
124 endphoneme
125
126 phoneme w
127 liquid
128 lengthmod 7
129 starttype #u
130
131 IF nextPh(isVowel) THEN
132 NextVowelStarts
133 VowelStart(w/w@)
134 VowelStart(w/wa)
135 VowelStart(w/we)
136 VowelStart(w/wi)
137 VowelStart(w/wo)
138 VowelStart(w/wu)
139 EndSwitch
140
141 VowelEnding(w/xw, -30)
142
143 IF prevPhW(isNasal) THEN
144 FMT(w/w)
145 ELSEIF prevPhW(h) THEN
146 // none, [hw]
147 ELSE
148 FMT(w/_w)
149 ENDIF
150 ELSE
151 // no vowel follows
152 Vowelout len=50
153 IF prevPh(#i) THEN
154 FMT(w/iw_)
155 ENDIF
156 FMT(w/w_)
157 ENDIF
158 endphoneme
159
160
161 // Diphthongs
162 //===========
163
164 phoneme ai
165 vwl starttype #a endtype #i
166 length 310
167 lng
168 FMT(vdiph/aai_3)
169 endphoneme
170
171 phoneme &i
172 vwl starttype #a endtype #i
173 length 290
174 lng
175 FMT(vdiph/&i)
176 endphoneme
177
178 phoneme oi
179 vwl starttype #o endtype #i
180 length 280
181 lng
182 FMT(vdiph/ooi)
183 endphoneme
184
185 phoneme ei
186 vwl starttype #e endtype #i
187 length 280
188 lng
189 FMT(vdiph/eei_2)
190 endphoneme
191
192 phoneme Yi
193 vwl starttype #@ endtype #i
194 length 270
195 lng
196 FMT(vdiph/y#i)
197 endphoneme
198
199 phoneme ui
200 vwl starttype #u endtype #i
201 length 270
202 lng
203 FMT(vdiph/ui_4)
204 endphoneme
205
206 phoneme yi
207 vwl starttype #u endtype #i
208 length 270
209 lng
210 FMT(vdiph/yi)
211 endphoneme
212
213
214 phoneme au
215 vwl starttype #a endtype #u
216 length 300
217 lng
218 FMT(vdiph/aau)
219 endphoneme
220
221 phoneme ou
222 vwl starttype #o endtype #u
223 length 280
224 lng
225 FMT(vdiph/ou)
226 endphoneme
227
228 phoneme eu
229 vwl starttype #e endtype #u
230 length 280
231 lng
232 FMT(vdiph/eu_2)
233 endphoneme
234
235 phoneme iu
236 vwl starttype #i endtype #u
237 length 280
238 lng
239 FMT(vdiph2/iu_2)
240 endphoneme
241
242
243 phoneme &y
244 vwl starttype #a endtype #u
245 length 280
246 lng
247 FMT(vdiph/&y)
248 endphoneme
249
250 phoneme ey
251 vwl starttype #e endtype #u
252 length 280
253 lng
254 FMT(vdiph/eey)
255 endphoneme
256
257 phoneme Yy
258 vwl starttype #@ endtype #u
259 length 270
260 lng
261 FMT(vdiph/y#y)
262 endphoneme
263
264 phoneme iy
265 vwl starttype #i endtype #u
266 length 260
267 lng
268 FMT(vdiph2/iy)
269 endphoneme
270
271
272 phoneme uo
273 vwl starttype #u endtype #o
274 length 280
275 lng
276 FMT(vdiph2/uo)
277 endphoneme
278
279 phoneme ie
280 vwl starttype #i endtype #e
281 length 280
282 lng
283 FMT(vdiph2/ie)
284 endphoneme
285
286 phoneme yY
287 vwl starttype #u endtype #@
288 length 280
289 lng
290 FMT(vdiph2/y-y#)
291 endphoneme
292
293
294
295
296 // CONSONANTS
297 //===========
298
299
300
301 phoneme r
302 import_phoneme base1/R
303 endphoneme
304
305 phoneme r. // retroflex
306 liquid rfx
307 lengthmod 3
308 Vowelout f1=3 f2=1400 -400 300 f3=-400 80 rms=35 len=15 colr=2
309 Vowelin f1=2 f2=1400 -400 300 f3=-400 80 len=20
310
311 IF nextPh(isNotVowel) THEN
312 FMT(r3/@tap_rfx_)
313 ENDIF
314 FMT(r3/@tap_rfx)
315 endphoneme
316
317
318 phoneme R2 // this is [R2], but shorter
319 liquid trl
320 lengthmod 6
321 ipa r
322 Vowelin f1=0 f2=1700 -300 300 f3=-300 80
323 Vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
324 FMT(r3/r_trill_short) addWav(r3/r_trill.wav, 50)
325 endphoneme
326
327 phoneme P
328 vls blb stp
329 lengthmod 2
330 voicingswitch b
331 Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 gpaus
332 Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=30
333 WAV(ustop/p_unasp)
334 endphoneme
335
336
337
338 phoneme v // approximant, not fricative
339 vcd lbd frc
340 lengthmod 6
341 voicingswitch f
342 Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
343 Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
344 IF nextPh(isPause2) THEN
345 FMT(voc/v_)
346 ENDIF
347 FMT(voc/v)
348 endphoneme
349
350
351 phoneme t // dental variant of /t/
352 import_phoneme base1/t[
353 voicingswitch d
354 endphoneme
355
356
357
358 phoneme d
359 vcd dnt stp
360 voicingswitch t
361 lengthmod 5
362 Vowelin f1=2 f2=1700 -100 200 f3=0 80
363 Vowelout f1=2 f2=1700 -100 200 f3=0 80 rms=20
364
365 IF PreVoicing THEN
366 FMT(d/xd)
367 ENDIF
368
369 IF nextPh(isPause2) THEN
370 FMT(d/d_) addWav(x/d_)
371 ELIF nextPh(r) THEN
372 FMT(d/dr) addWav(x/d_dnt, 60)
373 ENDIF
374
375 FMT(d/d) addWav(x/d_dnt, 60)
376 endphoneme
377
378
379 phoneme n
380 vcd alv nas
381 lengthmod 4
382 ipa n
383 IF nextPhW(isVelar) THEN // /n/ is velarized to /N/ when before velar stops
384 ChangePhoneme(N)
385 ENDIF
386 CALL base1/n
387 endphoneme
388
389 phoneme p
390 import_phoneme base2/p
391 voicingswitch b
392 endphoneme
393
394
395
396 phoneme k
397 import_phoneme base2/k
398 voicingswitch g
399 endphoneme
400
401
402 phoneme s2 // second part of long [s]
403 import_phoneme consonants/s2
404 endphoneme
405
406
407 phoneme h
408 vls glt apr
409 lengthmod 3
410
411 IF nextPh(#@) THEN
412 WAV(h/h@)
413 ELIF nextPh(#a) THEN
414 WAV(h/ha)
415 ELIF nextPh(#e) THEN
416 WAV(h/he)
417 ELIF nextPh(#i) THEN
418 WAV(h/hi)
419 ELIF nextPh(#o) THEN
420 WAV(h/hu_fi, 70)
421 ELIF nextPh(#u) THEN
422 WAV(h/hu_fi, 80)
423 ENDIF
424 WAV(h/h_, 70) // no vowel following
425 endphoneme
426
427