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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418
  1. phoneme t2 // [t] which doesn't reduce
  2. import_phoneme base/t
  3. endphoneme
  4. phoneme t# // reduced [t] as in "city"
  5. vcd alv stop
  6. lengthmod 5
  7. Vowelin f1=1 f2=1700 -300 300 f3=-100 80
  8. Vowelout f1=2 f2=1700 -300 300 f3=-100 80
  9. IF KlattSynth THEN
  10. IF PreVoicing THEN
  11. FMT(klatt/x_tap)
  12. ENDIF
  13. FMT(klatt/tap2) addWav(x/d, 70)
  14. ENDIF
  15. IF PreVoicing THEN
  16. FMT(d/x_tap)
  17. ENDIF
  18. FMT(d/tap2) addWav(x/d, 70)
  19. endphoneme
  20. phoneme l // use dark [l/2] before not-vowel
  21. liquid
  22. lengthmod 7
  23. IF nextPh(isNotVowel) THEN
  24. ChangePhoneme(l/2)
  25. ENDIF
  26. CALL base/l
  27. endphoneme
  28. phoneme g-
  29. vcd vel stop
  30. lengthmod 5
  31. Vowelin f1=2 f2=2300 200 300 f3=-300 80
  32. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  33. IF PreVoicing THEN
  34. FMT(g/xg)
  35. ENDIF
  36. IF nextPh(isPause2) THEN
  37. FMT(g/g_) addWav(x/g2_)
  38. ENDIF
  39. FMT(g/g) addWav(x/g2_)
  40. endphoneme
  41. phoneme r- // linking r, used in English between certain vowels and a following vowel
  42. liquid rhotic
  43. lengthmod 0
  44. NextVowelStarts
  45. VowelStart(r2/r2@)
  46. VowelStart(r2/r2a)
  47. VowelStart(r2/r2e)
  48. VowelStart(r2/r2i)
  49. VowelStart(r2/r2o)
  50. VowelStart(r2/r2u)
  51. EndSwitch
  52. IF prevPh(isVowel) THEN
  53. VowelEnding(r/xr, -60)
  54. ENDIF
  55. FMT(r/r)
  56. endphoneme
  57. //*******************************************************************
  58. // VOWELS
  59. //*******************************************************************
  60. phoneme @ // Schwa
  61. vowel starttype #@ endtype #@
  62. unstressed
  63. length 140
  64. IfNextVowelAppend(r-)
  65. FMT(vowel/@)
  66. endphoneme
  67. phoneme 3 // Schwa, used for rhotic schwa in American
  68. vowel starttype #@ endtype #@
  69. unstressed
  70. length 140
  71. IfNextVowelAppend(r-)
  72. FMT(vowel/@)
  73. endphoneme
  74. phoneme @2 // Schwa, changes to I before a vowel
  75. vowel starttype #@ endtype #@
  76. unstressed
  77. length 120
  78. IF nextPh(isVowel) THEN
  79. ChangePhoneme(I2)
  80. ENDIF
  81. FMT(vowel/@)
  82. endphoneme
  83. phoneme @5 // Schwa, changes to U before a vowel
  84. vowel starttype #@ endtype #@
  85. unstressed
  86. length 140
  87. IF nextPh(isVowel) OR nextPh(isPause) THEN
  88. ChangePhoneme(U)
  89. ENDIF
  90. FMT(vowel/@)
  91. endphoneme
  92. phoneme @L
  93. vowel starttype #@ endtype l
  94. unstressed
  95. length 160
  96. CALL vowelstart_l
  97. FMT(vwl_en/@L)
  98. endphoneme
  99. phoneme a
  100. vowel starttype #a endtype #a
  101. length 150
  102. ChangeIfDiminished(a2)
  103. FMT(vowel/a)
  104. endphoneme
  105. phoneme a2
  106. vowel starttype #@ endtype #@
  107. unstressed
  108. length 150
  109. FMT(vowel/a#_3)
  110. endphoneme
  111. phoneme aa // 'bath' etc.
  112. vowel starttype #a endtype #a
  113. length 150
  114. IfNextVowelAppend(r-)
  115. FMT(vowel/a)
  116. endphoneme
  117. phoneme E
  118. vowel starttype #e endtype #e
  119. length 140
  120. ChangeIfDiminished(I2)
  121. FMT(vowel/ee_5)
  122. endphoneme
  123. phoneme I
  124. vowel starttype #i endtype #i
  125. length 130
  126. IfNextVowelAppend(;)
  127. FMT(vowel/ii_2)
  128. endphoneme
  129. phoneme I2
  130. vowel starttype #i endtype #i
  131. unstressed
  132. length 130
  133. IfNextVowelAppend(;)
  134. FMT(vowel/ii_4)
  135. endphoneme
  136. phoneme i // optional variant of [I] for end of words
  137. vowel starttype #i endtype #i
  138. length 140
  139. IfNextVowelAppend(;)
  140. FMT(vowel/ii_en)
  141. endphoneme
  142. phoneme 0
  143. vowel starttype #o endtype #o
  144. length 140
  145. ChangeIfDiminished(@)
  146. FMT(vowel/0)
  147. endphoneme
  148. phoneme V
  149. vowel starttype #a endtype #@
  150. length 140
  151. ChangeIfDiminished(@)
  152. FMT(vowel/V_2)
  153. endphoneme
  154. phoneme U
  155. vowel starttype #o endtype #o
  156. length 150
  157. FMT(vowel/uu)
  158. endphoneme
  159. phoneme A:
  160. vowel starttype #a endtype #a
  161. length 230
  162. IfNextVowelAppend(r-)
  163. FMT(vowel/aa_2)
  164. endphoneme
  165. phoneme A@ // Used for [A:] when followed by 'r'
  166. vowel starttype #a endtype #a
  167. length 230
  168. IfNextVowelAppend(r-)
  169. FMT(vowel/aa_2)
  170. endphoneme
  171. phoneme 3:
  172. vowel starttype #@ endtype #@
  173. length 210
  174. IfNextVowelAppend(r-)
  175. ChangeIfDiminished(@)
  176. FMT(vowel/3_en)
  177. endphoneme
  178. phoneme i:
  179. vowel starttype #i endtype #i
  180. length 175
  181. IfNextVowelAppend(;)
  182. IF prevPh(w) THEN
  183. VowelStart(w/wi2)
  184. ENDIF
  185. FMT(vowel/i_en)
  186. endphoneme
  187. phoneme O:
  188. vowel starttype #o endtype #o
  189. length 230
  190. ChangeIfDiminished(@)
  191. FMT(vowel/oo_en)
  192. endphoneme
  193. phoneme O
  194. vowel starttype #o endtype #o
  195. length 200
  196. ChangeIfDiminished(@)
  197. FMT(vowel/oo_en)
  198. endphoneme
  199. phoneme O@
  200. vowel starttype #o endtype #o
  201. length 240
  202. IfNextVowelAppend(r-)
  203. FMT(vowel/oo_en)
  204. endphoneme
  205. phoneme o@
  206. vowel starttype #o endtype #o
  207. length 250
  208. IfNextVowelAppend(r-)
  209. FMT(vowel/oo_en)
  210. endphoneme
  211. phoneme u:
  212. vowel starttype #u endtype #u
  213. length 210
  214. IF nextPh(l/2) THEN
  215. FMT(vwl_en/u_L)
  216. ENDIF
  217. FMT(vdiph2/uw_2)
  218. endphoneme
  219. phoneme aU
  220. vowel starttype #a endtype #u
  221. length 230
  222. FMT(vdiph/au)
  223. endphoneme
  224. phoneme oU
  225. vowel starttype #@ endtype #u
  226. length 220
  227. FMT(vdiph/@u_en)
  228. endphoneme
  229. phoneme aI
  230. vowel starttype #a endtype #i
  231. length 230
  232. FMT(vdiph/ai_2)
  233. endphoneme
  234. phoneme eI
  235. vowel starttype #e endtype #i
  236. length 210
  237. FMT(vdiph/eei)
  238. endphoneme
  239. phoneme OI
  240. vowel starttype #o endtype #i
  241. length 230
  242. FMT(vdiph/ooi)
  243. endphoneme
  244. phoneme e@
  245. vowel starttype #e endtype #@
  246. length 230
  247. IfNextVowelAppend(r-)
  248. FMT(vowel/ee_1)
  249. endphoneme
  250. phoneme i@
  251. vowel starttype #i endtype #@
  252. length 250
  253. IfNextVowelAppend(r-)
  254. FMT(vdiph2/ii@)
  255. endphoneme
  256. phoneme i@3
  257. vowel starttype #i endtype #@
  258. length 250
  259. IfNextVowelAppend(r-)
  260. FMT(vdiph2/ii@)
  261. endphoneme
  262. phoneme U@
  263. vowel starttype #u endtype #@
  264. length 200
  265. IfNextVowelAppend(r-)
  266. FMT(vdiph2/uu@)
  267. endphoneme
  268. phoneme aI@
  269. vowel starttype #a endtype #@
  270. length 270
  271. IfNextVowelAppend(r-)
  272. FMT(vwl_en/aI@)
  273. endphoneme
  274. phoneme aU@
  275. vowel starttype #a endtype #@
  276. length 270
  277. IfNextVowelAppend(r-)
  278. FMT(vwl_en/aU@)
  279. endphoneme
  280. phoneme IR // used for "ir" when [3:] is split (Scottish)
  281. vowel starttype #@ endtype #@
  282. length 190
  283. IfNextVowelAppend(r-)
  284. FMT(vowelr/V_r)
  285. endphoneme
  286. phoneme VR // used for "or"/"ur" when [3:] is split (Scottish)
  287. vowel starttype #@ endtype #@
  288. length 210
  289. IfNextVowelAppend(r-)
  290. FMT(vowelr/V3_r)
  291. endphoneme
  292. phoneme o:
  293. vowel starttype #o endtype #o
  294. length 220
  295. FMT(vowel/o)
  296. endphoneme
  297. phoneme A~
  298. vowel starttype #a endtype #a
  299. length 260
  300. FMT(vnasal/aa_n2)
  301. endphoneme
  302. phoneme O~
  303. vowel starttype #o endtype #o
  304. length 240
  305. FMT(vnasal/oo_n2)
  306. endphoneme
  307. phoneme e:
  308. vowel starttype #e endtype #e
  309. length 210
  310. FMT(vowel/e)
  311. endphoneme