| 1 |
|
| 2 |
//==================================================== |
| 3 |
// Setswana phoneme file |
| 4 |
// maitained by: Sternly K Simon |
| 5 |
// email: [email protected] |
| 6 |
//==================================================== |
| 7 |
|
| 8 |
phoneme l // use dark [l/2] before not-vowel |
| 9 |
liquid |
| 10 |
lengthmod 7 |
| 11 |
|
| 12 |
IF nextPhW(isVowel) THEN |
| 13 |
ELSE |
| 14 |
IF prevPh(isNotVowel) THEN |
| 15 |
ChangePhoneme(l/) |
| 16 |
ELSE |
| 17 |
ChangePhoneme(l/2) |
| 18 |
ENDIF |
| 19 |
ENDIF |
| 20 |
|
| 21 |
CALL base1/l |
| 22 |
endphoneme |
| 23 |
|
| 24 |
phoneme r- // linking r, used in Setswana between certain vowels and a following vowel |
| 25 |
liquid rhotic |
| 26 |
ipa ɹ |
| 27 |
lengthmod 0 |
| 28 |
|
| 29 |
NextVowelStarts |
| 30 |
VowelStart(r2/r2@) |
| 31 |
VowelStart(r2/r2a) |
| 32 |
VowelStart(r2/r2e) |
| 33 |
VowelStart(r2/r2i) |
| 34 |
VowelStart(r2/r2o) |
| 35 |
VowelStart(r2/r2u) |
| 36 |
EndSwitch |
| 37 |
|
| 38 |
IF prevPh(isVowel) THEN |
| 39 |
VowelEnding(r/xr, -60) |
| 40 |
ENDIF |
| 41 |
|
| 42 |
FMT(r/r) |
| 43 |
endphoneme |
| 44 |
|
| 45 |
// Default vowel definitions |
| 46 |
|
| 47 |
phoneme @ |
| 48 |
vwl starttype #@ endtype #@ |
| 49 |
unstressed |
| 50 |
length 140 |
| 51 |
IF nextPh(r/) THEN |
| 52 |
length 190 |
| 53 |
FMT(vwl_tn/r@) |
| 54 |
ENDIF |
| 55 |
FMT(vwl_tn/@) |
| 56 |
endphoneme // Vowels |
| 57 |
|
| 58 |
// VOWELS |
| 59 |
//**************************************************************** |
| 60 |
|
| 61 |
phoneme i |
| 62 |
vwl starttype #i endtype #i |
| 63 |
length 170 |
| 64 |
FMT(vowel/ii) |
| 65 |
endphoneme |
| 66 |
|
| 67 |
phoneme I |
| 68 |
vwl starttype #i endtype #i |
| 69 |
length 130 |
| 70 |
IfNextVowelAppend(;) |
| 71 |
FMT(vwl_tn/I) |
| 72 |
endphoneme |
| 73 |
|
| 74 |
phoneme I2 |
| 75 |
vwl starttype #i endtype #i |
| 76 |
unstressed |
| 77 |
length 130 |
| 78 |
IfNextVowelAppend(;) |
| 79 |
FMT(vowel/ii_4) |
| 80 |
endphoneme |
| 81 |
|
| 82 |
phoneme e |
| 83 |
vwl starttype #e endtype #e |
| 84 |
length 180 |
| 85 |
ChangeIfUnstressed(l) |
| 86 |
FMT(vowel/ee#_2) |
| 87 |
endphoneme |
| 88 |
|
| 89 |
phoneme e@ // long E |
| 90 |
vwl starttype #i endtype #@ |
| 91 |
ipa iə |
| 92 |
length 230 |
| 93 |
IfNextVowelAppend(r-) |
| 94 |
FMT(vdiph/i@_2) |
| 95 |
endphoneme |
| 96 |
|
| 97 |
phoneme E |
| 98 |
vwl starttype #e endtype #e |
| 99 |
unstressed |
| 100 |
length 140 |
| 101 |
ChangeIfDiminished(I2) |
| 102 |
FMT(vowel/ee_5) |
| 103 |
endphoneme |
| 104 |
|
| 105 |
phoneme a |
| 106 |
vwl starttype #a endtype #a |
| 107 |
ipa a |
| 108 |
length 180 |
| 109 |
FMT(vowel/a_5) |
| 110 |
endphoneme |
| 111 |
|
| 112 |
phoneme A@ // Used for [A:] when followed by 'r' |
| 113 |
vwl starttype #a endtype #a |
| 114 |
ipa ɑː |
| 115 |
length 230 |
| 116 |
IfNextVowelAppend(r-) |
| 117 |
FMT(vowel/aa_2) |
| 118 |
endphoneme |
| 119 |
|
| 120 |
phoneme O // short O |
| 121 |
vwl starttype #o endtype #o |
| 122 |
length 140 |
| 123 |
FMT(vowel/oo_1) |
| 124 |
endphoneme |
| 125 |
|
| 126 |
phoneme o |
| 127 |
vwl starttype #o endtype #o |
| 128 |
length 180 |
| 129 |
ChangeIfUnstressed(U) |
| 130 |
FMT(vowel/0_2) |
| 131 |
endphoneme |
| 132 |
|
| 133 |
phoneme u |
| 134 |
vwl starttype #u endtype #u |
| 135 |
length 170 |
| 136 |
FMT(vowel/u_5) |
| 137 |
endphoneme |
| 138 |
|
| 139 |
phoneme U |
| 140 |
vwl starttype #o endtype #o |
| 141 |
length 150 |
| 142 |
FMT(vowel/uu) |
| 143 |
endphoneme |
| 144 |
|
| 145 |
|
| 146 |
// Consonants |
| 147 |
//================================================= |
| 148 |
|
| 149 |
phoneme l |
| 150 |
import_phoneme en/l |
| 151 |
endphoneme |
| 152 |
|
| 153 |
phoneme ts |
| 154 |
vls alv afr sib |
| 155 |
// voicingswitch dz |
| 156 |
lengthmod 2 |
| 157 |
Vowelin f1=0 f2=1700 -300 300 f3=-100 80 |
| 158 |
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20 |
| 159 |
IF nextPh(isPause2) THEN |
| 160 |
WAV(ustop/ts_) |
| 161 |
ENDIF |
| 162 |
WAV(ustop/ts) |
| 163 |
endphoneme |
| 164 |
|
| 165 |
phoneme d // dental variant of /d/ |
| 166 |
import_phoneme base2/d |
| 167 |
endphoneme |
| 168 |
|
| 169 |
phoneme kh |
| 170 |
vls vel stp |
| 171 |
lengthmod 2 |
| 172 |
voicingswitch g |
| 173 |
Vowelin f1=0 f2=2300 200 300 f3=-150 80 |
| 174 |
Vowelout f1=0 f2=2300 300 400 f3=-150 80 rms=20 |
| 175 |
IF nextPh(isPause2) THEN |
| 176 |
WAV(ustop/k_asp, 50) |
| 177 |
ENDIF |
| 178 |
IF nextPh(l) THEN |
| 179 |
WAV(ustop/kl) |
| 180 |
ENDIF |
| 181 |
WAV(ustop/k_asp, 90) |
| 182 |
endphoneme |
| 183 |
|
| 184 |
phoneme k- // unaspirated |
| 185 |
vls vel stp |
| 186 |
lengthmod 2 |
| 187 |
voicingswitch g |
| 188 |
Vowelin f1=0 f2=2300 200 300 f3=-150 80 |
| 189 |
Vowelout f1=0 f2=2300 300 400 f3=-150 80 rms=20 |
| 190 |
IF nextPh(isPause2) THEN |
| 191 |
WAV(ustop/k_unasp, 50) |
| 192 |
ENDIF |
| 193 |
WAV(ustop/k_unasp, 60) // weaker |
| 194 |
endphoneme |
| 195 |
|
| 196 |
phoneme K // Setswna tlh sound |
| 197 |
vls alv frc |
| 198 |
lengthmod 3 |
| 199 |
|
| 200 |
NextVowelStarts |
| 201 |
VowelStart(l/l@) |
| 202 |
VowelStart(l/la) |
| 203 |
VowelStart(l/le) |
| 204 |
VowelStart(l/li, -10) |
| 205 |
VowelStart(l/lo) |
| 206 |
VowelStart(l/lu) |
| 207 |
EndSwitch |
| 208 |
|
| 209 |
IF prevPh(isVowel) THEN |
| 210 |
VowelEnding(l/xl, -40) |
| 211 |
ENDIF |
| 212 |
|
| 213 |
WAV(ufric/tlh, 80) |
| 214 |
endphoneme |
| 215 |
|
| 216 |
|
| 217 |
phoneme ph // aspirated |
| 218 |
vls blb stp |
| 219 |
lengthmod 2 |
| 220 |
voicingswitch b |
| 221 |
Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 |
| 222 |
Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=30 |
| 223 |
IF nextPh(isPause2) THEN |
| 224 |
WAV(ustop/p_) |
| 225 |
ENDIF |
| 226 |
IF nextPh(r) THEN |
| 227 |
WAV(ustop/pr) |
| 228 |
ENDIF |
| 229 |
IF nextPh(l) THEN |
| 230 |
WAV(ustop/pl) |
| 231 |
ENDIF |
| 232 |
WAV(ustop/p_asp) |
| 233 |
endphoneme |
| 234 |
|
| 235 |
phoneme r |
| 236 |
liquid rhotic trl |
| 237 |
lengthmod 6 |
| 238 |
Vowelin f1=2 f2=2700 -300 -200 f3=-1300 80 |
| 239 |
Vowelout f1=2 f2=1700 -300 -200 f3=-1300 80 |
| 240 |
|
| 241 |
NextVowelStarts |
| 242 |
VowelStart(r/r@, -15) |
| 243 |
VowelStart(r/ra, -15) |
| 244 |
VowelStart(r/re, -15) |
| 245 |
VowelStart(r/ri, -15) |
| 246 |
VowelStart(r/ro, -15) |
| 247 |
VowelStart(r/ru, -15) |
| 248 |
EndSwitch |
| 249 |
|
| 250 |
IF prevPh(isVowel) THEN |
| 251 |
VowelEnding(r/xr, -50) |
| 252 |
ENDIF |
| 253 |
|
| 254 |
FMT(r3/r_trill) addWav(r3/r_trill3.wav, 100) |
| 255 |
endphoneme |
| 256 |
|
| 257 |
|
| 258 |
phoneme r/ // used for [r] when not preceding a vowel |
| 259 |
liquid |
| 260 |
lengthmod 7 |
| 261 |
|
| 262 |
IF prevPh(@) OR prevPh(I) THEN |
| 263 |
ELSE |
| 264 |
FMT(r3/r_) addWav(r3/rx) |
| 265 |
ENDIF |
| 266 |
endphoneme |
| 267 |
|
| 268 |
phoneme t // dental variant of /t/ |
| 269 |
import_phoneme base2/t |
| 270 |
endphoneme |
| 271 |
|
| 272 |
phoneme tS |
| 273 |
vls pla afr sib |
| 274 |
voicingswitch dZ |
| 275 |
lengthmod 2 |
| 276 |
Vowelin f1=0 f2=2300 200 400 f3=-100 80 |
| 277 |
|
| 278 |
IF nextPh(isPause2) THEN |
| 279 |
WAV(ustop/tsh_) |
| 280 |
ENDIF |
| 281 |
WAV(ustop/tsh) |
| 282 |
endphoneme |
| 283 |
|
| 284 |
phoneme tS; |
| 285 |
vls alp sib afr |
| 286 |
voicingswitch dZ; |
| 287 |
ipa tɕ |
| 288 |
lengthmod 2 |
| 289 |
Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70 |
| 290 |
|
| 291 |
IF nextPh(isPause2) THEN |
| 292 |
WAV(ustop/ts_pzd) |
| 293 |
ENDIF |
| 294 |
WAV(ustop/ts_pzd) |
| 295 |
endphoneme |
| 296 |
|
| 297 |
|
| 298 |
|
| 299 |
|