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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. //====================================================
  2. // Polish
  3. //====================================================
  4. phoneme a
  5. vowel starttype #a endtype #a
  6. length 190
  7. ChangeIfDiminished(a#)
  8. FMT(vowel/a)
  9. endphoneme
  10. phoneme a#
  11. vowel starttype #a endtype #a
  12. length 170
  13. FMT(vowel/a#_2)
  14. endphoneme
  15. phoneme E
  16. vowel starttype #e endtype #e
  17. length 180
  18. IF nextPh(isPause) THEN
  19. FMT(vowel/ee_1)
  20. ENDIF
  21. FMT(vowel/e_mid)
  22. endphoneme
  23. phoneme E#
  24. vowel starttype #e endtype #e
  25. length 180
  26. FMT(vowel/ee#)
  27. endphoneme
  28. phoneme i
  29. vowel starttype #i endtype #i
  30. length 170
  31. IfNextVowelAppend(;)
  32. FMT(vowel/i_7)
  33. endphoneme
  34. phoneme O
  35. vowel starttype #o endtype #o
  36. length 180
  37. FMT(vowel/oo_5)
  38. endphoneme
  39. phoneme u
  40. vowel starttype #u endtype #u
  41. length 180
  42. FMT(vowel/u_bck)
  43. endphoneme
  44. phoneme y // close central unrounded (i-bar)
  45. vowel starttype #i endtype #i
  46. length 180
  47. FMT(vowel/ii#_2)
  48. endphoneme
  49. phoneme E~
  50. vowel starttype #e endtype #u
  51. length 250
  52. FMT(vnasal/ee_u_n)
  53. endphoneme
  54. phoneme O~
  55. vowel starttype #o endtype #o
  56. length 250
  57. FMT(vnasal/oo_n3)
  58. endphoneme
  59. // CONSONANTS
  60. //===========
  61. phoneme R
  62. liquid
  63. trill
  64. lengthmod 6
  65. Vowelin f1=0 f2=1700 -300 300 f3=-300 80
  66. Vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
  67. FMT(r3/r_trill) addWav(r3/r_trill.wav, 50)
  68. endphoneme
  69. phoneme t
  70. vls dnt stop
  71. lengthmod 2
  72. voicingswitch d
  73. Vowelin f1=0 f2=1600 -300 300 f3=-100 80
  74. Vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
  75. IF nextPh(isPause2) THEN
  76. WAV(ustop/t_dnt, 35)
  77. ENDIF
  78. WAV(ustop/t_dnt, 60)
  79. endphoneme
  80. phoneme t;
  81. vls pal stop palatal
  82. lengthmod 2
  83. voicingswitch d;
  84. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  85. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=50 colr=1
  86. IF nextPh(isPause2) THEN
  87. WAV(ustop/t_pzd, 30)
  88. ENDIF
  89. WAV(ustop/t_pzd, 60)
  90. endphoneme
  91. phoneme d
  92. vcd dnt stop
  93. lengthmod 5
  94. voicingswitch t
  95. Vowelin f1=2 f2=1500 -300 300 f3=-150 80
  96. Vowelout f1=2 f2=1500 -300 300 f3=-150 80
  97. IF PreVoicing THEN
  98. FMT(d/xd)
  99. ENDIF
  100. IF nextPh(isPause2) THEN
  101. FMT(d/d_) addWav(x/d_)
  102. ELIF nextPh(isRhotic) THEN
  103. FMT(d/dr) addWav(x/d_dnt, 110)
  104. ENDIF
  105. FMT(d/d) addWav(x/d_dnt, 110)
  106. endphoneme
  107. phoneme d;
  108. vcd alv stop palatal
  109. lengthmod 5
  110. voicingswitch t;
  111. Vowelin f1=2 f2=2700 400 600 f3=200 80 rate len=80
  112. Vowelout f1=2 f2=2700 400 600 f3=200 80 rate len=100 colr=1
  113. IF PreVoicing THEN
  114. FMT(d/xd_pzd)
  115. ENDIF
  116. IF nextPh(isPause2) THEN
  117. FMT(d/d_) addWav(x/d_pzd, 40)
  118. ELIF nextPh(isRhotic) THEN
  119. FMT(d/dr) addWav(x/d_pzd, 80)
  120. ENDIF
  121. FMT(d/d) addWav(x/d_pzd, 80)
  122. endphoneme
  123. phoneme ts
  124. import_phoneme consonants/ts
  125. voicingswitch dz
  126. endphoneme
  127. phoneme dz
  128. import_phoneme consonants/dz
  129. voicingswitch ts
  130. endphoneme
  131. phoneme w
  132. liquid
  133. lengthmod 7
  134. CALL base/w
  135. IF nextPh(isVowel) THEN
  136. FMT(w/w2) // longer [w]
  137. ENDIF
  138. endphoneme
  139. phoneme f
  140. vls lbd frc
  141. lengthmod 3
  142. voicingswitch v
  143. Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
  144. IF nextPh(isPause2) THEN
  145. WAV(ufric/f_)
  146. ELIF nextPh(s) THEN
  147. WAV(ufric/f, 160)
  148. ENDIF
  149. WAV(ufric/f, 140)
  150. endphoneme