Debian Codegraph @

phsource/ph_polish

raw
1
2 //====================================================
3 // Polish
4 //====================================================
5
6
7 phoneme a
8 vwl starttype #a endtype #a
9 length 190
10 ChangeIfDiminished(a#)
11 FMT(vowel/a)
12 endphoneme
13
14 phoneme a#
15 vwl starttype #a endtype #a
16 ipa a
17 length 170
18 FMT(vowel/a#_2)
19 endphoneme
20
21
22
23 phoneme E
24 vwl starttype #e endtype #e
25 length 180
26 IF nextPh(isPause) THEN
27 FMT(vowel/ee_1)
28 ENDIF
29 FMT(vowel/e_mid)
30 endphoneme
31
32
33 phoneme E#
34 vwl starttype #e endtype #e
35 length 180
36 FMT(vowel/ee#)
37 endphoneme
38
39
40 phoneme i
41 vwl starttype #i endtype #i
42 length 170
43 IfNextVowelAppend(;)
44 FMT(vowel/i_7)
45 endphoneme
46
47
48 phoneme O
49 vwl starttype #o endtype #o
50 length 180
51 FMT(vowel/oo_5)
52 endphoneme
53
54
55 phoneme u
56 vwl starttype #u endtype #u
57 length 180
58 FMT(vowel/u_bck)
59 endphoneme
60
61
62 phoneme y // close central unrounded (i-bar)
63 vwl starttype #i endtype #i
64 ipa ɨ
65 length 180
66 FMT(vowel/ii#_2)
67 endphoneme
68
69
70 phoneme E~
71 vwl starttype #e endtype #u
72 length 250
73 FMT(vnasal/ee_u_n)
74 endphoneme
75
76
77 phoneme O~
78 vwl starttype #o endtype #o
79 length 250
80 FMT(vnasal/oo_n3)
81 endphoneme
82
83
84 // CONSONANTS
85 //===========
86
87 phoneme R
88 liquid trl
89 ipa r
90 lengthmod 6
91 Vowelin f1=0 f2=1700 -300 300 f3=-300 80
92 Vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
93 FMT(r3/r_trill) addWav(r3/r_trill.wav, 50)
94 endphoneme
95
96
97 phoneme t
98 vls dnt stp
99 lengthmod 2
100 voicingswitch d
101 Vowelin f1=0 f2=1600 -300 300 f3=-100 80
102 Vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
103 IF nextPh(isPause2) THEN
104 WAV(ustop/t_dnt, 35)
105 ENDIF
106 WAV(ustop/t_dnt, 60)
107 endphoneme
108
109
110 phoneme t;
111 vls pal stp pzd
112 lengthmod 2
113 voicingswitch d;
114 Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
115 Vowelout f1=1 f2=2700 400 600 f3=200 70 len=50 colr=1
116 IF nextPh(isPause2) THEN
117 WAV(ustop/t_pzd, 30)
118 ENDIF
119 WAV(ustop/t_pzd, 60)
120 endphoneme
121
122
123 phoneme d
124 vcd dnt stp
125 lengthmod 5
126 voicingswitch t
127 Vowelin f1=2 f2=1500 -300 300 f3=-150 80
128 Vowelout f1=2 f2=1500 -300 300 f3=-150 80
129
130 IF PreVoicing THEN
131 FMT(d/xd)
132 ENDIF
133
134 IF nextPh(isPause2) THEN
135 FMT(d/d_) addWav(x/d_)
136 ELIF nextPh(isRhotic) THEN
137 FMT(d/dr) addWav(x/d_dnt, 110)
138 ENDIF
139
140 FMT(d/d) addWav(x/d_dnt, 110)
141 endphoneme
142
143
144 phoneme d;
145 vcd alv stp pzd
146 lengthmod 5
147 voicingswitch t;
148 Vowelin f1=2 f2=2700 400 600 f3=200 80 rate len=80
149 Vowelout f1=2 f2=2700 400 600 f3=200 80 rate len=100 colr=1
150
151 IF PreVoicing THEN
152 FMT(d/xd_pzd)
153 ENDIF
154
155 IF nextPh(isPause2) THEN
156 FMT(d/d_) addWav(x/d_pzd, 40)
157 ELIF nextPh(isRhotic) THEN
158 FMT(d/dr) addWav(x/d_pzd, 80)
159 ENDIF
160
161 FMT(d/d) addWav(x/d_pzd, 80)
162 endphoneme
163
164
165 phoneme ts
166 import_phoneme consonants/ts
167 voicingswitch dz
168 endphoneme
169
170
171 phoneme dz
172 CALL consonants/dz
173 voicingswitch ts
174 ipa dʑ
175 endphoneme
176
177 phoneme ts;
178 CALL base1/tS;
179 voicingswitch dz;
180 ipa tɕ
181 endphoneme
182
183
184 phoneme dz;
185 import_phoneme base1/dZ;
186 voicingswitch ts;
187 endphoneme
188
189
190 phoneme w
191 liquid
192 lengthmod 7
193
194 CALL base1/w
195 IF nextPh(isVowel) THEN
196 FMT(w/w2) // longer [w]
197 ENDIF
198 endphoneme
199
200
201 phoneme f
202 vls lbd frc
203 lengthmod 3
204 voicingswitch v
205 Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
206 IF nextPh(isPause2) THEN
207 WAV(ufric/f_)
208 ELIF nextPh(s) THEN
209 WAV(ufric/f, 160)
210 ENDIF
211 WAV(ufric/f, 140)
212 endphoneme