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.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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 170
  13. ChangeIfDiminished(a2)
  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 V
  48. vowel starttype #o endtype #o
  49. length 140
  50. ChangeIfDiminished(@)
  51. FMT(vowel/o-_2)
  52. endphoneme
  53. phoneme U
  54. vowel starttype #u endtype #u
  55. length 150
  56. IfNextVowelAppend(_|)
  57. FMT(vowel/uu)
  58. endphoneme
  59. phoneme a2
  60. vowel starttype #@ endtype #@
  61. unstressed
  62. length 140
  63. FMT(vowel/a#_3)
  64. endphoneme
  65. phoneme A:
  66. vowel starttype #a endtype #a
  67. length 240
  68. IfNextVowelAppend(r-)
  69. FMT(vowel/aa_5)
  70. endphoneme
  71. phoneme A@
  72. vowel starttype #a endtype #a
  73. length 240
  74. IfNextVowelAppend(r-)
  75. FMT(vowel/aa_5)
  76. endphoneme
  77. phoneme aa // 'bath' etc.
  78. vowel starttype #a endtype #a
  79. length 150
  80. FMT(vowel/a)
  81. endphoneme
  82. phoneme 3:
  83. vowel starttype #@ endtype #@
  84. length 250
  85. ChangeIfDiminished(@)
  86. IfNextVowelAppend(r-)
  87. FMT(vowel/y#)
  88. endphoneme
  89. phoneme i:
  90. vowel starttype #e endtype #i
  91. length 220
  92. IfNextVowelAppend(;)
  93. FMT(vdiph2/ei_3)
  94. endphoneme
  95. phoneme O:
  96. vowel starttype #o endtype #o
  97. length 240
  98. ChangeIfDiminished(@)
  99. IfNextVowelAppend(r-)
  100. FMT(vowel/oo_1)
  101. endphoneme
  102. phoneme O@
  103. vowel starttype #o endtype #@
  104. length 240
  105. IfNextVowelAppend(r-)
  106. FMT(vowel/oo_1)
  107. endphoneme
  108. phoneme O
  109. vowel starttype #o endtype #o
  110. length 150
  111. ChangeIfDiminished(@)
  112. FMT(vowel/oo_1)
  113. endphoneme
  114. phoneme u:
  115. vowel starttype #u endtype #u
  116. length 200
  117. FMT(vdiph/@u)
  118. endphoneme
  119. phoneme aU
  120. vowel starttype #a endtype #u
  121. length 230
  122. FMT(vdiph/eeu_3)
  123. endphoneme
  124. phoneme oU
  125. vowel starttype #@ endtype #u
  126. length 220
  127. FMT(vdiph/Vu_2)
  128. endphoneme
  129. phoneme aI
  130. vowel starttype #o endtype #i
  131. length 240
  132. FMT(vdiph/ooi_3)
  133. endphoneme
  134. phoneme eI
  135. vowel starttype #@ endtype #i
  136. length 240
  137. FMT(vdiph/@i_3)
  138. endphoneme
  139. phoneme OI
  140. vowel starttype #o endtype #i
  141. length 230
  142. FMT(vdiph/oi)
  143. endphoneme
  144. phoneme e@
  145. vowel starttype #@ endtype #@
  146. length 240
  147. IfNextVowelAppend(r-)
  148. FMT(vowel/3_en)
  149. endphoneme
  150. phoneme i@
  151. vowel starttype #i endtype #@
  152. length 240
  153. IfNextVowelAppend(r-)
  154. FMT(vdiph2/i@_2)
  155. endphoneme
  156. phoneme U@
  157. vowel starttype #u endtype #@
  158. length 200
  159. IfNextVowelAppend(r-)
  160. FMT(vdiph2/uu@)
  161. endphoneme
  162. phoneme aI@
  163. vowel starttype #a endtype #@
  164. length 270
  165. IfNextVowelAppend(r-)
  166. FMT(vwl_en/ooi@)
  167. endphoneme
  168. phoneme aU@
  169. vowel starttype #a endtype #@
  170. length 270
  171. IfNextVowelAppend(r-)
  172. FMT(vwl_en/aU@)
  173. endphoneme