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