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_afrikaans 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. //****************************************************************
  2. //redefinition of the : phoneme
  3. phoneme : // lengthen previous vowel by "length"
  4. virtual
  5. length 140
  6. endphoneme
  7. // VOWELS
  8. //****************************************************************
  9. phoneme @ // Schwa, but always unstressed
  10. vowel starttype #@ endtype #@
  11. unstressed
  12. length 140
  13. IF nextPh(r/) THEN
  14. Length 190
  15. FMT(vwl_af/r@)
  16. ENDIF
  17. FMT(vwl_af/@)
  18. endphoneme
  19. phoneme a // short A
  20. vowel starttype #a endtype #a
  21. ipa ɐ
  22. length 140
  23. FMT(vowel/V_2)
  24. endphoneme
  25. phoneme E // short E
  26. vowel starttype #e endtype #e
  27. length 140
  28. FMT(vowel/e_mid2)
  29. endphoneme
  30. phoneme I // short I, Schwa
  31. vowel starttype #@ endtype #@
  32. ipa ə
  33. length 140
  34. IF nextPh(r/) THEN
  35. Length 190
  36. FMT(vwl_af/r@)
  37. ENDIF
  38. FMT(vwl_af/I)
  39. endphoneme
  40. phoneme O // short O
  41. vowel starttype #o endtype #o
  42. length 140
  43. FMT(vowel/oo_3)
  44. endphoneme
  45. phoneme W // short U
  46. vowel starttype #@ endtype #@
  47. length 140
  48. FMT(vowel/oe)
  49. endphoneme
  50. phoneme u // short OE
  51. vowel starttype #u endtype #u
  52. length 110
  53. FMT(vowel/uu_3)
  54. endphoneme
  55. phoneme & // more open [E]
  56. vowel starttype #e endtype #e
  57. length 150
  58. IF nextPh(l/2) THEN
  59. VowelEnding(l/L_eL_af, -30)
  60. ENDIF
  61. FMT(vowel/ee_3)
  62. endphoneme
  63. phoneme &: // more open [E] longer
  64. vowel starttype #e endtype #e
  65. length 280
  66. IF nextPh(l/2) THEN
  67. VowelEnding(l/L_eL_af, -30)
  68. ENDIF
  69. FMT(vowel/ee_3)
  70. endphoneme
  71. phoneme @L // syllabic L
  72. vowel starttype #@ endtype l
  73. unstressed
  74. length 160
  75. FMT(vwl_en/@L)
  76. endphoneme
  77. phoneme A: // long A
  78. vowel starttype #a endtype #a
  79. length 280
  80. FMT(vowel/aa_3)
  81. endphoneme
  82. phoneme e@ // long E
  83. vowel starttype #i endtype #@
  84. ipa iə
  85. length 230
  86. FMT(vdiph/i@_2)
  87. endphoneme
  88. phoneme i // long I
  89. vowel starttype #i endtype #i
  90. length 100
  91. IfNextVowelAppend(;)
  92. FMT(vowel/i_3)
  93. endphoneme
  94. phoneme o@ // long O
  95. vowel starttype #u endtype #@
  96. ipa ʊə
  97. length 250
  98. FMT(vdiph2/o@)
  99. endphoneme
  100. phoneme y // long U
  101. vowel starttype #i endtype #i
  102. length 180
  103. FMT(vowel/y_3)
  104. endphoneme
  105. phoneme iu
  106. vowel starttype #i endtype #u
  107. length 220
  108. FMT(vdiph2/iu_3)
  109. endphoneme
  110. phoneme @U
  111. vowel starttype #@ endtype #u
  112. length 170
  113. FMT(vdiph/Vu)
  114. endphoneme
  115. phoneme aI
  116. vowel starttype #a endtype #i
  117. length 220
  118. IfNextVowelAppend(;)
  119. FMT(vdiph/ai_4)
  120. endphoneme
  121. phoneme AI
  122. vowel starttype #a endtype #i
  123. length 310
  124. IfNextVowelAppend(;)
  125. FMT(vdiph/aai_2)
  126. endphoneme
  127. phoneme eI
  128. vowel starttype #e endtype #i
  129. ipa ɛɪ
  130. length 170
  131. IfNextVowelAppend(;)
  132. FMT(vdiph/@i_2)
  133. endphoneme
  134. phoneme OI
  135. vowel starttype #o endtype #i
  136. length 230
  137. IfNextVowelAppend(;)
  138. FMT(vdiph/ooi_2)
  139. endphoneme
  140. phoneme oI
  141. vowel starttype #o endtype #i
  142. ipa ʊɪ
  143. length 290
  144. IfNextVowelAppend(;)
  145. FMT(vdiph/oi_2)
  146. endphoneme
  147. phoneme uI
  148. vowel starttype #u endtype #i
  149. length 240
  150. IfNextVowelAppend(;)
  151. FMT(vdiph/ui_2)
  152. endphoneme
  153. phoneme Yy
  154. vowel starttype #@ endtype #i
  155. length 220
  156. IfNextVowelAppend(;)
  157. FMT(vdiph/y#y_2)
  158. endphoneme
  159. phoneme Y@
  160. vowel starttype #i endtype #@
  161. length 210
  162. FMT(vdiph2/y#@)
  163. endphoneme
  164. phoneme aU
  165. vowel starttype #a endtype #u
  166. length 230
  167. FMT(vdiph/au)
  168. endphoneme
  169. // circumflex accent vowels
  170. phoneme e:
  171. vowel starttype #e endtype #e
  172. length 210
  173. FMT(vowel/e)
  174. endphoneme
  175. phoneme O:
  176. vowel starttype #o endtype #o
  177. length 280
  178. FMT(vowel/oo_1)
  179. endphoneme
  180. phoneme 3:
  181. vowel starttype #@ endtype #@
  182. length 230
  183. FMT(vowel/3_en)
  184. endphoneme
  185. // Nasal vowels
  186. phoneme A~
  187. vowel starttype #a endtype #a
  188. length 240
  189. FMT(vnasal/aa_n3)
  190. endphoneme
  191. phoneme e~
  192. vowel starttype #e endtype #e
  193. length 240
  194. FMT(vnasal/e_n)
  195. endphoneme
  196. phoneme o~
  197. vowel starttype #o endtype #o
  198. length 240
  199. FMT(vnasal/o_n2)
  200. endphoneme
  201. // CONSONANTS
  202. //===========
  203. phoneme x2
  204. vls vel frc
  205. Vowelin f1=0 f2=2300 200 400 f3=-100 100
  206. Vowelout f1=0 f2=2300 300 400 f3=-100 100 rms=20
  207. lengthmod 3
  208. WAV(ufric/x2, 60) // stronger version of [x]
  209. endphoneme
  210. phoneme r
  211. liquid rhotic
  212. trill
  213. lengthmod 6
  214. Vowelin f1=2 f2=2700 -300 -200 f3=-1300 80
  215. Vowelout f1=2 f2=1700 -300 -200 f3=-1300 80
  216. NextVowelStarts
  217. VowelStart(r/r@, -15)
  218. VowelStart(r/ra, -15)
  219. VowelStart(r/re, -15)
  220. VowelStart(r/ri, -15)
  221. VowelStart(r/ro, -15)
  222. VowelStart(r/ru, -15)
  223. EndSwitch
  224. IF prevPh(isVowel) THEN
  225. VowelEnding(r/xr, -50)
  226. ENDIF
  227. FMT(r3/r_trill) addWav(r3/r_trill3.wav, 100)
  228. endphoneme
  229. phoneme r/ // used for [r] when not preceding a vowel
  230. liquid
  231. lengthmod 7
  232. IF prevPh(@) OR prevPh(I) THEN
  233. ELSE
  234. FMT(r3/r_) addWav(r3/rx)
  235. ENDIF
  236. endphoneme
  237. phoneme l
  238. import_phoneme en/l
  239. endphoneme
  240. phoneme c // used in -tjie
  241. vls pal stop palatal
  242. voicingswitch g
  243. lengthmod 2
  244. Vowelin f1=0 f2=2700 400 600 f3= 200 80
  245. Vowelout f1=0 f2=2700 400 600 f3= 200 80 rms=20
  246. WAV(ustop/ki)
  247. endphoneme