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_guarani 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. //====================================================
  2. // guarani: Update 14 march 2016
  3. //====================================================
  4. phoneme a
  5. vwl starttype #a endtype #a
  6. length 170
  7. IF thisPh(isWordEnd) AND thisPh(isStressed) THEN
  8. FMT(vowel/a, 75)
  9. ENDIF
  10. FMT(vowel/a_4)
  11. endphoneme
  12. phoneme a~
  13. vwl starttype #a endtype #a
  14. length 190
  15. IF thisPh(isWordEnd) AND thisPh(isStressed) THEN
  16. FMT(vnasal/a#_n2, 90)
  17. ENDIF
  18. FMT(vnasal/a_n, 80)
  19. endphoneme
  20. phoneme e
  21. vwl starttype #e endtype #e
  22. length 165
  23. IF thisPh(isWordEnd) AND thisPh(isStressed) THEN
  24. FMT(vowel/e)
  25. ENDIF
  26. FMT(vowel/e_mid2)
  27. endphoneme
  28. phoneme e~
  29. vwl starttype #e endtype #e
  30. length 200
  31. FMT(vnasal/e_n)
  32. endphoneme
  33. phoneme i
  34. vwl starttype #i endtype #i
  35. length 160
  36. FMT(vowel/i)
  37. endphoneme
  38. phoneme i~
  39. vwl starttype #i endtype #i
  40. length 190
  41. FMT(vnasal/i_n)
  42. endphoneme
  43. phoneme o
  44. vwl starttype #o endtype #o
  45. length 170
  46. FMT(vowel/oo)
  47. endphoneme
  48. phoneme o~
  49. vwl starttype #o endtype #o
  50. length 190
  51. FMT(vnasal/o_n)
  52. endphoneme
  53. phoneme u
  54. vwl starttype #u endtype #u
  55. length 155
  56. FMT(vowel/u_bck2)
  57. endphoneme
  58. phoneme u~
  59. vwl starttype #u endtype #u
  60. length 185
  61. FMT(vnasal/u_n)
  62. endphoneme
  63. phoneme y
  64. vwl starttype #i endtype #i
  65. length 185
  66. FMT(vowel/yy_4)
  67. endphoneme
  68. phoneme y~ // guarani ỹ
  69. ipa ɨ̃
  70. vwl starttype #i endtype #i
  71. length 195
  72. FMT(vowel/i#_7)
  73. endphoneme
  74. // consonants
  75. phoneme b
  76. vcd blb stp
  77. IF nextPh(isVowel) OR nextPh(isRhotic) OR nextPh(isLiquid) THEN
  78. IF prevPh(isPause) OR prevPh(isNasal) THEN
  79. ELSE
  80. ChangePhoneme(B)
  81. ENDIF
  82. ENDIF
  83. CALL base1/b
  84. endphoneme
  85. phoneme r
  86. vcd alv flp rhotic
  87. brkafter
  88. ipa ɾ
  89. lengthmod 3
  90. IF nextPhW(isVowel) THEN
  91. ChangePhoneme(**)
  92. ENDIF
  93. CALL base1/*
  94. endphoneme
  95. phoneme g
  96. vcd vel stp
  97. lengthmod 5
  98. voicingswitch k
  99. Vowelin f1=2 f2=2300 200 300 f3=-300 80
  100. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  101. IF nextPh(isVowel) OR nextPh(isRhotic) OR nextPh(isLiquid) THEN
  102. IF prevPh(isPause) OR prevPh(isNasal) THEN
  103. ELSE
  104. ChangePhoneme(Q)
  105. ENDIF
  106. ENDIF
  107. IF PreVoicing THEN
  108. FMT(g/xg)
  109. ENDIF
  110. IF nextPh(isPause2) THEN
  111. FMT(g/g_) addWav(x/g_)
  112. ENDIF
  113. FMT(g/g) addWav(x/g2) // weaker [g]
  114. endphoneme