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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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 150
  54. FMT(vowel/o_5)
  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/Vu_3)
  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 // from Afrikaans
  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