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 3.6KB

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