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_dutch 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. //=========================================================
  2. // Dutch
  3. //=========================================================
  4. // Vowels
  5. //=======
  6. phoneme @ // Schwa
  7. vowel starttype #@ endtype #@
  8. unstressed
  9. length 125
  10. FMT(vowel/@_4)
  11. endphoneme
  12. phoneme i
  13. vowel starttype #i endtype #i
  14. length 160
  15. IF prevPh(w) THEN
  16. VowelStart(w/wi2)
  17. ENDIF
  18. FMT(vowel/i_2)
  19. endphoneme
  20. phoneme I
  21. vowel starttype #i endtype #i
  22. length 130
  23. FMT(vowel/ii)
  24. endphoneme
  25. phoneme y
  26. vowel starttype #u endtype #u
  27. length 180
  28. FMT(vowel/y)
  29. endphoneme
  30. phoneme 8
  31. vowel starttype #u endtype #u
  32. length 140
  33. FMT(vowel/y#)
  34. endphoneme
  35. phoneme u
  36. vowel starttype #u endtype #u
  37. length 150
  38. FMT(vowel/u_bck)
  39. endphoneme
  40. phoneme E
  41. vowel starttype #e endtype #e
  42. length 140
  43. FMT(vowel/e_mid2)
  44. endphoneme
  45. phoneme E2 // as[E] but reduces to @ if unstressed
  46. vowel starttype #e endtype #e
  47. length 140
  48. ChangeIfDiminished(@)
  49. FMT(vowel/ee_2)
  50. endphoneme
  51. phoneme O
  52. vowel starttype #o endtype #o
  53. length 140
  54. FMT(vowel/o_6)
  55. endphoneme
  56. phoneme O: // for "oor"
  57. vowel starttype #o endtype #o
  58. length 210
  59. FMT(vowel/o_6)
  60. endphoneme
  61. phoneme a:
  62. vowel starttype #a endtype #a
  63. length 210
  64. IF thisPh(isUnstressed) THEN
  65. IF thisPh(isWordEnd) THEN
  66. FMT(vowel/a#_2)
  67. ELSE
  68. FMT(vowel/a#_4)
  69. ENDIF
  70. ENDIF
  71. FMT(vowel/a)
  72. endphoneme
  73. phoneme A
  74. vowel starttype #a endtype #a
  75. length 160
  76. IF thisPh(isUnstressed) THEN
  77. FMT(vowel/a#_2)
  78. ENDIF
  79. FMT(vowel/aa_7)
  80. endphoneme
  81. phoneme A~
  82. import_phoneme fr/A~
  83. endphoneme
  84. phoneme O~
  85. vowel starttype #o endtype #o
  86. length 190
  87. FMT(vnasal/oo_n2)
  88. endphoneme
  89. // Diphthongs
  90. //===========
  91. phoneme e:
  92. vowel starttype #e endtype #i
  93. length 190
  94. FMT(vdiph/ei)
  95. endphoneme
  96. phoneme e# // as [e:] but change to [@] in unstressed syllables
  97. vowel starttype #e endtype #i
  98. length 190
  99. ChangeIfUnstressed(@)
  100. ChangePhoneme(e:)
  101. endphoneme
  102. phoneme Y:
  103. vowel starttype #@ endtype #@
  104. length 220
  105. FMT(vdiph/y#y_3)
  106. endphoneme
  107. phoneme o:
  108. vowel starttype #o endtype #u
  109. length 200
  110. FMT(vdiph/ou_4)
  111. endphoneme
  112. phoneme EI
  113. vowel starttype #a endtype #i
  114. length 210
  115. FMT(vdiph/eei)
  116. endphoneme
  117. phoneme Wy
  118. vowel starttype #@ endtype #u
  119. length 220
  120. FMT(vdiph/&y)
  121. endphoneme
  122. phoneme VU
  123. vowel starttype #a endtype #o
  124. length 220
  125. FMT(vdiph/aau_2)
  126. endphoneme
  127. phoneme eU
  128. vowel starttype #e endtype #u
  129. length 220
  130. FMT(vdiph/eu)
  131. endphoneme
  132. phoneme yU
  133. vowel starttype #u endtype #u
  134. length 220
  135. FMT(vdiph2/yu)
  136. endphoneme
  137. // CONSONANTS
  138. //===========
  139. phoneme r
  140. import_phoneme base/R2
  141. endphoneme
  142. phoneme Q
  143. vcd vel frc
  144. lengthmod 6
  145. voicingswitch x
  146. Vowelin f1=2 f2=2300 200 300 f3=-300 80
  147. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  148. IF prevPhW(x) THEN
  149. ChangePhoneme(NULL)
  150. ENDIF
  151. IF nextPhW(isVoiced) THEN
  152. ELSE
  153. ChangePhoneme(x)
  154. ENDIF
  155. IF nextPh(isPause2) THEN
  156. FMT(voc/Q_) addWav(vocw/Q_)
  157. ENDIF
  158. FMT(voc/Q_less) addWav(vocw/Q2, 140)
  159. endphoneme
  160. phoneme ! // Short pause, replaces assimilated t,d,p,b at end of word
  161. pause
  162. ipa NULL
  163. starttype _ endtype _
  164. lengthmod 1
  165. length 25
  166. endphoneme
  167. phoneme k
  168. import_phoneme consonants/k- // unaspirated
  169. endphoneme
  170. phoneme t
  171. IF thisPh(isWordEnd) THEN
  172. IF nextPh(t) OR nextPh(d) THEN
  173. ChangePhoneme(!)
  174. ENDIF
  175. ENDIF
  176. CALL consonants/t-
  177. endphoneme
  178. phoneme d
  179. IF thisPh(isWordEnd) THEN
  180. IF nextPh(t) OR nextPh(d) THEN
  181. ChangePhoneme(!)
  182. ENDIF
  183. ENDIF
  184. IF prevPh(!) THEN // previous was [t] or [d], now assimilated
  185. ChangePhoneme(t)
  186. ENDIF
  187. CALL base/d
  188. endphoneme
  189. phoneme p
  190. IF thisPh(isWordEnd) THEN
  191. IF nextPh(p) OR nextPh(b) THEN
  192. ChangePhoneme(!)
  193. ENDIF
  194. ENDIF
  195. CALL consonants/p- // unaspirated
  196. endphoneme
  197. phoneme b
  198. IF thisPh(isWordEnd) THEN
  199. IF nextPh(p) OR nextPh(b) THEN
  200. ChangePhoneme(!)
  201. ENDIF
  202. ENDIF
  203. IF prevPh(!) THEN // previous was [p] or [b], now assimilated
  204. ChangePhoneme(p)
  205. ENDIF
  206. CALL base/b
  207. endphoneme
  208. phoneme s
  209. IF thisPh(isWordEnd) THEN
  210. IF nextPh(s) OR nextPh(z) THEN
  211. ChangePhoneme(!)
  212. ENDIF
  213. ENDIF
  214. CALL base/s // unaspirated
  215. endphoneme
  216. phoneme z
  217. IF thisPh(isWordEnd) THEN
  218. IF nextPh(s) OR nextPh(z) THEN
  219. ChangePhoneme(!)
  220. ENDIF
  221. ENDIF
  222. IF prevPh(!) THEN // previous was [s] or [z], now assimilated
  223. ChangePhoneme(s)
  224. ENDIF
  225. CALL base/s
  226. endphoneme