ph_zh_yue 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. //====================================================
  2. // Tone Numbers
  3. //====================================================
  4. phoneme 1 // tone: high level
  5. stress
  6. Tone(50, 50, envelope/p_level, NULL)
  7. endphoneme
  8. phoneme 2 // tone: rise
  9. stress
  10. Tone(30, 50, envelope/p_rise, NULL)
  11. endphoneme
  12. phoneme 3 // tone: mid level
  13. stress
  14. Tone(30, 30, envelope/p_level, NULL)
  15. endphoneme
  16. phoneme 4 // tone: low fall
  17. stress
  18. Tone(20, 10, envelope/p_fall, NULL)
  19. endphoneme
  20. phoneme 5 // tone: low rise
  21. stress
  22. Tone(10, 30, envelope/p_rise, NULL)
  23. endphoneme
  24. phoneme 6 // tone: low level
  25. stress
  26. Tone(20, 20, envelope/p_level, NULL)
  27. endphoneme
  28. phoneme 7 // tone: high fall
  29. stress
  30. Tone(50, 30, envelope/p_fall, NULL)
  31. endphoneme
  32. //====================================================
  33. // Consonants
  34. //====================================================
  35. phoneme z // [ts]
  36. vls alv afr sib
  37. lengthmod 2
  38. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  39. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  40. WAV(ustop/ts)
  41. endphoneme
  42. phoneme c // [tS]
  43. vls pla afr sib
  44. lengthmod 2
  45. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  46. IF nextPh(isPause2) THEN
  47. WAV(ustop/tsh_)
  48. ENDIF
  49. WAV(ustop/tsh)
  50. endphoneme
  51. phoneme k
  52. vls vel stp
  53. lengthmod 2
  54. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  55. Vowelout f1=1 f2=2300 300 400 f3=-200 80 rms=20
  56. IF nextPh(isPause2) THEN
  57. WAV(NULL)
  58. ENDIF
  59. IF nextPh(#i) THEN
  60. WAV(ustop/ki)
  61. ENDIF
  62. IF nextPh(r) OR nextPh(R) THEN
  63. WAV(ustop/kr)
  64. ENDIF
  65. IF nextPh(l) THEN
  66. WAV(ustop/kl)
  67. ENDIF
  68. IF nextPh(@-) THEN
  69. WAV(ustop/k_unasp,70)
  70. ENDIF
  71. WAV(ustop/k)
  72. endphoneme
  73. phoneme p
  74. vls blb stp
  75. lengthmod 2
  76. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 rms=30
  77. Vowelout f1=1 f2=1000 -500 -350 f3=-300 80 rms=22
  78. IF nextPh(isPause2) THEN
  79. WAV(NULL)
  80. ENDIF
  81. WAV(ustop/p)
  82. endphoneme
  83. phoneme t
  84. vls alv stp
  85. lengthmod 2
  86. Vowelin f1=0 f2=1700 -300 300 f3=100 80
  87. Vowelout f1=1 f2=1700 -300 250 f3=-100 80 rms=20
  88. IF nextPh(isPause2) THEN
  89. WAV(NULL)
  90. ENDIF
  91. WAV(ustop/t)
  92. endphoneme
  93. //====================================================
  94. // Vowels and Diphtnongs
  95. //====================================================
  96. phoneme aa
  97. vwl starttype #a endtype #a
  98. length 230
  99. FMT(vowel/aa)
  100. endphoneme
  101. phoneme aai
  102. vwl starttype #a endtype #i
  103. length 270
  104. FMT(vdiph/aai)
  105. endphoneme
  106. phoneme aau
  107. vwl starttype #a endtype #u
  108. length 260
  109. FMT(vdiph/aau_2)
  110. endphoneme
  111. phoneme ang
  112. vwl starttype #a endtype #a
  113. length 220
  114. FMT(vwl_zh/ang)
  115. endphoneme
  116. phoneme aang
  117. vwl starttype #a endtype #a
  118. length 270
  119. FMT(vwl_zh/aang)
  120. endphoneme
  121. phoneme a
  122. vwl starttype #@ endtype #@
  123. length 150
  124. FMT(vowel/a#_3)
  125. endphoneme
  126. phoneme ai
  127. vwl starttype #@ endtype #i
  128. length 200
  129. FMT(vdiph/@i_3)
  130. endphoneme
  131. phoneme au
  132. vwl starttype #a endtype #u
  133. length 200
  134. FMT(vdiph/au_2)
  135. endphoneme
  136. phoneme e
  137. vwl starttype #e endtype #e
  138. length 220
  139. FMT(vowel/ee_1)
  140. endphoneme
  141. phoneme ei
  142. vwl starttype #e endtype #i
  143. length 220
  144. FMT(vdiph/ei)
  145. endphoneme
  146. phoneme eng
  147. vwl starttype #e endtype #e
  148. length 220
  149. FMT(vwl_zh/eng)
  150. endphoneme
  151. phoneme eu
  152. vwl starttype #e endtype #u
  153. length 260
  154. FMT(vdiph/eeu)
  155. endphoneme
  156. phoneme i
  157. vwl starttype #i endtype #i
  158. length 190
  159. IfNextVowelAppend(;)
  160. IF nextPhW(k) OR nextPhW(N) THEN
  161. length 150
  162. FMT(vowel/ii)
  163. ENDIF
  164. FMT(vowel/i)
  165. endphoneme
  166. phoneme ing
  167. vwl starttype #i endtype #i
  168. length 220
  169. FMT(vwl_zh/ing)
  170. endphoneme
  171. phoneme iu
  172. vwl starttype #i endtype #u
  173. length 200
  174. FMT(vdiph2/iu)
  175. endphoneme
  176. phoneme ng // synonym for [N]
  177. vwl // starttype ng endtype ng
  178. length 350
  179. IF nextPh(isVowel) THEN
  180. ChangePhoneme(N)
  181. ENDIF
  182. FMT(vwl_zh/ng)
  183. endphoneme
  184. phoneme o
  185. vwl starttype #o endtype #o
  186. length 170
  187. FMT(vowel/oo)
  188. endphoneme
  189. phoneme oeng
  190. vwl starttype #o endtype #e
  191. length 280
  192. FMT(vwl_zh/oeng)
  193. endphoneme
  194. phoneme oi
  195. vwl starttype #o endtype #i
  196. length 200
  197. FMT(vdiph/ooi)
  198. endphoneme
  199. phoneme ou
  200. vwl starttype #o endtype #u
  201. length 200
  202. FMT(vdiph/ou)
  203. endphoneme
  204. phoneme ong
  205. vwl starttype #o endtype #o
  206. length 220
  207. FMT(vwl_zh/ong)
  208. endphoneme
  209. phoneme u
  210. vwl starttype #u endtype #u
  211. length 170
  212. IF nextPhW(k) OR nextPhW(N) THEN
  213. FMT(vowel/uu_bck)
  214. ENDIF
  215. FMT(vowel/u_bck)
  216. endphoneme
  217. phoneme ung
  218. vwl starttype #u endtype #u
  219. length 200
  220. FMT(vwl_zh/ung)
  221. endphoneme
  222. phoneme ui
  223. vwl starttype #u endtype #i
  224. length 220
  225. FMT(vdiph/ui)
  226. endphoneme
  227. phoneme oe
  228. vwl starttype #@ endtype #@
  229. length 230
  230. FMT(vowel/y#)
  231. endphoneme
  232. phoneme eo
  233. vwl starttype #@ endtype #@
  234. length 170
  235. FMT(vowel/8_3)
  236. endphoneme
  237. phoneme eoi
  238. vwl starttype #@ endtype #i
  239. length 220
  240. FMT(vdiph/y#y_2)
  241. endphoneme
  242. phoneme yu
  243. vwl starttype #u endtype #u
  244. length 220
  245. FMT(vowel/y)
  246. endphoneme