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_croatian 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. phoneme S // this is letter š
  2. vls pla frc sibilant
  3. lengthmod 3
  4. voicingswitch Z
  5. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  6. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  7. IF nextPh(isPause2) THEN
  8. WAV(ufric/sh3, 90)
  9. ENDIF
  10. WAV(ufric/sh3, 110)
  11. endphoneme
  12. phoneme tS // this is letter č
  13. vls pla afr sibilant
  14. lengthmod 2
  15. voicingswitch dZ
  16. Vowelin f1=0 f2=1900 100 200 f3=-100 80
  17. IF nextPh(isPause2) THEN
  18. WAV(ustop/tsh2, 40)
  19. ENDIF
  20. WAV(ustop/tsh2, 50)
  21. endphoneme
  22. phoneme tS; // this is letter ć
  23. vls pal afr sibilant palatal
  24. lengthmod 2
  25. voicingswitch dZ;
  26. Vowelin f1=0 f2=2500 300 500 f3=300 80 rate len=70
  27. IF nextPh(isPause2) THEN
  28. WAV(ustop/ts_pzd3, 50)
  29. ENDIF
  30. WAV(ustop/ts_pzd3, 50)
  31. endphoneme
  32. phoneme Z // letter ž
  33. vcd pla frc sibilant
  34. lengthmod 6
  35. voicingswitch S
  36. Vowelin f1=0 f2=2000 0 300 f3=-200 80
  37. Vowelout f1=2 f2=2000 0 300 f3=-200 80 brk
  38. IF nextPh(isPause2) THEN
  39. FMT(voc/zh_) addWav(ufric/sh3, 80)
  40. ENDIF
  41. FMT(voc/zh) addWav(ufric/sh3, 150)
  42. endphoneme
  43. phoneme dZ //letter dž
  44. vcd pla afr sibilant
  45. lengthmod 5
  46. voicingswitch tS
  47. Vowelin f1=2 f2=1900 100 300 f3=100 80
  48. Vowelout f1=2 f2=1900 100 300 f3=100 80 brk
  49. IF PreVoicing THEN
  50. FMT(dzh/xdzh)
  51. ENDIF
  52. IF nextPh(isPause2) THEN
  53. FMT(dzh/dzh_) addWav(ustop/tsh2, 50)
  54. ENDIF
  55. FMT(dzh/dzh2) addWav(ustop/tsh2, 80)
  56. endphoneme
  57. phoneme dZ; // letter đ
  58. vcd pla afr sibilant palatal
  59. lengthmod 5
  60. voicingswitch tS;
  61. Vowelin f1=2 f2=2500 300 500 f3=300 80 rate len=70
  62. IF PreVoicing THEN
  63. FMT(dzh/xdzh)
  64. ENDIF
  65. IF nextPh(isPause2) THEN
  66. FMT(dzh/dzh_) addWav(ustop/ts_pzd3, 50)
  67. ENDIF
  68. FMT(dzh/dzh2) addWav(ustop/ts_pzd3, 80)
  69. endphoneme
  70. phoneme @ // Schwa
  71. vowel starttype #@ endtype #@
  72. length 140
  73. FMT(vowel/@_hgh)
  74. endphoneme
  75. phoneme @2 // Schwa (raised)
  76. vowel starttype #@ endtype #@
  77. length 140
  78. FMT(vowel/@_fnt)
  79. endphoneme
  80. phoneme a
  81. vowel starttype #a endtype #a
  82. length 160
  83. ChangeIfNotStressed(&)
  84. FMT(vowel/a)
  85. endphoneme
  86. phoneme A // 'a' before 'r', doesn't reduce to [&]
  87. vowel starttype #a endtype #a
  88. length 160
  89. FMT(vowel/a)
  90. endphoneme
  91. phoneme &
  92. vowel starttype #a endtype #a
  93. length 140
  94. FMT(vowel/a#_2)
  95. endphoneme
  96. phoneme E
  97. vowel starttype #e endtype #e
  98. length 140
  99. FMT(vowel/e_mid)
  100. endphoneme
  101. phoneme e
  102. vowel starttype #e endtype #e
  103. length 140
  104. FMT(vowel/e)
  105. endphoneme
  106. phoneme i
  107. vowel starttype #i endtype #i
  108. length 120
  109. ChangeIfNotStressed(I)
  110. IfNextVowelAppend(;)
  111. FMT(vowel/i_6)
  112. endphoneme
  113. phoneme I
  114. vowel starttype #i endtype #i
  115. length 120
  116. IfNextVowelAppend(;)
  117. FMT(vowel/ii_3)
  118. endphoneme
  119. phoneme o
  120. vowel starttype #o endtype #o
  121. length 140
  122. FMT(vowel/oo_1)
  123. endphoneme
  124. phoneme u
  125. vowel starttype #u endtype #u
  126. length 140
  127. ChangeIfNotStressed(U)
  128. FMT(vowel/u_bck)
  129. endphoneme
  130. phoneme U
  131. vowel starttype #u endtype #u
  132. length 140
  133. FMT(vowel/u_2)
  134. endphoneme
  135. phoneme aI
  136. vowel starttype #a endtype #i
  137. length 250
  138. FMT(vdiph/ai)
  139. endphoneme
  140. phoneme t // dental variant of /t/
  141. vls dnt stop
  142. lengthmod 2
  143. voicingswitch d
  144. Vowelin f1=0 f2=1600 -300 300 f3=-100 80
  145. Vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
  146. IF nextPh(isPause2) THEN
  147. WAV(ustop/t_dnt, 35)
  148. ENDIF
  149. WAV(ustop/t_dnt, 50)
  150. endphoneme
  151. phoneme d
  152. vcd alv stop
  153. lengthmod 5
  154. voicingswitch t
  155. Vowelin f1=2 f2=1700 -300 300 f3=-100 80 amp=16
  156. Vowelout f1=2 f2=1700 -300 300 f3=-100 80
  157. IF PreVoicing THEN
  158. FMT(d/xd)
  159. ENDIF
  160. IF nextPh(isPause2) THEN
  161. FMT(d/d_) addWav(x/d_)
  162. ELIF nextPh(r) THEN
  163. FMT(d/dr) addWav(x/d)
  164. ENDIF
  165. FMT(d/d) addWav(x/d, 50)
  166. endphoneme
  167. phoneme x
  168. vls vel frc
  169. lengthmod 3
  170. voicingswitch Q
  171. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  172. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  173. WAV(ufric/x_hr, 45)
  174. endphoneme
  175. phoneme r- // syllabic r
  176. vowel starttype #@ endtype #@
  177. length 240
  178. FMT(vowelr/r-voc)
  179. endphoneme
  180. phoneme R
  181. import_phoneme base/R
  182. endphoneme
  183. phoneme r*
  184. vowel nonsyllabic
  185. unstressed
  186. length 50
  187. starttype #@ endtype #@
  188. AppendPhoneme(*)
  189. FMT(vowel/@-)
  190. endphoneme