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_english_wm 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. phoneme N
  2. vcd vel nas
  3. lengthmod 8 // longer than 'n'
  4. IfNextVowelAppend(g)
  5. CALL base1/N
  6. endphoneme
  7. //*******************************************************************
  8. // VOWELS
  9. //*******************************************************************
  10. phoneme a
  11. vwl starttype #a endtype #a
  12. length 160
  13. ChangeIfDiminished(a#)
  14. FMT(vowel/a)
  15. endphoneme
  16. phoneme E
  17. vwl starttype #e endtype #e
  18. length 150
  19. IF nextPhW(n) THEN
  20. ChangeIfDiminished(@)
  21. ELSE
  22. ChangeIfDiminished(I2)
  23. ENDIF
  24. FMT(vowel/e)
  25. endphoneme
  26. phoneme I
  27. vwl starttype #i endtype #i
  28. length 140
  29. IfNextVowelAppend(;)
  30. IF nextPh(l) OR nextPh(l/2) THEN
  31. FMT(vowel/ii)
  32. ENDIF
  33. FMT(vowel/ii_6)
  34. endphoneme
  35. phoneme I2
  36. import_phoneme I
  37. unstressed
  38. endphoneme
  39. phoneme I# // used for [I] which may be [@] in some accents
  40. vwl starttype #i endtype #i
  41. unstressed
  42. length 130
  43. IF MbrolaSynth THEN
  44. ChangePhoneme(I)
  45. ENDIF
  46. IfNextVowelAppend(;)
  47. ChangePhoneme(I2)
  48. endphoneme
  49. phoneme i // optional variant of [I] for end of words
  50. vwl starttype #i endtype #i
  51. length 220
  52. IfNextVowelAppend(;)
  53. FMT(vowel/i)
  54. endphoneme
  55. phoneme 0
  56. vwl starttype #o endtype #o
  57. length 140
  58. ChangeIfDiminished(@)
  59. FMT(vowel/oo_4)
  60. endphoneme
  61. phoneme 02 // becomes V in en-us
  62. vwl starttype #o endtype #o
  63. length 140
  64. ChangePhoneme(V)
  65. endphoneme
  66. phoneme V
  67. vwl starttype #o endtype #o
  68. ipa ʊ
  69. length 140
  70. ChangeIfDiminished(@)
  71. FMT(vowel/o-_2)
  72. endphoneme
  73. phoneme U
  74. vwl starttype #u endtype #u
  75. length 150
  76. IfNextVowelAppend(_|)
  77. FMT(vowel/uu)
  78. endphoneme
  79. phoneme a#
  80. vwl starttype #@ endtype #@
  81. ipa ɐ
  82. unstressed
  83. length 140
  84. FMT(vowel/a#_3)
  85. endphoneme
  86. phoneme A:
  87. vwl starttype #a endtype #a
  88. length 240
  89. IfNextVowelAppend(r-)
  90. FMT(vowel/aa_5)
  91. endphoneme
  92. phoneme A@
  93. vwl starttype #a endtype #a
  94. ipa ɑː
  95. length 240
  96. IfNextVowelAppend(r-)
  97. FMT(vowel/aa_5)
  98. endphoneme
  99. phoneme aa // 'bath' etc.
  100. vwl starttype #a endtype #a
  101. ipa a
  102. length 160
  103. FMT(vowel/a)
  104. endphoneme
  105. phoneme 3:
  106. vwl starttype #@ endtype #@
  107. length 250
  108. ChangeIfDiminished(@)
  109. IfNextVowelAppend(r-)
  110. FMT(vowel/y#)
  111. endphoneme
  112. phoneme i:
  113. vwl starttype #e endtype #i
  114. ipa ei
  115. length 220
  116. IfNextVowelAppend(;)
  117. FMT(vdiph2/ei_3)
  118. endphoneme
  119. phoneme O:
  120. vwl starttype #o endtype #o
  121. length 240
  122. ChangeIfDiminished(@)
  123. IfNextVowelAppend(r-)
  124. FMT(vowel/oo_1)
  125. endphoneme
  126. phoneme O@
  127. vwl starttype #o endtype #@
  128. ipa ɔː
  129. length 240
  130. IfNextVowelAppend(r-)
  131. FMT(vowel/oo_1)
  132. endphoneme
  133. phoneme O
  134. vwl starttype #o endtype #o
  135. length 150
  136. ChangeIfDiminished(@)
  137. FMT(vowel/oo_1)
  138. endphoneme
  139. phoneme u:
  140. vwl starttype #u endtype #u
  141. ipa əu
  142. length 200
  143. FMT(vdiph/@u)
  144. endphoneme
  145. phoneme aU
  146. vwl starttype #a endtype #u
  147. ipa æʊ
  148. length 230
  149. FMT(vdiph/eeu_3)
  150. endphoneme
  151. phoneme oU
  152. vwl starttype #@ endtype #u
  153. ipa ʌʊ
  154. length 220
  155. FMT(vdiph/Vu_2)
  156. endphoneme
  157. phoneme aI
  158. vwl starttype #o endtype #i
  159. ipa ɔɪ
  160. length 240
  161. FMT(vdiph/ooi_3)
  162. endphoneme
  163. phoneme eI
  164. vwl starttype #@ endtype #i
  165. ipa eː
  166. length 240
  167. FMT(vdiph/@i_3)
  168. endphoneme
  169. phoneme OI
  170. vwl starttype #o endtype #i
  171. ipa oɪ
  172. length 230
  173. FMT(vdiph/oi)
  174. endphoneme
  175. phoneme e@
  176. vwl starttype #@ endtype #@
  177. ipa ɜː
  178. length 240
  179. IfNextVowelAppend(r-)
  180. FMT(vowel/3_en)
  181. endphoneme
  182. phoneme i@
  183. vwl starttype #i endtype #@
  184. length 240
  185. IfNextVowelAppend(r-)
  186. FMT(vdiph2/i@_2)
  187. endphoneme
  188. phoneme i@3
  189. vwl starttype #i endtype #@
  190. length 240
  191. IfNextVowelAppend(r-)
  192. FMT(vdiph2/i@_2)
  193. endphoneme
  194. phoneme U@
  195. vwl starttype #u endtype #@
  196. length 200
  197. IfNextVowelAppend(r-)
  198. FMT(vdiph2/uu@)
  199. endphoneme
  200. phoneme aI@
  201. vwl starttype #a endtype #@
  202. length 280
  203. IfNextVowelAppend(r-)
  204. FMT(vwl_en/ooi@)
  205. endphoneme
  206. phoneme aI3
  207. vwl starttype #a endtype #@
  208. length 280
  209. ChangePhoneme(aI@)
  210. endphoneme
  211. phoneme aU@
  212. vwl starttype #a endtype #@
  213. length 280
  214. IfNextVowelAppend(r-)
  215. FMT(vwl_en/aU@)
  216. endphoneme