| 1 |
//******************************************************************* |
| 2 |
// TONES |
| 3 |
//******************************************************************* |
| 4 |
|
| 5 |
//******************************************************************* |
| 6 |
// REFERENCE MATERIALS |
| 7 |
//******************************************************************* |
| 8 |
// Collaborative Documentation and Revitalization of Cherokee Tone |
| 9 |
// https://scholarspace.manoa.hawaii.edu/bitstream/handle/10125/24630/herrick.pdf |
| 10 |
// Tones fall within a range of 80–140 H (pg 21, footnote) |
| 11 |
// the mid tone (2) starts at 104 Hz (P1) and falls approximately 2 Hz at of the next four points ending at 96 Hz at P5. |
| 12 |
// |
| 13 |
// Building Tone Resources for Second Language Learners from Phonetic Documentation |
| 14 |
// https://scholarspace.manoa.hawaii.edu/bitstream/10125/24737/hirata-edds_herrick.pdf |
| 15 |
// |
| 16 |
// Pitch contours taken from Praat chart, pg 295 |
| 17 |
// |
| 18 |
// (¹) low fall: 106, 102, 97, 92, 88 |
| 19 |
// (²) low/mid: 104, 100, 98, 97, 96 |
| 20 |
// (³) high: 108, 109, 110, 111, 112 |
| 21 |
// (⁴) super high: 109, 113, 118, 122, 127 |
| 22 |
// (²³) rising: 97, 98, 101, 104, 109 |
| 23 |
// (³²) falling: 122, 120, 115, 106, 97 |
| 24 |
|
| 25 |
// A REFERENCE GRAMMAR OF OKLAHOMA CHEROKEE (2008) |
| 26 |
// Short vowels preceding /h/ are devoiced, pg 45 (how to do this espeak-ng?) |
| 27 |
// Word final vowels are nasalized |
| 28 |
// Vowels are nasalized after a nasal consonant |
| 29 |
// Vowels are either long or short; a long vowel takes |
| 30 |
// approximately twice as long to pronounce as its |
| 31 |
// short counterpart., pg 46 |
| 32 |
|
| 33 |
//int pitch1 = 0; |
| 34 |
//int pitch2 = 0; |
| 35 |
//int pitch_env = 0; |
| 36 |
//int amp_env = 0; |
| 37 |
//IF (pitch1 >= pitch2) the pitch values get swapped (???) |
| 38 |
|
| 39 |
phoneme 1 // low fall (¹), long vowels only |
| 40 |
stress |
| 41 |
ipa ˨˩ |
| 42 |
Tone(28, 7, envelope/chr_fall21, NULL) //need a pitch contour of 106-88 for a |
| 43 |
endphoneme |
| 44 |
|
| 45 |
phoneme 2 // low (²) |
| 46 |
stress |
| 47 |
ipa ˨ |
| 48 |
Tone(27, 16, envelope/chr_level2, NULL) //need a pitch contour of 104-96 for a |
| 49 |
endphoneme |
| 50 |
|
| 51 |
phoneme 23 // rising (²³) |
| 52 |
stress |
| 53 |
ipa ˨˧ |
| 54 |
Tone(16, 30, envelope/chr_rise23, NULL) //need a pitch contour of 97-109 for a |
| 55 |
endphoneme |
| 56 |
|
| 57 |
phoneme 32 // falling (³²) |
| 58 |
stress |
| 59 |
ipa ˧˨ |
| 60 |
Tone(45, 15, envelope/chr_fall32, NULL) //need a pitch contour of 122-97 for a |
| 61 |
endphoneme |
| 62 |
|
| 63 |
phoneme 3 // high (³) |
| 64 |
stress |
| 65 |
ipa ˧ |
| 66 |
//Tone(109, 116, envelope/p_rise, NULL) //need a pitch contour of 108-112 for a |
| 67 |
Tone(29, 35, envelope/chr_level3, NULL) //need a pitch contour of 108-112 for a |
| 68 |
endphoneme |
| 69 |
|
| 70 |
phoneme 4 // extra high rise (⁴) |
| 71 |
stress |
| 72 |
ipa ˧˦ |
| 73 |
Tone(29, 52, envelope/chr_rise4, NULL) //need a pitch contour of 109-127 for a |
| 74 |
endphoneme |
| 75 |
|
| 76 |
phoneme 43 // extra high fall (⁴³) - end of word tone |
| 77 |
stress |
| 78 |
ipa ˦˧ |
| 79 |
//need a pitch contour of 122-75 for a~ |
| 80 |
Tone(44, 0, envelope/chr_fall43, NULL) |
| 81 |
endphoneme |
| 82 |
|
| 83 |
//from phonemes |
| 84 |
phoneme : // lengthen previous vowel by "length" |
| 85 |
virtual |
| 86 |
length 300 |
| 87 |
endphoneme |
| 88 |
|
| 89 |
phoneme 0 |
| 90 |
vwl starttype #o endtype #o |
| 91 |
length 300 |
| 92 |
FMT(vowel/0_3) |
| 93 |
endphoneme |
| 94 |
|
| 95 |
phoneme 0` |
| 96 |
vwl starttype #o endtype #o |
| 97 |
length 100 |
| 98 |
FMT(vowel/0_3) |
| 99 |
endphoneme |
| 100 |
|
| 101 |
phoneme 0~ |
| 102 |
vwl starttype #o endtype #o |
| 103 |
length 300 |
| 104 |
FMT(vnasal/aa_n4) |
| 105 |
endphoneme |
| 106 |
|
| 107 |
phoneme 0~` |
| 108 |
vwl starttype #o endtype #o |
| 109 |
length 100 |
| 110 |
FMT(vnasal/aa_n4) |
| 111 |
endphoneme |
| 112 |
|
| 113 |
phoneme e |
| 114 |
vwl starttype #e endtype #e |
| 115 |
length 300 |
| 116 |
FMT(vowel/e_mid) |
| 117 |
endphoneme |
| 118 |
|
| 119 |
phoneme e` |
| 120 |
vwl starttype #e endtype #e |
| 121 |
length 100 |
| 122 |
FMT(vowel/e_mid) |
| 123 |
endphoneme |
| 124 |
|
| 125 |
phoneme e~ |
| 126 |
vwl starttype #e endtype #e |
| 127 |
length 300 |
| 128 |
FMT(vnasal/ee_n2) |
| 129 |
endphoneme |
| 130 |
|
| 131 |
phoneme e~` |
| 132 |
vwl starttype #e endtype #e |
| 133 |
length 100 |
| 134 |
FMT(vnasal/ee_n2) |
| 135 |
endphoneme |
| 136 |
|
| 137 |
phoneme i |
| 138 |
vwl starttype #i endtype #i |
| 139 |
length 300 |
| 140 |
//IfNextVowelAppend(;) |
| 141 |
FMT(vowel/i) |
| 142 |
endphoneme |
| 143 |
|
| 144 |
phoneme i` |
| 145 |
vwl starttype #i endtype #i |
| 146 |
length 100 |
| 147 |
//IfNextVowelAppend(;) |
| 148 |
FMT(vowel/i) |
| 149 |
endphoneme |
| 150 |
|
| 151 |
phoneme i~ |
| 152 |
vwl starttype #i endtype #i |
| 153 |
length 300 |
| 154 |
//IfNextVowelAppend(;) |
| 155 |
FMT(vnasal/i_n) |
| 156 |
endphoneme |
| 157 |
|
| 158 |
phoneme i~` |
| 159 |
vwl starttype #i endtype #i |
| 160 |
length 100 |
| 161 |
//IfNextVowelAppend(;) |
| 162 |
FMT(vnasal/i_n) |
| 163 |
endphoneme |
| 164 |
|
| 165 |
// o, ọ |
| 166 |
phoneme o |
| 167 |
vwl starttype #o endtype #o |
| 168 |
length 300 |
| 169 |
FMT(vowel/o) |
| 170 |
endphoneme |
| 171 |
|
| 172 |
phoneme o` |
| 173 |
vwl starttype #o endtype #o |
| 174 |
length 100 |
| 175 |
FMT(vowel/o) |
| 176 |
endphoneme |
| 177 |
|
| 178 |
// o, ọ, final word vowel |
| 179 |
phoneme o~ |
| 180 |
vwl starttype #o endtype #o |
| 181 |
length 300 |
| 182 |
FMT(vnasal/o_n) |
| 183 |
endphoneme |
| 184 |
|
| 185 |
phoneme o~` |
| 186 |
vwl starttype #o endtype #o |
| 187 |
|
| 188 |
length 100 |
| 189 |
FMT(vnasal/o_n) |
| 190 |
endphoneme |
| 191 |
|
| 192 |
// u, ụ |
| 193 |
//from ph_base2 |
| 194 |
phoneme u |
| 195 |
vwl starttype #u endtype #u |
| 196 |
length 300 |
| 197 |
FMT(vowel/u_bck) |
| 198 |
endphoneme |
| 199 |
|
| 200 |
phoneme u` |
| 201 |
vwl starttype #u endtype #u |
| 202 |
length 100 |
| 203 |
FMT(vowel/u_bck) |
| 204 |
endphoneme |
| 205 |
|
| 206 |
// u, ụ, final word vowel |
| 207 |
phoneme u~ |
| 208 |
vwl starttype #u endtype #u |
| 209 |
length 300 |
| 210 |
FMT(vnasal/u_n) |
| 211 |
endphoneme |
| 212 |
|
| 213 |
phoneme u~` |
| 214 |
vwl starttype #u endtype #u |
| 215 |
length 100 |
| 216 |
FMT(vnasal/u_n) |
| 217 |
endphoneme |
| 218 |
|
| 219 |
//ṿ, v |
| 220 |
phoneme V~ |
| 221 |
vwl lng starttype #@ endtype #@ |
| 222 |
// vwl lng starttype #@ endtype #@ |
| 223 |
// length 300 |
| 224 |
// FMT(vnasal/V_n, 100) |
| 225 |
ChangePhoneme(&~) |
| 226 |
endphoneme |
| 227 |
|
| 228 |
phoneme &~ |
| 229 |
vwl starttype #@ endtype #@ |
| 230 |
ipa ɐU+0303 |
| 231 |
length 180 |
| 232 |
IF thisPh(isFinalVowel) THEN |
| 233 |
FMT(vnasal/a#_n2) |
| 234 |
ELSE |
| 235 |
FMT(vnasal/a#_n) |
| 236 |
ENDIF |
| 237 |
endphoneme |
| 238 |
|
| 239 |
phoneme V~` |
| 240 |
vwl lng starttype #@ endtype #@ |
| 241 |
length 100 |
| 242 |
FMT(vnasal/V_n) |
| 243 |
endphoneme |
| 244 |
|
| 245 |
phoneme h |
| 246 |
vls glt apr |
| 247 |
ipa h |
| 248 |
|
| 249 |
IF prevPhW(isVowel) AND nextPhW(isNotVowel) THEN |
| 250 |
length 25 |
| 251 |
lengthmod 1 |
| 252 |
ENDIF |
| 253 |
|
| 254 |
IF nextPhW(#@) THEN |
| 255 |
length 50 |
| 256 |
WAV(h/h@, 70) |
| 257 |
ELIF nextPhW(#a) THEN |
| 258 |
WAV(h/ha) |
| 259 |
ELIF nextPhW(#e) THEN |
| 260 |
length 60 |
| 261 |
WAV(h/he, 75) |
| 262 |
ELIF nextPhW(#i) THEN |
| 263 |
length 75 |
| 264 |
WAV(h/hi) |
| 265 |
ELIF nextPhW(#o) THEN |
| 266 |
length 75 |
| 267 |
WAV(h/ho) |
| 268 |
ELIF nextPhW(#u) THEN |
| 269 |
length 80 |
| 270 |
WAV(h/hu) |
| 271 |
ELSE |
| 272 |
length 60 |
| 273 |
WAV(h/h_) // no vowel following |
| 274 |
ENDIF |
| 275 |
endphoneme |
| 276 |
|
| 277 |
phoneme h` |
| 278 |
vls glt apr |
| 279 |
ipa h |
| 280 |
length 10 |
| 281 |
WAV(h/h_) // no vowel following |
| 282 |
endphoneme |
| 283 |
|
| 284 |
phoneme s |
| 285 |
vls alv frc sib |
| 286 |
voicingswitch z |
| 287 |
lengthmod 3 |
| 288 |
Vowelin f1=0 f2=1700 -300 300 f3=-100 80 |
| 289 |
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20 |
| 290 |
|
| 291 |
IF nextPh(isPause) THEN |
| 292 |
WAV(ufric/s_) |
| 293 |
ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN |
| 294 |
WAV(ufric/s!) |
| 295 |
ENDIF |
| 296 |
WAV(ufric/s) |
| 297 |
endphoneme |
| 298 |
|
| 299 |
phoneme g |
| 300 |
vcd vel stp |
| 301 |
voicingswitch k |
| 302 |
lengthmod 5 |
| 303 |
Vowelin f1=2 f2=2300 200 300 f3=-300 80 |
| 304 |
Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk |
| 305 |
|
| 306 |
// IF PreVoicing THEN |
| 307 |
//FMT(g/xg) |
| 308 |
//ENDIF |
| 309 |
|
| 310 |
IF nextPh(isPause2) THEN |
| 311 |
//addWav(ustop/k_) |
| 312 |
FMT(g/g_) addWav(ustop/k_) |
| 313 |
//addWav(x/g_) |
| 314 |
ELSE |
| 315 |
//addWav(ustop/k_asp) |
| 316 |
FMT(g/g) addWav(ustop/k_asp) |
| 317 |
//addWav(x/g) |
| 318 |
ENDIF |
| 319 |
|
| 320 |
endphoneme |
| 321 |
|
| 322 |
phoneme t |
| 323 |
vls alv stp |
| 324 |
voicingswitch d |
| 325 |
lengthmod 2 |
| 326 |
Vowelin f1=0 f2=1700 -300 300 f3=-100 80 |
| 327 |
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20 |
| 328 |
|
| 329 |
IF nextPh(isPause2) THEN |
| 330 |
WAV(ustop/t_) |
| 331 |
ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN |
| 332 |
WAV(ustop/tr) |
| 333 |
ELIF nextPh(@-) THEN |
| 334 |
WAV(ustop/t_dnt, 50) |
| 335 |
ENDIF |
| 336 |
WAV(ustop/t, 90) |
| 337 |
endphoneme |
| 338 |
|
| 339 |
phoneme d |
| 340 |
vcd alv stp |
| 341 |
voicingswitch t |
| 342 |
lengthmod 5 |
| 343 |
Vowelin f1=1 f2=1700 -300 300 f3=-100 80 |
| 344 |
Vowelout f1=2 f2=1700 -300 300 f3=-100 80 brk |
| 345 |
|
| 346 |
IF PreVoicing THEN |
| 347 |
FMT(d/xd) |
| 348 |
ENDIF |
| 349 |
|
| 350 |
IF nextPh(isPause2) THEN |
| 351 |
FMT(d/d_) addWav(x/d_) |
| 352 |
// ELIF nextPh(r) THEN |
| 353 |
// FMT(d/dr) addWav(x/d) |
| 354 |
ENDIF |
| 355 |
|
| 356 |
FMT(d/d) addWav(x/d) |
| 357 |
endphoneme |
| 358 |
|
| 359 |
phoneme dZ // **j**udge |
| 360 |
ipa dZ |
| 361 |
vcd pla afr sib |
| 362 |
voicingswitch tS |
| 363 |
lengthmod 5 |
| 364 |
Vowelin f1=2 f2=2300 200 400 f3=100 80 |
| 365 |
Vowelout f1=2 f2=2300 250 300 f3=100 80 brk |
| 366 |
|
| 367 |
IF PreVoicing THEN |
| 368 |
FMT(dzh/xdz_pzd, 250) |
| 369 |
ENDIF |
| 370 |
|
| 371 |
IF nextPh(isPause2) THEN |
| 372 |
FMT(dzh/dz_pzd_, 250) addWav(x/dz_pzd_, 250) |
| 373 |
ENDIF |
| 374 |
FMT(dzh/dz_pzd, 250) addWav(x/dz_pzd, 250) |
| 375 |
endphoneme |
| 376 |
|
| 377 |
phoneme n |
| 378 |
vcd alv nas |
| 379 |
Vowelout f1=2 f2=1500 -300 250 f3=-100 80 rms=20 brk |
| 380 |
Vowelin rate |
| 381 |
lengthmod 4 |
| 382 |
|
| 383 |
IF KlattSynth THEN |
| 384 |
Vowelin f1=0 f2=1500 -200 200 f3=0 80 |
| 385 |
FMT(klatt/n) |
| 386 |
ENDIF |
| 387 |
|
| 388 |
NextVowelStarts |
| 389 |
VowelStart(n/n@) |
| 390 |
VowelStart(n/na) |
| 391 |
VowelStart(n/ne) |
| 392 |
VowelStart(n/ni) |
| 393 |
VowelStart(n/no) |
| 394 |
VowelStart(n/nu) |
| 395 |
EndSwitch |
| 396 |
|
| 397 |
IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN |
| 398 |
FMT(n/nj) |
| 399 |
ELIF prevPh(isPause) OR prevPh(n) THEN |
| 400 |
FMT(n/_n) |
| 401 |
ELIF nextPh(isNotVowel) THEN |
| 402 |
FMT(n/n_) |
| 403 |
ENDIF |
| 404 |
|
| 405 |
endphoneme |
| 406 |
|
| 407 |
phoneme m |
| 408 |
vcd blb nas |
| 409 |
Vowelout f1=2 f2=1000 -500 -350 f3=-200 80 brk |
| 410 |
lengthmod 4 |
| 411 |
|
| 412 |
IF KlattSynth THEN |
| 413 |
Vowelin f1=0 f2=1000 -50 -200 f3=-200 80 |
| 414 |
IF nextPh(isPause2) THEN |
| 415 |
FMT(klatt/m_) |
| 416 |
ENDIF |
| 417 |
FMT(klatt/m) |
| 418 |
ENDIF |
| 419 |
|
| 420 |
NextVowelStarts |
| 421 |
VowelStart(m/m@) |
| 422 |
VowelStart(m/ma) |
| 423 |
VowelStart(m/me) |
| 424 |
VowelStart(m/mi) |
| 425 |
VowelStart(m/mo) |
| 426 |
VowelStart(m/mu) |
| 427 |
EndSwitch |
| 428 |
|
| 429 |
IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN |
| 430 |
FMT(m/mj) |
| 431 |
ELIF prevPh(isPause) THEN |
| 432 |
FMT(m/_m) |
| 433 |
ELIF nextPh(isNotVowel) THEN |
| 434 |
FMT(m/m_) |
| 435 |
ENDIF |
| 436 |
endphoneme |
| 437 |
|
| 438 |
phoneme w |
| 439 |
liquid |
| 440 |
lengthmod 7 |
| 441 |
starttype #u |
| 442 |
|
| 443 |
IF nextPh(isVowel) THEN |
| 444 |
|
| 445 |
NextVowelStarts |
| 446 |
VowelStart(w/w2) |
| 447 |
VowelStart(w/wa) |
| 448 |
VowelStart(w/we) |
| 449 |
VowelStart(w/wi) |
| 450 |
VowelStart(w/wo) |
| 451 |
VowelStart(w/wu) |
| 452 |
EndSwitch |
| 453 |
|
| 454 |
VowelEnding(w/xw, -30) |
| 455 |
|
| 456 |
IF prevPhW(isNasal) THEN |
| 457 |
FMT(w/w2) |
| 458 |
ELSEIF prevPhW(h) THEN |
| 459 |
// none, [hw] |
| 460 |
ELSE |
| 461 |
FMT(w/w2) |
| 462 |
//FMT(w/_w) |
| 463 |
ENDIF |
| 464 |
ELSE |
| 465 |
// no vowel follows |
| 466 |
Vowelout len=50 |
| 467 |
IF prevPh(#i) THEN |
| 468 |
FMT(w/iw_) |
| 469 |
ENDIF |
| 470 |
FMT(w/w_) |
| 471 |
ENDIF |
| 472 |
endphoneme |
| 473 |
|