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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. //====================================================
  2. // Spanish - based on Base2
  3. //====================================================
  4. phoneme e
  5. vowel starttype #e endtype #e
  6. length 170
  7. FMT(vowel/e_mid2)
  8. endphoneme
  9. phoneme E
  10. vowel starttype #e endtype #e
  11. length 180
  12. FMT(vowel/e_mid)
  13. endphoneme
  14. phoneme O
  15. vowel starttype #o endtype #o
  16. length 170
  17. FMT(vowel/oo)
  18. endphoneme
  19. phoneme g
  20. vcd vel stop
  21. lengthmod 5
  22. voicingswitch k
  23. Vowelin f1=2 f2=2300 200 300 f3=-300 80
  24. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  25. IF PreVoicing THEN
  26. FMT(g/xg)
  27. ENDIF
  28. IF nextPh(isPause2) THEN
  29. FMT(g/g_) addWav(x/g_)
  30. ENDIF
  31. FMT(g/g) addWav(x/g2) // weaker [g]
  32. endphoneme
  33. phoneme D
  34. vcd dnt frc
  35. lengthmod 6
  36. voicingswitch T
  37. CALL base/D
  38. IF nextPh(isPause2) THEN
  39. FMT(voc/dh_) addWav(vocw/dh, 40) // weaker
  40. ENDIF
  41. endphoneme
  42. phoneme s
  43. vls alv frc sibilant
  44. lengthmod 3
  45. voicingswitch z
  46. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  47. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  48. IF nextPh(isPause) THEN
  49. WAV(ufric/s_, 60) // quieter 's' at end of word
  50. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  51. WAV(ufric/s!)
  52. ENDIF
  53. WAV(ufric/s)
  54. endphoneme
  55. phoneme v# // a shorter [v], a little towards [b]
  56. vcd lbd frc
  57. lengthmod 6
  58. voicingswitch f
  59. Vowelin f1=1 f2=1000 -300 -200 f3=-300 100
  60. Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=10
  61. IF nextPh(isPause2) THEN
  62. FMT(voc/v_) addWav(vocw/v, 80)
  63. ENDIF
  64. FMT(voc/v2) addWav(vocw/v, 80)
  65. endphoneme