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_shan 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. //*******************************************************************
  2. // TONES
  3. //*******************************************************************
  4. phoneme 1 // rising tone (contour: 24)
  5. stress
  6. Tone(20, 40, envelope/p_rise, NULL)
  7. endphoneme
  8. phoneme 2 // low tone (contour: 11)
  9. stress
  10. Tone(10, 10, envelope/i_risefall, NULL)
  11. endphoneme
  12. phoneme 3 // mid(-falling) tone (contour: 32)
  13. stress
  14. Tone(30, 20, envelope/p_fall, NULL)
  15. endphoneme
  16. phoneme 4 // high tone (contour: 55)
  17. stress
  18. Tone(50, 50, envelope/i_risefall, NULL)
  19. endphoneme
  20. phoneme 5 // falling (creaky) tone (contour: 42)
  21. stress
  22. Tone(40, 20, envelope/p_fall, NULL)
  23. endphoneme
  24. phoneme 6 // emphatic (contour: 343)
  25. stress
  26. Tone(30, 40, envelope/i_risefall, NULL)
  27. endphoneme
  28. //*******************************************************************
  29. // CONSONANTS (PLOSIVES/STOPS)
  30. //*******************************************************************
  31. phoneme p // unaspirated
  32. vls blb stp
  33. lengthmod 2
  34. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  35. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  36. IF nextPh(isPause2) THEN
  37. WAV(ustop/p_)
  38. ENDIF
  39. WAV(ustop/p_unasp)
  40. endphoneme
  41. phoneme p_h // aspirated
  42. vls blb stp
  43. lengthmod 2
  44. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80
  45. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=30
  46. WAV(ustop/p_asp)
  47. endphoneme
  48. phoneme t // unaspirated
  49. vls alv stp
  50. lengthmod 2
  51. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  52. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  53. IF nextPh(isPause2) THEN
  54. WAV(ustop/t_)
  55. ENDIF
  56. WAV(ustop/t_unasp)
  57. endphoneme
  58. phoneme t_h // aspirated
  59. vls alv stp
  60. lengthmod 2
  61. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  62. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  63. WAV(ustop/t) // TODO: This should be aspirated.
  64. endphoneme
  65. phoneme k // unaspirated
  66. vls vel stp
  67. lengthmod 2
  68. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  69. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  70. IF KlattSynth THEN
  71. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  72. ENDIF
  73. IF nextPh(isPause2) THEN
  74. WAV(ustop/k_)
  75. ENDIF
  76. WAV(ustop/k_unasp)
  77. endphoneme
  78. phoneme k_h
  79. vls vel stp
  80. lengthmod 2
  81. Vowelin f1=0 f2=2300 200 300 f3=-150 80
  82. Vowelout f1=0 f2=2300 300 400 f3=-150 80 rms=20
  83. WAV(ustop/k_asp)
  84. endphoneme
  85. //*******************************************************************
  86. // VOWELS
  87. //*******************************************************************
  88. phoneme i // ဢီ
  89. vwl starttype #i endtype #i
  90. length 200
  91. FMT(vowel/i)
  92. endphoneme
  93. phoneme i. // ဢိုဝ်
  94. vwl starttype #i endtype #i
  95. length 200
  96. ipa ɨ
  97. FMT(vowel/i#_6)
  98. endphoneme
  99. phoneme W // ဢိူဝ်
  100. vwl starttype #a endtype #u
  101. length 200
  102. ipa ɯ
  103. FMT(vowel/8_2)
  104. endphoneme
  105. phoneme u // ဢူ
  106. vwl starttype #u endtype #u
  107. length 200
  108. FMT(vowel/u_bck)
  109. endphoneme
  110. phoneme e // ​ဢ​ေ
  111. vwl starttype #e endtype #e
  112. length 200
  113. FMT(vowel/e_2)
  114. endphoneme
  115. phoneme @ //
  116. vwl starttype #@ endtype #@
  117. length 200
  118. ipa ə
  119. FMT(vowel/3_2)
  120. endphoneme
  121. phoneme o // ဢူဝ်
  122. vwl starttype #o endtype #o
  123. length 220
  124. FMT(vowel/o)
  125. endphoneme
  126. phoneme E // ဢ​ႄ
  127. vwl starttype #e endtype #e
  128. length 200
  129. ipa ɛ
  130. FMT(vowel/ee_2)
  131. endphoneme
  132. phoneme a // ဢ
  133. vwl starttype #a endtype #a
  134. length 200
  135. FMT(vowel/a)
  136. endphoneme
  137. phoneme a: // ဢၢ
  138. vwl starttype #a endtype #a
  139. length 250
  140. ipa aː
  141. FMT(vowel/a)
  142. endphoneme
  143. phoneme O // ဢ​ေႃ
  144. vwl starttype #o endtype #o
  145. length 260
  146. ipa ɔ
  147. FMT(vwl_it/o_open)
  148. endphoneme
  149. //*******************************************************************
  150. // DIPHTHONGS
  151. //*******************************************************************
  152. phoneme iu // ဢိဝ်
  153. vwl starttype #i endtype #u
  154. length 200
  155. FMT(vdiph2/iu)
  156. endphoneme
  157. phoneme eu // ဢဵဝ်
  158. vwl starttype #e endtype #u
  159. length 200
  160. FMT(vdiph/eu)
  161. endphoneme
  162. phoneme Eu // ဢႅဝ်
  163. vwl starttype #e endtype #u
  164. length 200
  165. ipa ɛu
  166. FMT(vdiph/eeu)
  167. endphoneme
  168. phoneme au // ဢဝ်
  169. vwl starttype #a endtype #u
  170. length 200
  171. FMT(vdiph/au_2)
  172. endphoneme
  173. phoneme a:u // ဢၢဝ်
  174. vwl starttype #a endtype #u
  175. length 250
  176. ipa aːu
  177. FMT(vdiph/au_2)
  178. endphoneme
  179. phoneme ui // ဢုၺ်
  180. vwl starttype #u endtype #i
  181. length 200
  182. FMT(vdiph/ui)
  183. endphoneme
  184. phoneme oi // ဢူၺ်
  185. vwl starttype #o endtype #i
  186. length 200
  187. FMT(vdiph/ooi)
  188. endphoneme
  189. phoneme Wi // ဢိူၺ်
  190. vwl starttype #i endtype #i
  191. length 200
  192. ipa ɯi
  193. FMT(vdiph/ui_3)
  194. endphoneme
  195. phoneme @i // ႂ်
  196. vwl starttype #@ endtype #i
  197. length 200
  198. ipa əi
  199. FMT(vdiph/@i)
  200. endphoneme
  201. phoneme ai // ဢႆ
  202. vwl starttype #a endtype #i
  203. length 200
  204. FMT(vdiph/ai)
  205. endphoneme
  206. phoneme a:i // ဢၢႆ
  207. vwl starttype #a endtype #i
  208. length 250
  209. ipa aːi
  210. FMT(vdiph/ai)
  211. endphoneme
  212. phoneme Oi // ဢွႆ
  213. vwl starttype #o endtype #i
  214. length 200
  215. ipa ɔi
  216. FMT(vdiph/ooi_3)
  217. endphoneme
  218. phoneme aW
  219. vwl starttype #a endtype #u
  220. length 200
  221. ipa aɯ
  222. FMT(vdiph/aau_4)
  223. endphoneme