Debian Codegraph @

phsource/ph_serbian

raw
1
2 // This file inherits phonemes from ph_croatian
3 // Only phonemes which differ from the inherited phonemes need
4 // to be included here.
5
6 phoneme I
7 vwl starttype #i endtype #i
8 length 120
9 IfNextVowelAppend(;)
10 FMT(vowel/ii_6)
11 endphoneme
12
13
14 phoneme &
15 vwl starttype #a endtype #a
16 ipa ɐ
17 length 140
18 FMT(vowel/a#)
19 endphoneme
20
21
22 phoneme r* // this is [R] from Slovak/Czech
23 liquid trl
24 ipa r
25 lengthmod 6
26 Vowelin f1=0 f2=1700 -300 300 f3=-300 80
27 Vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
28 FMT(r3/r_trill) addWav(r3/r_trill.wav, 50)
29 endphoneme
30
31
32
33 phoneme t // dental variant of /t/
34 vls dnt stp
35 lengthmod 2
36 voicingswitch d
37 Vowelin f1=0 f2=1600 -300 300 f3=-100 80
38 Vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
39 IF nextPh(isPause2) THEN
40 WAV(ustop/t_sr, 35)
41 ENDIF
42 WAV(ustop/t_sr, 50)
43 endphoneme
44
45
46 phoneme d
47 vcd alv stp
48 lengthmod 5
49 voicingswitch t
50 Vowelin f1=2 f2=1700 -300 300 f3=-100 80 amp=16
51 Vowelout f1=2 f2=1700 -300 300 f3=-100 80
52
53 IF PreVoicing THEN
54 FMT(d/xd)
55 ENDIF
56
57 IF nextPh(isPause2) THEN
58 FMT(d/d_dnt) addWav(ustop/t_sr)
59 ENDIF
60 FMT(d/d_dnt) addWav(ustop/t_sr, 50)
61 endphoneme
62
63
64 // This is for letter "h" at the beginning of a word
65 // Use [x] from lang=hr, request by Gašić Dajan 27.06.2011
66 phoneme x#
67 vls vel frc
68 lengthmod 3
69 IF nextPh(#i) OR nextPh(#e) THEN
70 WAV(ufric/ch_sr)
71 ELIF nextPh(isVowel) THEN
72 WAV(ufric/x_sr)
73 ENDIF
74 WAV(ufric/x_sr, 70) // no vowel following
75 endphoneme
76
77
78 // This is for letter "h" not at the beginning of word
79 // Use standard [h], request by Gašić Dajan 27.06.2011
80 phoneme h#
81 vls vel frc
82 lengthmod 3
83 IF nextPh(#@) THEN
84 WAV(h/h@)
85 ELIF nextPh(#i) OR nextPh(#e) THEN
86 WAV(ufric/ch_sr)
87 ELIF nextPh(isVowel) THEN
88 WAV(ufric/x_sr)
89 ENDIF
90 WAV(ufric/x_sr, 70) // no vowel following
91 endphoneme
92
93
94 phoneme dZ
95 vcd pla afr sib
96 lengthmod 5
97 voicingswitch tS
98 Vowelin f1=2 f2=2300 200 400 f3=100 80
99 Vowelout f1=2 f2=2300 250 300 f3=100 80 brk
100
101 IF PreVoicing THEN
102 FMT(dzh/xdzh)
103 ENDIF
104
105 FMT(dzh/dzh) addWav(ufric/sh_pzd2)
106 endphoneme
107
108
109 phoneme dZ;
110 vcd alp sib afr
111 lengthmod 5
112 ipa dʑ
113 voicingswitch tS;
114 Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
115
116 IF PreVoicing THEN
117 FMT(dzh/xdzh)
118 ENDIF
119
120 FMT(dzh/dzh) addWav(ustop/ts_sr)
121 endphoneme
122
123
124 phoneme tS
125 vls pla afr sib
126 lengthmod 2
127 voicingswitch dZ
128 Vowelin f1=0 f2=2300 200 400 f3=-100 80
129 WAV(ustop/tsh_sr, 50)
130 endphoneme
131
132
133 phoneme tS;
134 vls alp sib afr
135 lengthmod 2
136 ipa tɕ
137 voicingswitch dZ;
138 Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
139 WAV(ustop/ts_sr)
140 endphoneme
141
142
143 phoneme Z
144 vcd pla frc sib
145 lengthmod 6
146 voicingswitch S
147 Vowelin f1=0 f2=2000 0 300 f3=-200 80
148 Vowelout f1=2 f2=2000 0 300 f3=-200 80 brk
149 IF nextPh(isPause2) THEN
150 FMT(voc/zh) addWav(ufric/sh_pzd2, 50)
151 ENDIF
152 FMT(voc/zh) addWav(ufric/sh_pzd2, 60)
153 endphoneme
154
155
156 phoneme S
157 vls pla frc sib
158 lengthmod 3
159 voicingswitch Z
160 Vowelin f1=0 f2=2100 100 300 f3=-100 80
161 Vowelout f1=0 f2=2100 100 300 f3=-100 80
162 IF nextPh(isPause2) THEN
163 WAV(ufric/sh_pzd2, 60)
164 ENDIF
165 WAV(ufric/sh_pzd2, 70)
166 endphoneme
167