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_tatar 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. // use 'flag1' for front vowels
  2. phoneme i
  3. vowel flag1 starttype #i endtype #i
  4. length 180
  5. FMT(vowel/i)
  6. endphoneme
  7. phoneme y
  8. vowel flag1 starttype #u endtype #u
  9. length 180
  10. FMT(vowel/y)
  11. endphoneme
  12. phoneme u
  13. vowel starttype #u endtype #u
  14. length 180
  15. FMT(vowel/u)
  16. endphoneme
  17. phoneme u2 // letter 'ю'
  18. vowel starttype #u endtype #u
  19. length 180
  20. IF prevVowel(isFlag1) OR nextVowel(isFlag1) THEN
  21. ChangePhoneme(y)
  22. ELSE
  23. ChangePhoneme(u)
  24. ENDIF
  25. endphoneme
  26. phoneme e
  27. vowel flag1 starttype #@ endtype #@
  28. length 100
  29. FMT(vowel/ii#)
  30. endphoneme
  31. phoneme e2 // 'e' at start of word
  32. vowel starttype #@ endtype #@
  33. length 100
  34. IF nextVowel(isFlag1) THEN
  35. ChangePhoneme(e)
  36. ENDIF
  37. ChangePhoneme(V)
  38. endphoneme
  39. phoneme W
  40. vowel flag1 starttype #@ endtype #@
  41. length 100
  42. FMT(vowel/oe)
  43. endphoneme
  44. phoneme o
  45. vowel starttype #o endtype #o
  46. length 100
  47. FMT(vowel/o_mid)
  48. endphoneme
  49. phoneme V
  50. vowel starttype #@ endtype #@
  51. length 100
  52. FMT(vowel/o-_3)
  53. endphoneme
  54. phoneme a
  55. vowel flag1 starttype #a endtype #a
  56. length 180
  57. FMT(vowel/&_2)
  58. endphoneme
  59. phoneme A
  60. vowel starttype #a endtype #a
  61. length 180
  62. IF thisPh(isFirstVowel) THEN
  63. ChangePhoneme(0)
  64. ENDIF
  65. IF prevVowel(0) THEN
  66. ChangePhoneme(0)
  67. ENDIF
  68. FMT(vowel/aa)
  69. endphoneme
  70. phoneme A2 // letter 'я'
  71. vowel starttype #a endtype #a
  72. length 180
  73. IF prevVowel(isFlag1) OR nextVowel(isFlag1) THEN
  74. ChangePhoneme(a)
  75. ENDIF
  76. ChangePhoneme(A)
  77. endphoneme
  78. phoneme 0
  79. vowel starttype #o endtype #o
  80. length 180
  81. FMT(vowel/0_3)
  82. endphoneme
  83. phoneme I
  84. vowel flag1 starttype #i endtype #i
  85. length 100
  86. FMT(vowel/ii)
  87. endphoneme
  88. // Consonants
  89. phoneme r
  90. import_phoneme base/R2
  91. endphoneme
  92. phoneme t
  93. import_phoneme base/t[
  94. endphoneme
  95. phoneme d
  96. import_phoneme base/d[
  97. endphoneme