ph_turkish 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. phoneme i
  2. vwl starttype #i endtype #i
  3. length 180
  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. vwl starttype #i endtype #i
  18. length 180
  19. FMT(vowel/ii_5)
  20. endphoneme
  21. phoneme y
  22. vwl starttype #u endtype #u
  23. length 180
  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. vwl starttype #u endtype #u
  38. length 180
  39. FMT(vowel/u#)
  40. endphoneme
  41. phoneme e
  42. vwl starttype #e endtype #e
  43. length 200
  44. IF thisPh(isTranslationGiven) THEN
  45. // don't reduce the vowel if phonemes are explicitly given
  46. ELSE
  47. IF nextPh(isWordEnd) OR next2PhW(isNotVowel) THEN
  48. IF nextPh(isRhotic) OR nextPh(isNasal) OR nextPh(l) OR nextPh(L) THEN
  49. ChangePhoneme(&)
  50. ENDIF
  51. ENDIF
  52. IF thisPh(isFinalVowel) THEN
  53. ChangePhoneme(E)
  54. ENDIF
  55. IF nextPh(isNotVowel) AND next2Ph(isNotVowel) THEN
  56. ChangePhoneme(E)
  57. ENDIF
  58. ENDIF
  59. FMT(vowel/e_mid2)
  60. endphoneme
  61. phoneme E
  62. vwl starttype #e endtype #e
  63. length 200
  64. FMT(vowel/e_mid)
  65. endphoneme
  66. phoneme &
  67. vwl starttype #a endtype #a
  68. length 200
  69. FMT(vowel/ee_6)
  70. endphoneme
  71. phoneme W
  72. vwl starttype #@ endtype #@
  73. length 200
  74. FMT(vowel/y#)
  75. endphoneme
  76. phoneme a
  77. vwl starttype #a endtype #a
  78. length 200
  79. IF thisPh(isUnstressed) AND thisPh(isWordEnd) THEN
  80. FMT(vowel/a#_2)
  81. ENDIF
  82. FMT(vowel/aa_6)
  83. endphoneme
  84. phoneme u
  85. vwl starttype #u endtype #u
  86. length 180
  87. IF thisPh(isTranslationGiven) THEN
  88. // don't reduce the vowel if phonemes are explicitly given
  89. ELSE
  90. IF thisPh(isFinalVowel) THEN
  91. ChangePhoneme(U)
  92. ENDIF
  93. IF nextPh(isNotVowel) AND next2Ph(isNotVowel) THEN
  94. ChangePhoneme(U)
  95. ENDIF
  96. ENDIF
  97. FMT(vowel/u_2)
  98. endphoneme
  99. phoneme U
  100. vwl starttype #u endtype #u
  101. length 180
  102. FMT(vowel/uu_2)
  103. endphoneme
  104. phoneme @
  105. vwl starttype #@ endtype #@
  106. ipa ɯ
  107. length 180
  108. FMT(vowel/u#_7)
  109. endphoneme
  110. phoneme o
  111. vwl starttype #o endtype #o
  112. length 200
  113. IF thisPh(isTranslationGiven) THEN
  114. // don't reduce the vowel if phonemes are explicitly given
  115. ELSE
  116. IF thisPh(isFinalVowel) THEN
  117. ChangePhoneme(O)
  118. ENDIF
  119. IF nextPh(isNotVowel) AND next2Ph(isNotVowel) THEN
  120. ChangePhoneme(O)
  121. ENDIF
  122. ENDIF
  123. FMT(vowel/o_mid)
  124. endphoneme
  125. phoneme O
  126. vwl starttype #o endtype #o
  127. length 200
  128. FMT(vowel/oo)
  129. endphoneme
  130. phoneme : // Lengthen previous vowel by "length"
  131. virtual
  132. length 140
  133. endphoneme
  134. phoneme c
  135. vls pal stp
  136. lengthmod 2
  137. Vowelin f1=0 f2=2700 200 500 f3=400 80 len=60
  138. Vowelout f1=0 f2=2700 300 500 f3=300 80
  139. IF nextPh(isPause2) THEN
  140. WAV(ustop/ki, 80)
  141. ENDIF
  142. WAV(ustop/ki)
  143. endphoneme
  144. phoneme J
  145. vcd pla stp
  146. lengthmod 5
  147. IF PreVoicing THEN
  148. FMT(dzh/xdz_pzd)
  149. ENDIF
  150. Vowelin f1=2 f2=2700 400 600 f3=300 80
  151. Vowelout f1=2 f2=2700 400 600 f3=300 80 colr=1
  152. IF KlattSynth THEN
  153. FMT(klatt/dz_pzd) addWav(ustop/ki, 60)
  154. ENDIF
  155. FMT(dzh/dz_pzd) addWav(ustop/ki, 60)
  156. endphoneme
  157. phoneme G
  158. import_phoneme en/r/
  159. lengthmod 7
  160. endphoneme
  161. phoneme R
  162. liquid trl
  163. lengthmod 6
  164. IF prevPhW(isVowel) AND nextPhW(isVowel) THEN
  165. ChangePhoneme(*)
  166. ENDIF
  167. CALL base1/R
  168. endphoneme