Debian Codegraph @

phsource/ph_russian

raw
1 phoneme g
2 vcd vel stp prevoice
3 voicingswitch k
4 lengthmod 5
5 Vowelin f1=2 f2=2300 200 300 f3=-300 80
6 Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
7
8 IF PreVoicing THEN
9 FMT(g/xg)
10 ENDIF
11
12 IF nextPh(isPause2) THEN
13 FMT(g/g_) addWav(x/g_)
14 ENDIF
15 FMT(g/g) addWav(x/g3, 90)
16 endphoneme
17
18
19 phoneme p
20 import_phoneme consonants/p-
21 endphoneme
22
23
24 phoneme x
25 vls vel frc
26 lengthmod 3
27 Vowelin f1=0 f2=2300 200 400 f3=-100 80
28 Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
29 WAV(ufric/x_hr, 30)
30 endphoneme
31
32
33 phoneme k
34 import_phoneme consonants/k-
35 endphoneme
36
37
38 phoneme l
39 liquid rfx
40 ipa ɭ
41 lengthmod 7
42 length 40
43 FMT(l^/l_rfx)
44 endphoneme
45
46
47 phoneme l^
48 liquid rfx pzd
49 ipa ɭ
50 length 80
51 FMT(l^/l_rfx)
52 endphoneme
53
54
55 phoneme s
56 vls alv frc sib
57 lengthmod 3
58 Vowelin f1=0 f2=1700 -300 300 f3=-100 80
59 Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
60
61 WAV(ufric/s)
62 endphoneme
63
64 phoneme s;
65 import_phoneme en/s
66 endphoneme
67
68
69 phoneme n_
70 import_phoneme en/n
71 endphoneme
72
73
74 phoneme n#
75 vcd pal nas pzd
76 ipa ɲ
77 Vowelout f1=3 f2=2500 300 500 f3=100 80 len=45 brk rate
78 lengthmod 4
79
80 IF KlattSynth THEN
81 VowelStart(klatt/n^@)
82 FMT(klatt/n^)
83 ENDIF
84
85 NextVowelStarts
86 VowelStart(n^/n^@)
87 VowelStart(n^/n^a)
88 VowelStart(n^/n^e)
89 VowelStart(n^/n^i)
90 VowelStart(n^/n^o)
91 VowelStart(n^/n^u)
92 EndSwitch
93
94 IF prevPh(isPause) THEN
95 FMT(n^/_n^)
96 ELIF nextPh(isNotVowel) THEN
97 IF nextPhW(n^) THEN
98 length 75
99 ELIF prevPhW(n^) THEN
100 length 100
101 ENDIF
102 FMT(n^/n^_)
103 ENDIF
104 endphoneme
105
106
107 phoneme r
108 liquid rhotic alv trl nolink
109 length 80
110 IF prevPhW(isVowel) THEN
111 ELSE
112 InsertPhoneme(@-)
113 ENDIF
114 FMT(r3/r_trill,80) addWav(r3/r_trill.wav, 50)
115 endphoneme
116
117
118 phoneme ts
119 import_phoneme consonants/ts
120 endphoneme
121
122
123 phoneme dZ;
124 vcd alp sib afr
125 voicingswitch tS;
126 lengthmod 5
127 Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
128
129 IF PreVoicing THEN
130 FMT(dzh/xdzh)
131 ENDIF
132
133 IF nextPh(isPause2) THEN
134 FMT(dzh/dzh_) addWav(x/dzh_)
135 ENDIF
136 endphoneme
137
138
139 phoneme tS;
140 vls alp sib afr
141 voicingswitch dZ;
142 lengthmod 2
143 Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
144
145 WAV(ustop/ts_pzd)
146 endphoneme
147
148
149 // Palatalized versions of consonants
150
151
152 phoneme t
153 import_phoneme pl/t
154 endphoneme
155
156
157 phoneme t;
158 import_phoneme pl/t;
159 endphoneme
160
161
162 phoneme d
163 import_phoneme pl/d
164 endphoneme
165
166
167 phoneme d;
168 import_phoneme pl/d;
169 endphoneme
170
171
172 phoneme m;
173 vcd blb nas
174 Vowelout f1=2 f2=1000 -500 -350 f3=-200 80 brk
175 lengthmod 4
176
177 IF KlattSynth THEN
178 Vowelin f1=0 f2=1000 -50 -200 f3=-200 80
179 IF nextPh(isPause2) THEN
180 FMT(klatt/m_)
181 ENDIF
182 FMT(klatt/m)
183 ENDIF
184
185 VowelStart(m/mi)
186
187 FMT(m/mj)
188 endphoneme
189
190
191 phoneme I^ // "silent i", palatilizes the preceding consonant
192 vwl starttype #i endtype #i
193 unstressed nsy
194 length 70
195 IF nextPh(isVowel) THEN
196 ChangePhoneme(;)
197 ENDIF
198 IF prevPh(m;) THEN
199 FMT(vwl_ro/mi)
200 ENDIF
201 FMT(vwl_ru/ii-)
202 endphoneme
203
204
205 //*******************************************************************
206 // VOWELS
207 //*******************************************************************
208
209
210 phoneme i
211 IF prevPh(Z) THEN
212 ChangePhoneme(y)
213 ENDIF
214 vwl starttype #i endtype #i
215 length 50
216 FMT(vwl_ru/ii)
217 endphoneme
218
219
220 phoneme I#
221 vwl starttype #i endtype #i
222 length 80
223 IF nextVowel(isMaxStress) THEN
224 ChangePhoneme(I)
225 ENDIF
226 IF thisPh(isMaxStress) THEN
227 ChangePhoneme(i)
228 ENDIF
229 FMT(vwl_ru/ii#)
230 endphoneme
231
232
233 phoneme y
234 vwl starttype #i endtype #i
235 length 100
236 FMT(vwl_ru/i#)
237 endphoneme
238
239
240 phoneme I
241 vwl starttype #i endtype #i
242 length 80
243 FMT(vwl_ru/ii)
244 endphoneme
245
246
247 phoneme I2
248 vwl starttype #i endtype #i
249 length 80
250 IF thisPh(isMaxStress) THEN
251 ChangePhoneme(e)
252 ENDIF
253 IF prevPhW(isPalatal) THEN
254 ChangePhoneme(I)
255 ENDIF
256 FMT(vwl_ru/ii)
257 endphoneme
258
259
260 phoneme I3
261 vwl starttype #i endtype #i
262 length 80
263 IF thisPh(isMaxStress) THEN
264 IF prevPhW(j) THEN
265 ChangePhoneme(e)
266 ELSE
267 ChangePhoneme(ja)
268 ENDIF
269 ENDIF
270 IF prevPhW(isPalatal) THEN
271 ChangePhoneme(I)
272 ENDIF
273 FMT(vwl_ru/ii)
274 endphoneme
275
276
277 phoneme E
278 vwl starttype #e endtype #e
279 length 100
280 FMT(vwl_ru/e)
281 endphoneme
282
283
284 phoneme E#
285 vwl starttype #e endtype #e
286 length 100
287 IF thisPh(isMaxStress) THEN
288 IF prevPhW(j) THEN
289 ChangePhoneme(e)
290 ELSE
291 ChangePhoneme(E)
292 ENDIF
293 ENDIF
294 FMT(vwl_ru/E#)
295 endphoneme
296
297
298 phoneme E2
299 vwl starttype #e endtype #e
300 length 80
301 IF nextVowel(isMaxStress) THEN
302 IF prevPh(j) THEN
303 ChangePhoneme(I3)
304 ELSE
305 ChangePhoneme(E#)
306 ENDIF
307 ENDIF
308
309 IF thisPh(isMaxStress) THEN
310 IF prevPhW(j) THEN
311 ChangePhoneme(e)
312 ELSE
313 ChangePhoneme(E)
314 ENDIF
315 ENDIF
316
317 FMT(vwl_ru/E@)
318 endphoneme
319
320
321 phoneme E3
322 vwl starttype #e endtype #e
323 length 80
324 IF nextVowel(isMaxStress) THEN
325 ChangePhoneme(I)
326 ENDIF
327 IF thisPh(isMaxStress) THEN
328 ChangePhoneme(e)
329 ENDIF
330 IF prevPhW(isPalatal) THEN
331 ChangePhoneme(E2)
332 ENDIF
333 FMT(vwl_ru/E@)
334 endphoneme
335
336 phoneme E% // е in prefix "интер"
337 vwl
338 ChangePhoneme(E#)
339 endphoneme
340
341
342 phoneme o
343 vwl starttype #o endtype #o
344 length 100
345 ChangeIfNotStressed(V)
346 FMT(vwl_ru/o)
347 endphoneme
348
349
350 phoneme O
351 vwl starttype #o endtype #o
352 length 80
353 IF prevPhW(isPalatal) THEN
354 ChangePhoneme(8)
355 ENDIF
356 IF thisPh(isMaxStress) THEN
357 ChangePhoneme(o)
358 ENDIF
359 FMT(vwl_ru/oo)
360 endphoneme
361
362
363 phoneme u
364 vwl starttype #u endtype #u
365 length 80
366 FMT(vwl_ru/u)
367 endphoneme
368
369
370 phoneme u#
371 vwl starttype #u endtype #u
372 length 80
373 FMT(vwl_ru/u#)
374 endphoneme
375
376
377 phoneme u"
378 vwl starttype #u endtype #u
379 length 150
380 FMT(vwl_ru/u#u)
381 endphoneme
382
383
384 phoneme 8
385 vwl starttype #o endtype #o
386 length 100
387 ChangeIfNotStressed(V)
388 FMT(vwl_ru/8)
389 endphoneme
390
391
392 phoneme e
393 vwl starttype #e endtype #e
394 length 100
395 IF prevPh(Z) THEN
396 ChangeIfNotStressed(y)
397 ChangePhoneme(E)
398 ENDIF
399 IF prevPh(S) THEN
400 ChangeIfNotStressed(y)
401 ChangePhoneme(E)
402 ENDIF
403 IF prevPh(ts) THEN
404 ChangeIfNotStressed(y)
405 ChangePhoneme(E)
406 ENDIF
407 ChangeIfNotStressed(i)
408 FMT(vwl_ru/ee)
409 endphoneme
410
411
412 phoneme ju
413 vwl starttype #u endtype #u
414 length 190
415 FMT(vwl_ru/ju)
416 endphoneme
417
418
419 phoneme ja
420 vwl starttype #i endtype #a
421 IF thisPh(isMaxStress) THEN
422 length 200
423 FMT(vwl_ru/ja)
424 ELSE
425 FMT(vdiph2/ii@)
426 ENDIF
427 endphoneme
428
429
430 phoneme ja#
431 vwl starttype #i endtype #a
432 IF thisPh(isMaxStress) THEN
433 FMT(vowel/&)
434 ELSE
435 IF prevPhW(isPalatal) THEN
436 ChangePhoneme(I)
437 ENDIF
438 ENDIF
439 endphoneme
440
441
442 phoneme V#
443 vwl starttype #a endtype #@
444 unstressed
445 length 80
446
447 IF thisPh(isMaxStress) THEN
448 IF prevPhW(j) THEN
449 ChangePhoneme(A)
450 ENDIF
451 ENDIF
452
453 IF prevPhW(isPalatal) THEN
454 ChangePhoneme(V)
455 ENDIF
456 FMT(vowel/V_2)
457 endphoneme
458
459
460 phoneme Y // will not be used in future
461 vwl starttype #u endtype #u
462 unstressed
463 length 140
464 FMT(vowel/ii#)
465 endphoneme
466
467
468 phoneme A
469 vwl starttype #a endtype #a
470 length 100
471 FMT(vwl_ru/a)
472 endphoneme
473
474
475 phoneme a
476 vwl starttype #a endtype #a
477 length 100
478
479 IF prevPhW(j) THEN
480 ELSE
481 IF thisPh(isMaxStress) THEN
482 IF prevPhW(isPalatal) THEN
483 ChangePhoneme(ja)
484 ELSE
485 ChangePhoneme(A)
486 ENDIF
487 ELSE
488 IF prevPhW(isPalatal) THEN
489 ChangePhoneme(I)
490 ENDIF
491 ENDIF
492 ENDIF
493
494 IF thisPh(isWordEnd) THEN
495 FMT(vowel/a#_3)
496 ENDIF
497 FMT(vwl_ru/aa)
498 endphoneme
499
500
501 phoneme V
502 vwl starttype #a endtype #@
503 length 80
504 unstressed
505
506 IF nextVowel(isMaxStress) THEN
507 ChangePhoneme(a)
508 ENDIF
509
510 IF thisPh(isMaxStress) THEN
511 IF prevPhW(j) THEN
512 ChangePhoneme(a)
513 ELSE
514 ChangePhoneme(A)
515 ENDIF
516 ENDIF
517
518 FMT(vowel/V_2)
519 endphoneme
520
521
522 phoneme a#
523 vwl starttype #a endtype #a
524 length 100
525 FMT(vowel/a#_3)
526 endphoneme
527
528
529 phoneme R4
530 liquid
531 lengthmod 6
532 Vowelin f1=0 f2=1500 -300 300 f3=-200 80 rms=60 brk
533 Vowelout f1=2 f2=1500 -300 300 f3=-200 80
534 FMT(r3/r_ru2) addWav(r3/r_ru, 50)
535 endphoneme
536