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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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. ChangeIfUnstressed(@)
  95. FMT(vdiph/ei)
  96. endphoneme
  97. phoneme Y:
  98. vowel starttype #@ endtype #@
  99. length 220
  100. FMT(vdiph/y#y_3)
  101. endphoneme
  102. phoneme o:
  103. vowel starttype #o endtype #u
  104. length 200
  105. FMT(vdiph/ou_4)
  106. endphoneme
  107. phoneme EI
  108. vowel starttype #a endtype #i
  109. length 210
  110. FMT(vdiph/eei)
  111. endphoneme
  112. phoneme Wy
  113. vowel starttype #@ endtype #u
  114. length 220
  115. FMT(vdiph/&y)
  116. endphoneme
  117. phoneme VU
  118. vowel starttype #a endtype #o
  119. length 220
  120. FMT(vdiph/aau_2)
  121. endphoneme
  122. phoneme eU
  123. vowel starttype #e endtype #u
  124. length 220
  125. FMT(vdiph/eu)
  126. endphoneme
  127. phoneme yU
  128. vowel starttype #u endtype #u
  129. length 220
  130. FMT(vdiph2/yu)
  131. endphoneme
  132. // CONSONANTS
  133. //===========
  134. phoneme r
  135. import_phoneme base/R2
  136. endphoneme
  137. phoneme Q
  138. vcd vel frc
  139. lengthmod 6
  140. voicingswitch x
  141. Vowelin f1=2 f2=2300 200 300 f3=-300 80
  142. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  143. IF prevPhW(x) THEN
  144. ChangePhoneme(NULL)
  145. ENDIF
  146. IF nextPhW(isVoiced) THEN
  147. ELSE
  148. ChangePhoneme(x)
  149. ENDIF
  150. IF nextPh(isPause2) THEN
  151. FMT(voc/Q_) addWav(vocw/Q_)
  152. ENDIF
  153. FMT(voc/Q_less) addWav(vocw/Q2, 140)
  154. endphoneme
  155. phoneme ! // Short pause, replaces assimilated t,d,p,b at end of word
  156. pause
  157. ipa NULL
  158. starttype _ endtype _
  159. lengthmod 1
  160. length 25
  161. endphoneme
  162. phoneme k
  163. import_phoneme consonants/k- // unaspirated
  164. endphoneme
  165. phoneme t
  166. IF thisPh(isWordEnd) THEN
  167. IF nextPh(t) OR nextPh(d) THEN
  168. ChangePhoneme(!)
  169. ENDIF
  170. ENDIF
  171. CALL consonants/t-
  172. endphoneme
  173. phoneme d
  174. IF thisPh(isWordEnd) THEN
  175. IF nextPh(t) OR nextPh(d) THEN
  176. ChangePhoneme(!)
  177. ENDIF
  178. ENDIF
  179. IF prevPh(!) THEN // previous was [t] or [d], now assimilated
  180. ChangePhoneme(t)
  181. ENDIF
  182. CALL base/d
  183. endphoneme
  184. phoneme p
  185. IF thisPh(isWordEnd) THEN
  186. IF nextPh(p) OR nextPh(b) THEN
  187. ChangePhoneme(!)
  188. ENDIF
  189. ENDIF
  190. CALL consonants/p- // unaspirated
  191. endphoneme
  192. phoneme b
  193. IF thisPh(isWordEnd) THEN
  194. IF nextPh(p) OR nextPh(b) THEN
  195. ChangePhoneme(!)
  196. ENDIF
  197. ENDIF
  198. IF prevPh(!) THEN // previous was [p] or [b], now assimilated
  199. ChangePhoneme(p)
  200. ENDIF
  201. CALL base/b
  202. endphoneme
  203. phoneme s
  204. IF thisPh(isWordEnd) THEN
  205. IF nextPh(s) OR nextPh(z) THEN
  206. ChangePhoneme(!)
  207. ENDIF
  208. ENDIF
  209. CALL base/s // unaspirated
  210. endphoneme
  211. phoneme z
  212. IF thisPh(isWordEnd) THEN
  213. IF nextPh(s) OR nextPh(z) THEN
  214. ChangePhoneme(!)
  215. ENDIF
  216. ENDIF
  217. IF prevPh(!) THEN // previous was [s] or [z], now assimilated
  218. ChangePhoneme(s)
  219. ENDIF
  220. CALL base/s
  221. endphoneme