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

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