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_n 4.1KB

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