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_greek 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. //====================================================
  2. // Greek - based on base2
  3. //====================================================
  4. phoneme a
  5. vowel starttype #a endtype #a
  6. length 180
  7. IF thisPh(isWordEnd) AND thisPh(isNotStressed) AND nextPh(a) THEN
  8. ChangePhoneme(NULL)
  9. ENDIF
  10. IF thisPh(isDiminished) THEN
  11. FMT(vowel/a_4)
  12. ENDIF
  13. FMT(vowel/a_2)
  14. endphoneme
  15. phoneme e
  16. vowel starttype #e endtype #e
  17. length 180
  18. FMT(vowel/e_mid2)
  19. endphoneme
  20. phoneme i
  21. vowel starttype #i endtype #i
  22. length 140
  23. IfNextVowelAppend(;)
  24. FMT(vowel/i)
  25. endphoneme
  26. phoneme o
  27. vowel starttype #o endtype #o
  28. length 180
  29. FMT(vowel/oo)
  30. endphoneme
  31. // CONSONANTS
  32. phoneme t // revert to alveolar /t/
  33. vls alv stop
  34. lengthmod 2
  35. voicingswitch d
  36. Vowelin f1=1 f2=1600 -300 300 f3=-100 80 amp=11
  37. Vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
  38. IF nextPh(isPause2) THEN
  39. WAV(ustop/t_unasp2)
  40. ENDIF
  41. WAV(ustop/t_unasp2)
  42. endphoneme
  43. phoneme d // revert to alveolar /d/
  44. import_phoneme base/d
  45. voicingswitch t
  46. endphoneme
  47. phoneme k
  48. vls vel stop
  49. lengthmod 2
  50. voicingswitch g
  51. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  52. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  53. IF nextPh(isPause2) THEN
  54. WAV(ustop/k_)
  55. ELIF nextPh(isRhotic) THEN
  56. WAV(ustop/kr)
  57. ELIF nextPh(l) THEN
  58. WAV(ustop/kl)
  59. ENDIF
  60. WAV(ustop/k_unasp, 70)
  61. endphoneme
  62. phoneme r
  63. import_phoneme base/R2
  64. endphoneme