Debian Codegraph @

phsource/ph_klingon

raw
1 phoneme a
2 vwl starttype #a endtype #a
3 length 130
4 FMT(vwl_lv/a, 100) // adjusted from aa_3
5 endphoneme
6
7 phoneme e
8 vwl starttype #e endtype #e
9 length 120
10 FMT(vwl_lv/e, 100) // other alternative e_5
11 endphoneme
12
13 phoneme i
14 vwl starttype #i endtype #i
15 length 120
16 FMT(vwl_lv/i, 110) // was i_6
17 endphoneme
18
19 phoneme o
20 vwl starttype #o endtype #o
21 length 120
22 FMT(vwl_lv/o, 90)
23 endphoneme
24
25 phoneme u
26 vwl starttype #u endtype #u
27 length 120
28 FMT(vwl_lv/u, 100)
29 endphoneme
30
31 phoneme ai
32 vwl starttype #a endtype #i
33 length 280
34 lng
35 FMT(vwl_lv/ai, 100)
36 endphoneme
37
38 phoneme au
39 vwl starttype #a endtype #u
40 length 280
41 lng
42 FMT(vwl_lv/au, 100)
43 endphoneme
44
45 phoneme ei
46 vwl starttype #e endtype #i
47 length 280
48 lng
49 FMT(vwl_lv/ei, 100)
50 endphoneme
51
52 phoneme ie
53 vwl starttype #i endtype #e
54 length 250
55 lng
56 FMT(vwl_lv/ie, 100)
57 endphoneme
58
59 phoneme iu
60 vwl starttype #i endtype #u
61 length 250
62 lng
63 FMT(vwl_lv/iu, 100)
64 endphoneme
65
66 phoneme ui
67 vwl starttype #u endtype #i
68 length 250
69 lng
70 FMT(vwl_lv/ui, 100)
71 endphoneme
72
73 phoneme uo
74 vwl starttype #u endtype #a
75 length 280
76 lng
77 FMT(vwl_lv/ua, 110)
78 endphoneme
79
80 phoneme oi
81 vwl starttype #o endtype #i
82 length 250
83 lng
84 FMT(vwl_lv/oi, 100)
85 endphoneme
86
87 phoneme ts
88 vls alv afr nolink
89 ipa t͡s
90 voicingswitch J
91 length 55
92 lengthmod 1
93 WAV(ustop/ts2, 60)
94 endphoneme
95
96 phoneme tS
97 vls pla afr sib
98 ipa t͡ʃ
99 voicingswitch dZ
100 lengthmod 2
101 length 80
102 WAV(ustop/tsh,40)
103 endphoneme
104
105 phoneme D // louder and shorter version of d
106 vcd alv stp
107 ipa d
108 voicingswitch t
109 length 8
110 lengthmod 5
111 Vowelin f1=1 f2=1700 -300 300 f3=-100 80
112 Vowelout f1=2 f2=1700 -300 300 f3=-100 80 brk
113
114 IF PreVoicing THEN
115 FMT(d/xd, 110)
116 ENDIF
117
118 IF nextPh(isPause2) THEN
119 FMT(d/d_, 120) addWav(x/d_,110)
120 ENDIF
121
122 FMT(d/d, 110) addWav(x/d,110)
123 endphoneme
124
125 phoneme j // **y**es
126 liquid pal starttype #i
127 IF nextPhW(isVowel) THEN
128 NextVowelStarts
129 VowelStart(j/j@)
130 VowelStart(j/ja)
131 VowelStart(j/je)
132 VowelStart(j/ji)
133 VowelStart(j/jo)
134 VowelStart(j/ju)
135 EndSwitch
136 VowelEnding(j/xj, 127) // In difference with English, vowel is lengthened, not shortened
137 ELSE
138 Vowelout len=127 // no vowel follows
139 FMT(j/xj)
140 ENDIF
141
142 IF prevPh(isPause) THEN
143 FMT(j/_j)
144 ENDIF
145 endphoneme
146
147 phoneme k
148 vls vel stp
149 lengthmod 2
150 voicingswitch g
151 Vowelin f1=0 f2=2300 200 400 f3=-100 80
152 Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
153 IF nextPh(isPause2) THEN
154 WAV(ustop/k_)
155 ENDIF
156 IF nextPh(#i) OR nextPh(l^) THEN
157 WAV(ustop/ki)
158 ENDIF
159 IF nextPh(l) THEN
160 WAV(ustop/kl)
161 ENDIF
162 WAV(ustop/k_unasp, 60) // weaker
163 endphoneme
164
165 phoneme c
166 vls pal stp pzd
167 voicingswitch J
168 WAV(ustop/c, 80)
169 endphoneme
170
171 phoneme l
172 liquid
173
174 IF nextPh(isNotVowel) THEN
175 PrevVowelEndings
176 VowelEnding(l/L1_@L)
177 VowelEnding(l/L1_aL)
178 VowelEnding(l/L1_eL)
179 VowelEnding(l/L1_iL)
180 VowelEnding(l/L1_oL)
181 VowelEnding(l/L1_uL)
182 EndSwitch
183
184 FMT(l/l_)
185 RETURN
186 ENDIF
187
188 CALL vowelstart_l
189
190 IF prevPh(isPause) THEN
191 FMT(l/_l)
192 ENDIF
193
194 IF prevPh(t) THEN
195 FMT(l/tl)
196 ENDIF
197
198 IF prevPh(l/) THEN
199 FMT(l/l_long) // double l, make it longer
200 ENDIF
201
202 FMT(l/l)
203 endphoneme
204
205 phoneme m // copied from standard m phoneme with rule for 'mm'
206 vcd blb nas
207 Vowelout f1=2 f2=1000 -500 -350 f3=-200 80 brk
208 lengthmod 4
209
210 IF KlattSynth THEN
211 Vowelin f1=0 f2=1000 -50 -200 f3=-200 80
212 IF nextPh(isPause2) THEN
213 FMT(klatt/m_)
214 ENDIF
215 FMT(klatt/m)
216 ENDIF
217
218 NextVowelStarts
219 VowelStart(m/m@)
220 VowelStart(m/ma)
221 VowelStart(m/me)
222 VowelStart(m/mi)
223 VowelStart(m/mo)
224 VowelStart(m/mu)
225 EndSwitch
226
227 IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
228 FMT(m/mj)
229 ELIF prevPh(isPause) THEN
230 FMT(m/_m)
231 ELIF nextPh(isNotVowel) THEN
232 FMT(m/m_)
233 ELIF nextPh(m) THEN // m/mj has no volume change, so doubled 'mm' merges better
234 FMT(m/mj)
235 ENDIF
236 endphoneme
237
238 phoneme p
239 vls blb stp
240 lengthmod 2
241 voicingswitch b
242 Vowelin f1=0 f2=1000 -50 -100 f3=-200 80
243 Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=30
244 IF nextPh(isPause2) THEN
245 WAV(ustop/p_unasp_, 80)
246 ENDIF
247 IF nextPh(l) THEN
248 WAV(ustop/pl)
249 ENDIF
250 WAV(ustop/p_unasp, 120)
251 endphoneme
252
253 phoneme R
254 liquid trl
255 ipa r
256 lengthmod 6
257 Vowelin f1=0 f2=1700 -300 300 f3=-300 80
258 Vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
259 FMT(r3/r_trill) addWav(r3/r_trill.wav, 60)
260 endphoneme
261
262 phoneme s
263 vls alv frc sib
264 voicingswitch z
265 lengthmod 3
266 Vowelin f1=0 f2=1700 -300 300 f3=-100 80
267 Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
268 WAV(ufric/s,60)
269 endphoneme
270
271 phoneme t
272 vls alv stp //lengthenstop
273 lengthmod 1
274 voicingswitch d
275 IF nextPh(isPause2) THEN
276 WAV(ustop/t_dnt, 40)
277 ENDIF
278 WAV(ustop/t_dnt, 50)
279 endphoneme
280
281 phoneme v // from v# in standard phonemes
282 vcd lbd frc
283 ipa ʋ
284 lengthmod 6
285 voicingswitch f
286 Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
287 Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
288 IF nextPh(isPause2) THEN
289 FMT(voc/v#_)
290 ENDIF
291 FMT(voc/v#)
292 endphoneme
293
294
295 phoneme gH // arabic Ghain, the phoneme is derived from Q
296 vcd vel frc
297 voicingswitch R2
298 ipa ɣ
299 Vowelin f1=2 f2=2300 200 300 f3=-300 80
300 Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
301 FMT(g/g) addWav(vwl_ar/dhad)
302 endphoneme
303
304 phoneme dH //arabic Dhad TODO this probably should be simple d from standard phonemes
305 vcd alv stp
306 ipa dˤ
307 Vowelin f1=1 f2=1700 -300 300 f3=-100 80
308 Vowelout f1=2 f2=1700 -300 300 f3=-100 80 brk
309 IF PreVoicing THEN
310 FMT(d/xd)
311 ENDIF
312 IF nextPh(isPause2) THEN
313 FMT(d/d_) addWav(x/d_)
314 ENDIF
315 FMT(d/d) addWav(x/d)
316 endphoneme
317
318 phoneme s[
319 vls dnt stp
320 voicingswitch s
321 IF nextPh(s[) THEN
322 length 50
323 ELSE
324 length 160
325 ENDIF
326 lengthmod 7
327 WAV(vwl_ar/shin)
328 endphoneme
329
330 phoneme X
331 vls uvl frc
332 voicingswitch Q
333 lengthmod 7
334 Vowelin f1=0 f2=2300 200 400 f3=-100 80
335 Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
336 WAV(ufric/xx, 70)
337 endphoneme
338
339