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.2KB

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