Debian Codegraph @

phsource/ph_romanian

raw
1
2 //====================================================
3 // Romanian
4 //====================================================
5
6 // Vowels
7
8
9 phoneme I^ // "silent i", palatilizes the preceding consonant
10 vwl starttype #i endtype #i
11 unstressed
12 ipa ʲ
13 length 70
14 IF nextPh(isVowel) THEN
15 ChangePhoneme(;)
16 ENDIF
17 IF prevPh(l;) THEN
18 length 60
19 FMT(vwl_ro/li)
20 ENDIF
21 IF prevPh(m;) THEN
22 FMT(vwl_ro/mi)
23 ENDIF
24 IF prevPh(n;) THEN
25 FMT(vwl_ro/ni)
26 ENDIF
27 FMT(vwl_ro/ii-)
28 endphoneme
29
30 phoneme i/ // used for "i" at end of word
31 vwl starttype #i endtype #i
32 length 150
33 ChangeIfNotStressed(I^)
34 IfNextVowelAppend(;)
35 FMT(vowel/i)
36 endphoneme
37
38 phoneme e
39 vwl starttype #e endtype #e
40 length 180
41 FMT(vowel/e_mid2)
42 endphoneme
43
44 phoneme y
45 vwl starttype #@ endtype #@
46 ipa ɨ
47 length 180
48 FMT(vowel/i#_5)
49 endphoneme
50
51 phoneme a
52 vwl starttype #a endtype #a
53 length 180
54 FMT(vowel/a_2)
55 endphoneme
56
57 phoneme @
58 vwl starttype #@ endtype #@
59 length 170
60 FMT(vowel/@_low)
61 endphoneme
62
63 phoneme o
64 vwl starttype #o endtype #o
65 length 170
66 FMT(vowel/o-_4)
67 endphoneme
68
69 phoneme u
70 vwl starttype #u endtype #u
71 length 160
72 FMT(vowel/u_2)
73 endphoneme
74
75 phoneme Y
76 vwl starttype #@ endtype #@
77 length 180
78 FMT(vowel/y#)
79 endphoneme
80
81
82
83 // Diphthongs
84
85
86 phoneme @I
87 vwl starttype #@ endtype #i
88 length 250
89 FMT(vdiph/@i_3)
90 endphoneme
91
92 phoneme @U
93 vwl starttype #@ endtype #u
94 length 260
95 FMT(vdiph/@u_3)
96 endphoneme
97
98 phoneme oU
99 vwl starttype #o endtype #u
100 length 260
101 FMT(vdiph/ou_2)
102 endphoneme
103
104
105
106 phoneme iI
107 vwl starttype #i endtype #i
108 length 250
109 FMT(vdiph/ii)
110 endphoneme
111
112 phoneme yI
113 vwl starttype #@ endtype #i
114 length 210
115 FMT(vdiph/i#i)
116 endphoneme
117
118 phoneme yU
119 vwl starttype #@ endtype #u
120 length 230
121 FMT(vdiph2/uw_3)
122 endphoneme
123
124 phoneme ea
125 vwl starttype #e endtype #a
126 length 250
127 FMT(vdiph2/ea)
128 endphoneme
129
130 phoneme eo
131 vwl starttype #e endtype #o
132 length 270
133 FMT(vdiph2/eo)
134 endphoneme
135
136 phoneme e[u
137 vwl starttype #e endtype #u
138 length 250
139 FMT(vdiph2/e_u)
140 endphoneme
141
142 phoneme Oa
143 vwl starttype #o endtype #a
144 length 250
145 FMT(vdiph2/oa)
146 endphoneme
147
148
149 // Consonants
150
151 phoneme r
152 liquid trl
153 lengthmod 6
154
155 IF nextPh(isNotVowel) THEN
156 ChangePhoneme(r/)
157 ENDIF
158
159 NextVowelStarts
160 VowelStart(r/r@, -15)
161 VowelStart(r/ra, -15)
162 VowelStart(r/re, -15)
163 VowelStart(r/ri, -15)
164 VowelStart(r/ro, -15)
165 VowelStart(r/ru, -15)
166 EndSwitch
167
168 IF prevPh(isVowel) THEN
169 VowelEnding(r/xr, -50)
170 ENDIF
171
172 IF prevPh(t) OR prevPh(p) OR prevPh(k) THEN
173 FMT(r/trr)
174 ENDIF
175 FMT(r/rr)
176 Vowelin f1=0 f2=1600 -300 300 f3=-200 80
177 Vowelout f1=2 f2=1600 -300 300 f3=-200 80 brk
178 FMT(r3/r_trill2) addWav(r3/r_trill2.wav, 65)
179 endphoneme
180
181
182 phoneme l;
183 liquid
184 lengthmod 7
185
186 CALL base1/l
187 Vowelout colr=1
188 endphoneme
189
190
191 phoneme m;
192 vcd blb nas
193 lengthmod 4
194
195 CALL base1/m
196 Vowelout f1=2 f2=1000 -500 -350 f3=200 80 brk colr=1
197 endphoneme
198
199
200 phoneme n;
201 vcd alv nas
202 lengthmod 4
203
204 CALL base1/n
205 Vowelout f1=2 f2=1700 -300 250 f3=200 80 rms=20 brk colr=1
206 endphoneme
207
208
209 phoneme p;
210 vls blb stp
211 lengthmod 2
212 voicingswitch b
213 CALL base2/p
214 Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=30 colr=1
215 endphoneme
216
217
218 phoneme t; // dental variant of /t/
219 vls dnt stp
220 lengthmod 2
221 voicingswitch d
222 CALL base2/t
223 Vowelout f1=0 f2=1700 100 250 f3=0 80 rms=20 colr=1
224 endphoneme
225
226 phoneme ts;
227 vls alv afr sib
228 lengthmod 2
229 CALL base2/ts
230 Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20 colr=1
231 endphoneme
232
233
234 phoneme f;
235 vls lbd frc
236 lengthmod 3
237 voicingswitch v
238 CALL base1/f
239 Vowelout f1=0 f2=1000 -500 -350 f3=-200 80 colr=1
240 endphoneme
241
242
243 phoneme s;
244 vls alv frc sib
245 voicingswitch z;
246 lengthmod 3
247 Vowelin f1=0 f2=1700 -300 300 f3=-100 80
248 Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20 colr=1
249 WAV(ufric/s_pzd, 50)
250 endphoneme
251
252
253 phoneme S;
254 vls pla frc sib
255 voicingswitch Z;
256 lengthmod 3
257 Vowelin f1=0 f2=2100 100 300 f3=-100 80
258 Vowelout f1=0 f2=2100 100 300 f3=-100 80 colr=1
259 WAV(ufric/sh_pzd)
260 endphoneme
261
262
263 phoneme b;
264 vcd blb stp
265 voicingswitch p;
266 lengthmod 5
267 Vowelout f1=2 f2=1000 -500 -300 f3=-300 80 brk colr=1
268
269 IF nextPh(#i) THEN
270 FMT(b/bi) addWav(x/b)
271 ENDIF
272 FMT(b/b) addWav(x/b)
273 endphoneme
274
275
276 phoneme d; // dental variant of /d/
277 vcd dnt stp
278 voicingswitch t;
279 lengthmod 5
280 CALL base2/d
281 Vowelin f1=2 f2=1700 100 300 f3=0 80
282 Vowelout f1=2 f2=1700 100 300 f3=0 80 colr=1
283 endphoneme
284
285
286 phoneme *; // flap
287 vcd alv flp
288 lengthmod 2
289 Vowelout f1=3 f2=1700 -300 300 f3=-300 80 rms=35 len=15 colr=1
290 IF nextPh(#i) THEN
291 Vowelin f1=0 f2=1700 -300 300 f3=-400 80
292 FMT(d/tap_i) addWav(r3/rx)
293 ENDIF
294 FMT(d/tap) addWav(r3/rx)
295 endphoneme
296
297
298 phoneme v;
299 vcd lbd frc
300 lengthmod 6
301 voicingswitch f;
302 Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
303 Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50 colr=1
304 IF nextPh(isPause2) THEN
305 FMT(voc/v_) addWav(vocw/v)
306 ENDIF
307 FMT(voc/v) addWav(vocw/v)
308 endphoneme
309
310
311 phoneme z;
312 vcd alv frc sib
313 lengthmod 6
314 voicingswitch s;
315 Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50 colr=1
316 IF nextPh(isPause2) THEN
317 FMT(voc/z_) addWav(ufric/s_)
318 ENDIF
319 FMT(voc/z) addWav(ufric/s_)
320 endphoneme
321
322
323 phoneme Z;
324 vcd pla frc sib
325 lengthmod 6
326 voicingswitch S;
327 Vowelin f1=0 f2=2000 0 300 f3=-200 80 colr=1
328 Vowelout f1=2 f2=2000 0 300 f3=-200 80 brk
329 IF nextPh(isPause2) THEN
330 FMT(voc/zh_) addWav(vocw/zh)
331 ENDIF
332 FMT(voc/zh) addWav(vocw/zh)
333 endphoneme