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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. phoneme i
  2. vowel starttype #i endtype #i
  3. length 150
  4. IF thisPh(isTranslationGiven) THEN
  5. // don't reduce the vowel if phonemes are explicitly given
  6. ELSE
  7. IF thisPh(isFinalVowel) THEN
  8. ChangePhoneme(I)
  9. ENDIF
  10. IF nextPh(isNotVowel) AND next2Ph(isNotVowel) THEN
  11. ChangePhoneme(I)
  12. ENDIF
  13. ENDIF
  14. FMT(vowel/i_6)
  15. endphoneme
  16. phoneme I
  17. vowel starttype #i endtype #i
  18. length 150
  19. FMT(vowel/ii_5)
  20. endphoneme
  21. phoneme y
  22. vowel starttype #u endtype #u
  23. length 155
  24. IF thisPh(isTranslationGiven) THEN
  25. // don't reduce the vowel if phonemes are explicitly given
  26. ELSE
  27. IF thisPh(isFinalVowel) THEN
  28. ChangePhoneme(Y)
  29. ENDIF
  30. IF nextPh(isNotVowel) AND next2Ph(isNotVowel) THEN
  31. ChangePhoneme(Y)
  32. ENDIF
  33. ENDIF
  34. FMT(vowel/y_5)
  35. endphoneme
  36. phoneme Y
  37. vowel starttype #u endtype #u
  38. length 155
  39. FMT(vowel/u#)
  40. endphoneme
  41. phoneme e
  42. vowel starttype #e endtype #e
  43. length 180
  44. IF thisPh(isTranslationGiven) THEN
  45. // don't reduce the vowel if phonemes are explicitly given
  46. ELSE
  47. IF thisPh(isFinalVowel) THEN
  48. ChangePhoneme(E)
  49. ENDIF
  50. IF nextPh(isNotVowel) AND next2Ph(isNotVowel) THEN
  51. ChangePhoneme(E)
  52. ENDIF
  53. ENDIF
  54. FMT(vowel/e_mid2)
  55. endphoneme
  56. phoneme E
  57. vowel starttype #e endtype #e
  58. length 180
  59. FMT(vowel/e_mid)
  60. endphoneme
  61. phoneme W
  62. vowel starttype #@ endtype #@
  63. length 180
  64. FMT(vowel/y#)
  65. endphoneme
  66. phoneme a
  67. vowel starttype #a endtype #a
  68. length 190
  69. FMT(vowel/a#_4)
  70. endphoneme
  71. phoneme u
  72. vowel starttype #u endtype #u
  73. length 150
  74. IF thisPh(isTranslationGiven) THEN
  75. // don't reduce the vowel if phonemes are explicitly given
  76. ELSE
  77. IF thisPh(isFinalVowel) THEN
  78. ChangePhoneme(U)
  79. ENDIF
  80. IF nextPh(isNotVowel) AND next2Ph(isNotVowel) THEN
  81. ChangePhoneme(U)
  82. ENDIF
  83. ENDIF
  84. FMT(vowel/u_2)
  85. endphoneme
  86. phoneme U
  87. vowel starttype #u endtype #u
  88. length 150
  89. FMT(vowel/uu_2)
  90. endphoneme
  91. phoneme @
  92. vowel starttype #@ endtype #@
  93. ipa ɯ
  94. length 150
  95. FMT(vowel/u#_7)
  96. endphoneme
  97. phoneme o
  98. vowel starttype #o endtype #o
  99. length 190
  100. IF thisPh(isTranslationGiven) THEN
  101. // don't reduce the vowel if phonemes are explicitly given
  102. ELSE
  103. IF thisPh(isFinalVowel) THEN
  104. ChangePhoneme(O)
  105. ENDIF
  106. IF nextPh(isNotVowel) AND next2Ph(isNotVowel) THEN
  107. ChangePhoneme(O)
  108. ENDIF
  109. ENDIF
  110. FMT(vowel/o_mid)
  111. endphoneme
  112. phoneme O
  113. vowel starttype #o endtype #o
  114. length 190
  115. FMT(vowel/oo)
  116. endphoneme
  117. phoneme : // Lengthen previous vowel by "length"
  118. virtual
  119. length 140
  120. endphoneme
  121. phoneme c
  122. vls pal stop
  123. lengthmod 2
  124. Vowelin f1=0 f2=2700 200 500 f3=400 80 len=60
  125. Vowelout f1=0 f2=2700 300 500 f3=300 80
  126. IF nextPh(isPause2) THEN
  127. WAV(ustop/ki, 80)
  128. ENDIF
  129. WAV(ustop/ki)
  130. endphoneme
  131. phoneme J
  132. vcd pla stop
  133. lengthmod 5
  134. IF PreVoicing THEN
  135. FMT(dzh/xdz_pzd)
  136. ENDIF
  137. Vowelin f1=2 f2=2700 400 600 f3=300 80
  138. Vowelout f1=2 f2=2700 400 600 f3=300 80 colr=1
  139. IF KlattSynth THEN
  140. FMT(klatt/dz_pzd) addWav(ustop/ki, 60)
  141. ENDIF
  142. FMT(dzh/dz_pzd) addWav(ustop/ki, 60)
  143. endphoneme
  144. phoneme l
  145. import_phoneme en/l
  146. endphoneme
  147. phoneme G
  148. import_phoneme en/r/
  149. lengthmod 7
  150. endphoneme