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

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