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_serbian 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. // This file inherits phonemes from ph_croatian
  2. // Only phonemes which differ from the inherited phonemes need
  3. // to be included here.
  4. phoneme I
  5. vwl starttype #i endtype #i
  6. length 120
  7. IfNextVowelAppend(;)
  8. FMT(vowel/ii_6)
  9. endphoneme
  10. phoneme &
  11. vwl starttype #a endtype #a
  12. ipa ɐ
  13. length 140
  14. FMT(vowel/a#)
  15. endphoneme
  16. phoneme r* // this is [R] from Slovak/Czech
  17. liquid
  18. trill
  19. ipa r
  20. lengthmod 6
  21. Vowelin f1=0 f2=1700 -300 300 f3=-300 80
  22. Vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
  23. FMT(r3/r_trill) addWav(r3/r_trill.wav, 50)
  24. endphoneme
  25. phoneme t // dental variant of /t/
  26. vls dnt stp
  27. lengthmod 2
  28. voicingswitch d
  29. Vowelin f1=0 f2=1600 -300 300 f3=-100 80
  30. Vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
  31. IF nextPh(isPause2) THEN
  32. WAV(ustop/t_sr, 35)
  33. ENDIF
  34. WAV(ustop/t_sr, 50)
  35. endphoneme
  36. phoneme d
  37. vcd alv stp
  38. lengthmod 5
  39. voicingswitch t
  40. Vowelin f1=2 f2=1700 -300 300 f3=-100 80 amp=16
  41. Vowelout f1=2 f2=1700 -300 300 f3=-100 80
  42. IF PreVoicing THEN
  43. FMT(d/xd)
  44. ENDIF
  45. IF nextPh(isPause2) THEN
  46. FMT(d/d_dnt) addWav(ustop/t_sr)
  47. ENDIF
  48. FMT(d/d_dnt) addWav(ustop/t_sr, 50)
  49. endphoneme
  50. // This is for letter "h" at the beginning of a word
  51. // Use [x] from lang=hr, request by Gašić Dajan 27.06.2011
  52. phoneme x#
  53. vls vel frc
  54. lengthmod 3
  55. IF nextPh(#i) OR nextPh(#e) THEN
  56. WAV(ufric/ch_sr)
  57. ELIF nextPh(isVowel) THEN
  58. WAV(ufric/x_sr)
  59. ENDIF
  60. WAV(ufric/x_sr, 70) // no vowel following
  61. endphoneme
  62. // This is for letter "h" not at the beginning of word
  63. // Use standard [h], request by Gašić Dajan 27.06.2011
  64. phoneme h#
  65. vls vel frc
  66. lengthmod 3
  67. IF nextPh(#@) THEN
  68. WAV(h/h@)
  69. ELIF nextPh(#i) OR nextPh(#e) THEN
  70. WAV(ufric/ch_sr)
  71. ELIF nextPh(isVowel) THEN
  72. WAV(ufric/x_sr)
  73. ENDIF
  74. WAV(ufric/x_sr, 70) // no vowel following
  75. endphoneme
  76. phoneme dZ
  77. vcd pla afr sib
  78. lengthmod 5
  79. voicingswitch tS
  80. Vowelin f1=2 f2=2300 200 400 f3=100 80
  81. Vowelout f1=2 f2=2300 250 300 f3=100 80 brk
  82. IF PreVoicing THEN
  83. FMT(dzh/xdzh)
  84. ENDIF
  85. FMT(dzh/dzh) addWav(ufric/sh_pzd2)
  86. endphoneme
  87. phoneme dZ;
  88. vcd pla afr sib palatal
  89. lengthmod 5
  90. ipa dʑ
  91. voicingswitch tS;
  92. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  93. IF PreVoicing THEN
  94. FMT(dzh/xdzh)
  95. ENDIF
  96. FMT(dzh/dzh) addWav(ustop/ts_sr)
  97. endphoneme
  98. phoneme tS
  99. vls pla afr sib
  100. lengthmod 2
  101. voicingswitch dZ
  102. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  103. WAV(ustop/tsh_sr, 50)
  104. endphoneme
  105. phoneme tS;
  106. vls pal afr sib palatal
  107. lengthmod 2
  108. ipa tɕ
  109. voicingswitch dZ;
  110. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  111. WAV(ustop/ts_sr)
  112. endphoneme
  113. phoneme Z
  114. vcd pla frc sib
  115. lengthmod 6
  116. voicingswitch S
  117. Vowelin f1=0 f2=2000 0 300 f3=-200 80
  118. Vowelout f1=2 f2=2000 0 300 f3=-200 80 brk
  119. IF nextPh(isPause2) THEN
  120. FMT(voc/zh) addWav(ufric/sh_pzd2, 50)
  121. ENDIF
  122. FMT(voc/zh) addWav(ufric/sh_pzd2, 60)
  123. endphoneme
  124. phoneme S
  125. vls pla frc sib
  126. lengthmod 3
  127. voicingswitch Z
  128. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  129. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  130. IF nextPh(isPause2) THEN
  131. WAV(ufric/sh_pzd2, 60)
  132. ENDIF
  133. WAV(ufric/sh_pzd2, 70)
  134. endphoneme