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_russian_lv 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. phoneme l
  2. liquid
  3. IF nextPh(isNotVowel) THEN
  4. PrevVowelEndings
  5. VowelEnding(l/L1_@L)
  6. VowelEnding(l/L1_aL)
  7. VowelEnding(l/L1_eL)
  8. VowelEnding(l/L1_iL)
  9. VowelEnding(l/L1_oL)
  10. VowelEnding(l/L1_uL)
  11. EndSwitch
  12. FMT(l/l_)
  13. RETURN
  14. ENDIF
  15. CALL vowelstart_l
  16. IF prevPh(isVowel) THEN
  17. VowelEnding(l/xl, 10)
  18. ENDIF
  19. IF prevPh(isPause) THEN
  20. FMT(l/_l)
  21. ENDIF
  22. IF prevPh(t) THEN
  23. FMT(l/tl)
  24. ENDIF
  25. IF prevPh(l/) THEN
  26. FMT(l/l_long) // double l, make it longer
  27. ENDIF
  28. FMT(l/l)
  29. endphoneme
  30. phoneme l^ // Latvian ļ, customized from standard l^
  31. liquid
  32. ipa ʎ
  33. lengthmod 7
  34. Vowelout len=60 lenadd rate
  35. length 100
  36. NextVowelStarts
  37. VowelStart(l^/j2@)
  38. VowelStart(l^/j2a)
  39. VowelStart(l^/j2e)
  40. VowelStart(l^/j2i)
  41. VowelStart(l^/j2o)
  42. VowelStart(l^/j2u)
  43. EndSwitch
  44. IF prevPh(isPause) THEN
  45. FMT(l^/_l^)
  46. ELSEIF nextPh(isPause) THEN
  47. FMT(l^/l^_)
  48. ENDIF
  49. FMT(l^/l^)
  50. endphoneme
  51. phoneme o
  52. vwl starttype #o endtype #o
  53. length 100
  54. IF thisPh(isUnstressed) THEN
  55. FMT(vowel/aa_7)
  56. ENDIF
  57. FMT(vwl_ru/o)
  58. endphoneme
  59. phoneme 8
  60. vwl starttype #o endtype #o
  61. length 120
  62. ChangeIfNotStressed(V)
  63. FMT(vwl_ru/8)
  64. endphoneme
  65. phoneme e
  66. vwl starttype #e endtype #e
  67. length 100
  68. IF prevPh(Z) THEN
  69. ChangeIfNotStressed(y)
  70. ChangePhoneme(E)
  71. ENDIF
  72. IF prevPh(S) THEN
  73. ChangeIfNotStressed(y)
  74. ChangePhoneme(E)
  75. ENDIF
  76. IF prevPh(ts) THEN
  77. ChangeIfNotStressed(y)
  78. ChangePhoneme(E)
  79. ENDIF
  80. FMT(vwl_ru/ee)
  81. endphoneme