eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ph_kyrgyz 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  1. // ***************************************************************************/
  2. // * Kyrgyz Language ky ph_kyrgyz *
  3. // * Original Author Joshua Meyer 7-1-2016 *
  4. // * Contact info: [email protected] *
  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 200
  48. FMT(vowel/o_8)
  49. endphoneme
  50. phoneme u
  51. ipa u
  52. vwl starttype #u endtype #u
  53. length 200
  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 275
  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. import_phoneme ipa/ts\)
  373. endphoneme
  374. phoneme tS // **ch**urch
  375. ipa tS
  376. vls pla afr sib
  377. voicingswitch dZ
  378. lengthmod 2
  379. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  380. IF nextPh(isPause2) THEN
  381. WAV(ustop/tsh_)
  382. ENDIF
  383. WAV(ustop/tsh)
  384. endphoneme
  385. phoneme dZ // **j**udge
  386. ipa dZ
  387. vcd pla afr sib
  388. voicingswitch tS
  389. lengthmod 5
  390. Vowelin f1=2 f2=2300 200 400 f3=100 80
  391. Vowelout f1=2 f2=2300 250 300 f3=100 80 brk
  392. IF PreVoicing THEN
  393. FMT(dzh/xdzh)
  394. ENDIF
  395. IF nextPh(isPause2) THEN
  396. FMT(dzh/dzh_) addWav(x/dzh_)
  397. ENDIF
  398. FMT(dzh/dzh) addWav(x/dzh)
  399. endphoneme
  400. phoneme g
  401. vcd vel stp
  402. voicingswitch k
  403. lengthmod 5
  404. Vowelin f1=2 f2=2300 200 300 f3=-300 80
  405. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  406. IF PreVoicing THEN
  407. FMT(g/xg)
  408. ENDIF
  409. IF nextPh(isPause2) THEN
  410. FMT(g/g_) addWav(x/g_)
  411. ENDIF
  412. FMT(g/g) addWav(x/g2, 150)
  413. endphoneme
  414. phoneme k
  415. vls vel stp
  416. voicingswitch g
  417. lengthmod 2
  418. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  419. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  420. IF KlattSynth THEN
  421. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  422. ENDIF
  423. IF nextPh(isPause2) THEN
  424. WAV(ustop/k_)
  425. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  426. WAV(ustop/kr)
  427. // ELIF nextPh(#i) OR nextPh(;) THEN
  428. // WAV(ustop/ki)
  429. ELIF nextPh(l) THEN
  430. WAV(ustop/kl)
  431. ELIF nextPh(@-) THEN
  432. WAV(ustop/k_unasp, 70)
  433. ENDIF
  434. WAV(ustop/k)
  435. endphoneme
  436. phoneme z
  437. ipa z
  438. vcd alv frc sib
  439. voicingswitch s
  440. lengthmod 6
  441. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  442. IF KlattSynth THEN
  443. Vowelin f1=0 f2=1390 -300 300 f3=0 0
  444. Vowelout f1=1 f2=1390 -300 300 f3=-100 60 len=50 brk
  445. ENDIF
  446. IF nextPh(isPause2) THEN
  447. FMT(voc/z_) addWav(ufric/s_, 70)
  448. ENDIF
  449. FMT(voc/z) addWav(ufric/s_, 85)
  450. endphoneme
  451. phoneme G
  452. vcd uvl frc
  453. ipa ʁ
  454. lengthmod 6
  455. IF nextPh(isPause2) THEN
  456. FMT(voc/Q_ulv) addWav(ufric/xx, 60)
  457. ENDIF
  458. FMT(voc/Q_ulv) addWav(ufric/xx, 80)
  459. endphoneme
  460. phoneme p
  461. ipa p
  462. vls blb stp
  463. voicingswitch b
  464. lengthmod 2
  465. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  466. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  467. IF nextPh(isPause2) THEN
  468. WAV(ustop/p_)
  469. ELIF nextPh(r) THEN
  470. WAV(ustop/pr, 70)
  471. ELIF nextPh(R) OR nextPh(R2) THEN
  472. WAV(ustop/pr)
  473. ELIF nextPh(@-) THEN
  474. WAV(ustop/p_unasp)
  475. ELIF nextPh(l) THEN
  476. WAV(ustop/pl)
  477. ENDIF
  478. WAV(ustop/p)
  479. endphoneme
  480. phoneme t // dental /t/
  481. ipa t[
  482. vls dnt stp
  483. voicingswitch d
  484. lengthmod 2
  485. Vowelin f1=1 f2=1500 -250 250 f3=-100 80 amp=16
  486. Vowelout f1=0 f2=1500 -300 250 f3=-100 80 rms=20
  487. IF nextPh(isPause2) THEN
  488. WAV(ustop/t_dnt, 35)
  489. ENDIF
  490. WAV(ustop/t_hi, 70)
  491. endphoneme
  492. phoneme d // dental /d/
  493. ipa d[
  494. vcd dnt stp
  495. voicingswitch t
  496. lengthmod 5
  497. Vowelin f1=2 f2=1500 -300 300 f3=-150 80
  498. Vowelout f1=2 f2=1500 -300 300 f3=-150 80
  499. IF PreVoicing THEN
  500. FMT(d/xd)
  501. ENDIF
  502. IF nextPh(isPause2) THEN
  503. FMT(d/d_) addWav(x/d_)
  504. ELIF nextPh(r) THEN
  505. FMT(d/dr) addWav(x/d_dnt, 100)
  506. ENDIF
  507. FMT(d/d) addWav(x/d_dnt, 100)
  508. endphoneme
  509. phoneme q
  510. ipa q
  511. vls uvl stp
  512. lengthmod 2
  513. Vowelin f1=1 f2=1700 0 200 f3=-300 80 gpaus f4 rms=30
  514. Vowelout f1=1 f2=1700 -100 200 f3=-300 80 f4 rms=35
  515. IF nextPh(isPause2) THEN
  516. WAV(ustop/q, 40)
  517. ELIF nextPh(#u) THEN
  518. WAV(ustop/q_u, 80)
  519. ENDIF
  520. WAV(ustop/q, 48)
  521. endphoneme
  522. phoneme s
  523. ipa s
  524. vls alv frc sib
  525. voicingswitch z
  526. lengthmod 3
  527. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  528. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  529. IF nextPh(isPause) THEN
  530. WAV(ufric/s_)
  531. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  532. WAV(ufric/s!)
  533. ENDIF
  534. WAV(ufric/s)
  535. endphoneme
  536. phoneme S // **sh**op
  537. ipa S
  538. vls pla frc sib
  539. voicingswitch Z
  540. lengthmod 3
  541. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  542. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  543. IF nextPh(isPause) THEN
  544. WAV(ufric/sh_)
  545. ENDIF
  546. WAV(ufric/sh)
  547. endphoneme
  548. phoneme X
  549. ipa X
  550. vls uvl frc
  551. voicingswitch Q"
  552. lengthmod 3
  553. IF nextPh(isPause) THEN
  554. WAV(ufric/xx, 70)
  555. ENDIF
  556. WAV(ufric/xx,80)
  557. endphoneme