Debian Codegraph @

phsource/ph_slovenian

raw
1
2
3 phoneme : // lengthen previous vowel by "length"
4 virtual
5 length 50 // only a small increase for "long stress" because we probably put the stress on the wrong syllable
6 endphoneme
7
8
9 phoneme @ // Schwa, can be stressed
10 vowel starttype #@ endtype #@
11 length 160
12 FMT(vowel/@)
13 endphoneme
14
15 phoneme i
16 vowel starttype #i endtype #i
17 length 160
18 // IfNextVowelAppend(;)
19 // IF thisPh(isStressed) AND NOT nextPhW(isRhotic) THEN
20 // FMT(vowel/ii_6)
21 // ENDIF
22 FMT(vowel/ii_3)
23 endphoneme
24
25 phoneme u
26 vowel starttype #u endtype #u
27 length 160
28 FMT(vowel/u_2)
29 endphoneme
30
31
32 phoneme a
33 vowel starttype #a endtype #a
34 length 170
35 IF thisPh(isUnstressed) THEN
36 FMT(vowel/a_8)
37 ENDIF
38 FMT(vowel/a)
39 endphoneme
40
41
42 phoneme e
43 vowel starttype #e endtype #e
44 length 170
45 ChangeIfUnstressed(E)
46 FMT(vowel/e_2)
47 endphoneme
48
49 phoneme e+ // doesn't reduce to [e]
50 vowel starttype #e endtype #e
51 ChangePhoneme(e)
52 endphoneme
53
54 phoneme E
55 vowel starttype #e endtype #e
56 length 160
57 FMT(vowel/e_mid)
58 endphoneme
59
60 phoneme E#
61 vowel starttype #e endtype #e
62 length 160
63 IF thisPh(isNotStressed) THEN
64 ChangePhoneme(@)
65 ENDIF
66 FMT(vowel/e_mid)
67 endphoneme
68
69
70 phoneme o
71 vowel starttype #o endtype #o
72 length 170
73 ChangeIfUnstressed(O)
74 FMT(vowel/o_8)
75 endphoneme
76
77 phoneme o+ // doesn't reduce to [O]
78 vowel starttype #o endtype #o
79 ChangePhoneme(o)
80 endphoneme
81
82 phoneme O
83 vowel starttype #o endtype #o
84 length 170
85 IF thisPh(isStressed) THEN
86 FMT(vowel/0_2)
87 ENDIF
88 FMT(vowel/oo_4)
89 endphoneme
90
91
92
93 phoneme v
94 import_phoneme base/v#
95 endphoneme
96
97
98 phoneme t
99 vls dnt stop
100 lengthmod 2
101 voicingswitch d
102 Vowelin f1=0 f2=1600 -300 300 f3=-100 80
103 Vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
104 IF nextPh(isPause2) AND prevPhW(isVowel) THEN
105 WAV(ustop/t_dnt, 40)
106 ENDIF
107 WAV(ustop/t_dnt, 60)
108 endphoneme
109
110
111 phoneme k
112 vls vel stop
113 voicingswitch g
114 lengthmod 2
115 Vowelin f1=0 f2=2300 200 300 f3=-200 80
116 Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
117
118 IF KlattSynth THEN
119 Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
120 ENDIF
121
122 IF thisPh(isWordEnd) THEN
123 WAV(ustop/k)
124 ELIF nextPh(isPause2) THEN
125 WAV(ustop/k_)
126 ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
127 WAV(ustop/kr)
128 ELIF nextPh(#i) OR nextPh(;) THEN
129 WAV(ustop/ki)
130 ELIF nextPh(l) THEN
131 WAV(ustop/kl)
132 ELIF nextPh(@-) THEN
133 WAV(ustop/k_unasp, 70)
134 ENDIF
135 WAV(ustop/k)
136 endphoneme
137
138
139 // for foreign letters
140 phoneme y
141 vowel starttype #i endtype #i
142 length 170
143 FMT(vowel/y)
144 endphoneme
145
146 phoneme R^ // Czech r-caron
147 import_phoneme sk/R^
148 endphoneme
149
150