ph_kyrgyz 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680
  1. // ***************************************************************************/
  2. // * Kyrgyz Language ky ph_kyrgyz *
  3. // * Original Author Joshua Meyer 7-1-2016 *
  4. // * Contact info: joshua.richard.meyer@gmail.com *
  5. // ***************************************************************************/
  6. // * This program is free software; you can redistribute it and/or modify *
  7. // * it under the terms of the GNU General Public License as published by *
  8. // * the Free Software Foundation; either version 3 of the License, or *
  9. // * (at your option) any later version. *
  10. // * *
  11. // * This program is distributed in the hope that it will be useful, *
  12. // * but WITHOUT ANY WARRANTY; without even the implied warranty of *
  13. // * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
  14. // * GNU General Public License for more details. *
  15. // * *
  16. // * You should have received a copy of the GNU General Public License *
  17. // * along with this program; if not, see: *
  18. // * <http://www.gnu.org/licenses/>. *
  19. // ***************************************************************************/
  20. // ============ //
  21. // SHORT VOWELS //
  22. // ============ //
  23. // ''atai'' /a/ f1 840 f2 1540 f3 2892 f4 3269
  24. phoneme a
  25. vwl starttype #@ endtype #@
  26. ipa ɑ
  27. unstressed
  28. length 190
  29. FMT(vowel/aa_6)
  30. endphoneme
  31. phoneme e
  32. ipa e
  33. vwl starttype #e endtype #e
  34. length 170
  35. FMT(vowel/e)
  36. endphoneme
  37. phoneme i
  38. ipa i
  39. vwl starttype #i endtype #i
  40. length 170
  41. IfNextVowelAppend(;)
  42. FMT(vowel/i)
  43. endphoneme
  44. phoneme o
  45. ipa o
  46. vwl starttype #o endtype #o
  47. length 170
  48. FMT(vowel/o_8)
  49. endphoneme
  50. phoneme u
  51. ipa u
  52. vwl starttype #u endtype #u
  53. length 170
  54. FMT(vowel/u_bck)
  55. endphoneme
  56. phoneme I
  57. ipa ɯ
  58. vwl starttype #@ endtype #@
  59. length 180
  60. FMT(vowel/u#_7)
  61. endphoneme
  62. phoneme y
  63. ipa y
  64. vwl starttype #u endtype #u
  65. length 180
  66. FMT(vowel/y)
  67. endphoneme
  68. phoneme O
  69. ipa oe
  70. vwl starttype #@ endtype #@
  71. length 150
  72. FMT(vowel/oe)
  73. endphoneme
  74. // ============ //
  75. // LONG VOWELS //
  76. // ============ //
  77. phoneme a:
  78. ipa ɑ:
  79. vwl starttype #@ endtype #@
  80. length 325
  81. FMT(vowel/aa_6)
  82. endphoneme
  83. phoneme e:
  84. ipa e:
  85. vwl starttype #e endtype #e
  86. length 300
  87. FMT(vowel/e)
  88. endphoneme
  89. phoneme i:
  90. ipa i:
  91. vwl starttype #i endtype #i
  92. length 300
  93. IfNextVowelAppend(;)
  94. FMT(vowel/i)
  95. endphoneme
  96. phoneme o:
  97. ipa o:
  98. vwl starttype #o endtype #o
  99. length 325
  100. FMT(vowel/o_8)
  101. endphoneme
  102. phoneme u:
  103. ipa u:
  104. vwl starttype #u endtype #u
  105. length 325
  106. FMT(vowel/u_bck)
  107. endphoneme
  108. phoneme I:
  109. ipa ɯ:
  110. vwl starttype #@ endtype #@
  111. length 300
  112. FMT(vowel/u#_7)
  113. endphoneme
  114. phoneme y:
  115. ipa y:
  116. vwl starttype #u endtype #u
  117. length 400
  118. FMT(vowel/y)
  119. endphoneme
  120. phoneme O:
  121. ipa oe:
  122. vwl starttype #@ endtype #@
  123. length 275
  124. FMT(vowel/oe)
  125. endphoneme
  126. // ========== //
  127. // CONSONANTS //
  128. // ========== //
  129. phoneme r
  130. liquid trl
  131. ipa r
  132. lengthmod 6
  133. Vowelin f1=0 f2=1600 -300 300 f3=-200 80
  134. Vowelout f1=2 f2=1600 -300 300 f3=-200 80 brk
  135. FMT(r3/r_trill2) addWav(r3/r_trill2.wav, 65)
  136. endphoneme
  137. phoneme l
  138. ipa l
  139. liquid
  140. starttype l endtype l
  141. lengthmod 7
  142. NextVowelStarts
  143. VowelStart(l/l@)
  144. VowelStart(l/la, -10)
  145. VowelStart(l/le, -15)
  146. VowelStart(l/li, -15)
  147. VowelStart(vwl_fr/lo, -10)
  148. VowelStart(l/lu, -20)
  149. EndSwitch
  150. IF prevPh(#@) THEN
  151. VowelEnding(l/xl, -50)
  152. ELIF prevPh(isVowel) THEN
  153. VowelEnding(l/xl, -40)
  154. ENDIF
  155. IF prevPh(isPause) OR thisPh(isWordStart) THEN
  156. FMT(l/_l)
  157. ENDIF
  158. IF prevPh(isRhotic) OR prevPh(isNasal) THEN
  159. FMT(l/_l)
  160. ENDIF
  161. IF prevPh(t) THEN
  162. FMT(l/tl)
  163. ENDIF
  164. IF prevPh(l/) THEN
  165. FMT(l/l_long) // double l, make it longer
  166. ENDIF
  167. FMT(l/l)
  168. endphoneme
  169. phoneme L
  170. // 'dark' [l]
  171. ipa l-
  172. liquid
  173. lengthmod 7
  174. IF nextPh(isVowel) THEN
  175. ChangePhoneme(l)
  176. ENDIF
  177. CALL vowelstart_l
  178. IF prevPhW(j) THEN
  179. FMT(l/L2_eL)
  180. ENDIF
  181. IF prevPhW(w) THEN
  182. FMT(l/L2_uL)
  183. ENDIF
  184. PrevVowelEndings
  185. VowelEnding(l/L2_@L, -60)
  186. VowelEnding(l/L2_aL, -50)
  187. VowelEnding(l/L2_eL, -40)
  188. VowelEnding(l/L2_iL, -30)
  189. VowelEnding(l/L2_oL, -50)
  190. VowelEnding(l/L2_uL, -40)
  191. EndSwitch
  192. endphoneme
  193. phoneme j // **y**es
  194. ipa j
  195. liquid pal starttype #i
  196. lengthmod 7
  197. IF nextPhW(isVowel) THEN
  198. NextVowelStarts
  199. VowelStart(j/j@)
  200. VowelStart(j/ja)
  201. VowelStart(j/je)
  202. VowelStart(j/ji)
  203. VowelStart(j/jo)
  204. VowelStart(j/ju)
  205. EndSwitch
  206. VowelEnding(j/xj, -30)
  207. IF prevPh(isPause) THEN
  208. FMT(j/_j)
  209. ENDIF
  210. ELSE
  211. // no vowel follows
  212. Vowelout len=70
  213. FMT(j/j_)
  214. ENDIF
  215. endphoneme
  216. phoneme m
  217. ipa m
  218. vcd blb nas
  219. Vowelout f1=2 f2=1000 -500 -350 f3=-200 80 brk
  220. lengthmod 4
  221. IF KlattSynth THEN
  222. Vowelin f1=0 f2=1000 -50 -200 f3=-200 80
  223. IF nextPh(isPause2) THEN
  224. FMT(klatt/m_)
  225. ENDIF
  226. FMT(klatt/m)
  227. ENDIF
  228. NextVowelStarts
  229. VowelStart(m/m@)
  230. VowelStart(m/ma)
  231. VowelStart(m/me)
  232. VowelStart(m/mi)
  233. VowelStart(m/mo)
  234. VowelStart(m/mu)
  235. EndSwitch
  236. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  237. FMT(m/mj)
  238. ELIF prevPh(isPause) THEN
  239. FMT(m/_m)
  240. ELIF nextPh(isNotVowel) THEN
  241. FMT(m/m_)
  242. ENDIF
  243. endphoneme
  244. phoneme n
  245. ipa n
  246. vcd alv nas
  247. Vowelout f1=2 f2=1500 -300 250 f3=-100 80 rms=20 brk
  248. lengthmod 4
  249. IF KlattSynth THEN
  250. Vowelin f1=0 f2=1500 -200 200 f3=0 80
  251. FMT(klatt/n)
  252. ENDIF
  253. NextVowelStarts
  254. VowelStart(n/n@)
  255. VowelStart(n/na)
  256. VowelStart(n/ne)
  257. VowelStart(n/ni)
  258. VowelStart(n/no)
  259. VowelStart(n/nu)
  260. EndSwitch
  261. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  262. FMT(n/nj)
  263. ELIF prevPh(isPause) OR prevPh(n) THEN
  264. FMT(n/_n)
  265. ELIF nextPh(isNotVowel) THEN
  266. FMT(n/n_)
  267. ENDIF
  268. endphoneme
  269. phoneme N // si**ng**
  270. ipa N
  271. vcd vel nas
  272. Vowelout f1=3 f2=2300 300 400 f3=-200 80 len=40 rms=20 brk
  273. lengthmod 8 // longer than 'n'
  274. IF KlattSynth THEN
  275. Vowelin f1=0 f2=2100 50 300 f3=0 80
  276. IF nextPh(isPause2) THEN
  277. FMT(klatt/nn_)
  278. ENDIF
  279. FMT(klatt/nn)
  280. ENDIF
  281. NextVowelStarts
  282. VowelStart(nn/nn@)
  283. VowelStart(nn/nna)
  284. VowelStart(nn/nne)
  285. VowelStart(nn/nni)
  286. VowelStart(nn/nno)
  287. VowelStart(nn/nnu)
  288. EndSwitch
  289. IF prevPh(#i) THEN
  290. VowelEnding(nn/inn, -40)
  291. ENDIF
  292. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  293. FMT(nn/nnj)
  294. ELIF prevPh(isPause) THEN
  295. FMT(nn/_nn)
  296. ELIF nextPh(isNotVowel) THEN
  297. FMT(nn/nn_)
  298. ENDIF
  299. endphoneme
  300. phoneme * // flap
  301. ipa ɾ
  302. vcd alv flp rhotic
  303. brkafter
  304. lengthmod 3
  305. IF nextPh(#e) OR nextPh(#i) THEN
  306. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  307. FMT(d/tap1) addWav(r3/rx, 150)
  308. FMT(d/tap1) addWav(r3/rx, 150)
  309. ENDIF
  310. Vowelin f1=2 f2=1500 -300 300 f3=-200 80
  311. IF nextPh(#a) THEN
  312. FMT(d/tap3) addWav(r3/rx, 200)
  313. ENDIF
  314. IF nextPh(r) THEN
  315. FMT(d/dr)
  316. ENDIF
  317. Vowelout f1=3 f2=1500 -400 300 f3=-200 80 rms=35 len=50
  318. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  319. FMT(d/tap3) addWav(r3/rx, 200)
  320. endphoneme
  321. phoneme f
  322. ipa f
  323. vls lbd frc
  324. voicingswitch v
  325. lengthmod 3
  326. Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
  327. WAV(ufric/f)
  328. endphoneme
  329. phoneme v // english v for now
  330. ipa v
  331. vwl starttype #a endtype #@
  332. length 170
  333. ChangeIfDiminished(@)
  334. FMT(vowel/V_6)
  335. endphoneme
  336. phoneme b
  337. ipa b
  338. vcd blb stp
  339. voicingswitch p
  340. Vowelout f1=2 f2=1000 -500 -300 f3=-300 80 brk
  341. lengthmod 5
  342. IF PreVoicing THEN
  343. FMT(b/xb)
  344. ENDIF
  345. IF KlattSynth THEN
  346. Vowelin f1=1 f2=1000 -500 -300 f3=-300 80
  347. IF nextPh(isPause2) THEN
  348. FMT(klatt/b) addWav(x/b_)
  349. ENDIF
  350. FMT(klatt/b) addWav(x/b)
  351. ENDIF
  352. IF nextPh(isPause2) THEN
  353. FMT(b/b_) addWav(x/b_)
  354. ELIF nextPh(@-) THEN
  355. FMT(b/b@2) addWav(x/b)
  356. ELIF nextPh(#@) THEN
  357. FMT(b/b@) addWav(x/b)
  358. ELIF nextPh(#a) THEN
  359. FMT(b/ba) addWav(x/b)
  360. ELIF nextPh(#e) THEN
  361. FMT(b/be) addWav(x/b)
  362. ELIF nextPh(#i) THEN
  363. FMT(b/bi) addWav(x/b)
  364. ELIF nextPh(#o) THEN
  365. FMT(b/bo) addWav(x/b)
  366. ELIF nextPh(#u) THEN
  367. FMT(b/bu) addWav(x/b)
  368. ENDIF
  369. FMT(b/b) addWav(x/b)
  370. endphoneme
  371. phoneme ts
  372. ipa ts
  373. import_phoneme consonants/ts
  374. endphoneme
  375. phoneme tS // **ch**urch
  376. ipa tS
  377. vls pla afr sib
  378. voicingswitch dZ
  379. lengthmod 2
  380. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  381. IF nextPh(isPause2) THEN
  382. WAV(ustop/tsh_)
  383. ENDIF
  384. WAV(ustop/tsh)
  385. endphoneme
  386. phoneme dZ // **j**udge
  387. ipa dZ
  388. vcd pla afr sib
  389. voicingswitch tS
  390. lengthmod 5
  391. Vowelin f1=2 f2=2300 200 400 f3=100 80
  392. Vowelout f1=2 f2=2300 250 300 f3=100 80 brk
  393. IF PreVoicing THEN
  394. FMT(dzh/xdzh)
  395. ENDIF
  396. IF nextPh(isPause2) THEN
  397. FMT(dzh/dzh_) addWav(x/dzh_)
  398. ENDIF
  399. FMT(dzh/dzh) addWav(x/dzh)
  400. endphoneme
  401. phoneme g
  402. vcd vel stp
  403. voicingswitch k
  404. lengthmod 5
  405. Vowelin f1=2 f2=2300 200 300 f3=-300 80
  406. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  407. IF PreVoicing THEN
  408. FMT(g/xg)
  409. ENDIF
  410. IF nextPh(isPause2) THEN
  411. FMT(g/g_) addWav(x/g_)
  412. ENDIF
  413. FMT(g/g) addWav(x/g2, 150)
  414. endphoneme
  415. phoneme k
  416. vls vel stp
  417. voicingswitch g
  418. lengthmod 2
  419. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  420. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  421. IF KlattSynth THEN
  422. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  423. ENDIF
  424. IF nextPh(isPause2) THEN
  425. WAV(ustop/k_)
  426. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  427. WAV(ustop/kr)
  428. // ELIF nextPh(#i) OR nextPh(;) THEN
  429. // WAV(ustop/ki)
  430. ELIF nextPh(l) THEN
  431. WAV(ustop/kl)
  432. ELIF nextPh(@-) THEN
  433. WAV(ustop/k_unasp, 70)
  434. ENDIF
  435. WAV(ustop/k)
  436. endphoneme
  437. phoneme z
  438. ipa z
  439. vcd alv frc sib
  440. voicingswitch s
  441. lengthmod 6
  442. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  443. IF KlattSynth THEN
  444. Vowelin f1=0 f2=1390 -300 300 f3=0 0
  445. Vowelout f1=1 f2=1390 -300 300 f3=-100 60 len=50 brk
  446. ENDIF
  447. IF nextPh(isPause2) THEN
  448. FMT(voc/z_) addWav(ufric/s_, 70)
  449. ENDIF
  450. FMT(voc/z) addWav(ufric/s_, 85)
  451. endphoneme
  452. phoneme G
  453. vcd uvl frc
  454. ipa ʁ
  455. lengthmod 6
  456. IF nextPh(isPause2) THEN
  457. FMT(voc/Q_ulv) addWav(ufric/xx, 60)
  458. ENDIF
  459. FMT(voc/Q_ulv) addWav(ufric/xx, 80)
  460. endphoneme
  461. phoneme p
  462. ipa p
  463. vls blb stp
  464. voicingswitch b
  465. lengthmod 2
  466. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  467. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  468. IF nextPh(isPause2) THEN
  469. WAV(ustop/p_)
  470. ELIF nextPh(r) THEN
  471. WAV(ustop/pr, 70)
  472. ELIF nextPh(R) OR nextPh(R2) THEN
  473. WAV(ustop/pr)
  474. ELIF nextPh(@-) THEN
  475. WAV(ustop/p_unasp)
  476. ELIF nextPh(l) THEN
  477. WAV(ustop/pl)
  478. ENDIF
  479. WAV(ustop/p)
  480. endphoneme
  481. phoneme t // dental /t/
  482. ipa t[
  483. vls dnt stp
  484. voicingswitch d
  485. lengthmod 2
  486. Vowelin f1=1 f2=1500 -250 250 f3=-100 80 amp=16
  487. Vowelout f1=0 f2=1500 -300 250 f3=-100 80 rms=20
  488. IF nextPh(isPause2) THEN
  489. WAV(ustop/t_dnt, 35)
  490. ENDIF
  491. WAV(ustop/t_dnt, 70)
  492. endphoneme
  493. phoneme d // dental /d/
  494. ipa d[
  495. vcd dnt stp
  496. voicingswitch t
  497. lengthmod 5
  498. Vowelin f1=2 f2=1500 -300 300 f3=-150 80
  499. Vowelout f1=2 f2=1500 -300 300 f3=-150 80
  500. IF PreVoicing THEN
  501. FMT(d/xd)
  502. ENDIF
  503. IF nextPh(isPause2) THEN
  504. FMT(d/d_) addWav(x/d_)
  505. ELIF nextPh(r) THEN
  506. FMT(d/dr) addWav(x/d_dnt, 100)
  507. ENDIF
  508. FMT(d/d) addWav(x/d_dnt, 100)
  509. endphoneme
  510. phoneme q
  511. ipa q
  512. vls uvl stp
  513. lengthmod 2
  514. Vowelin f1=1 f2=1700 0 200 f3=-300 80 gpaus f4 rms=30
  515. Vowelout f1=1 f2=1700 -100 200 f3=-300 80 f4 rms=35
  516. IF nextPh(isPause2) THEN
  517. WAV(ustop/q, 40)
  518. ELIF nextPh(#u) THEN
  519. WAV(ustop/q_u, 80)
  520. ENDIF
  521. WAV(ustop/q, 48)
  522. endphoneme
  523. phoneme s
  524. ipa s
  525. vls alv frc sib
  526. voicingswitch z
  527. lengthmod 3
  528. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  529. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  530. IF nextPh(isPause) THEN
  531. WAV(ufric/s_)
  532. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  533. WAV(ufric/s!)
  534. ENDIF
  535. WAV(ufric/s)
  536. endphoneme
  537. phoneme S // **sh**op
  538. ipa S
  539. vls pla frc sib
  540. voicingswitch Z
  541. lengthmod 3
  542. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  543. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  544. IF nextPh(isPause) THEN
  545. WAV(ufric/sh_)
  546. ENDIF
  547. WAV(ufric/sh)
  548. endphoneme
  549. phoneme X
  550. ipa X
  551. vls uvl frc
  552. voicingswitch Q"
  553. lengthmod 3
  554. IF nextPh(isPause) THEN
  555. WAV(ufric/xx, 70)
  556. ENDIF
  557. WAV(ufric/xx,80)
  558. endphoneme