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_italian 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. //====================================================
  2. // Italian
  3. //====================================================
  4. phoneme : // Lengthen previous vowel by "length"
  5. virtual
  6. length 50
  7. endphoneme
  8. phoneme a
  9. vowel starttype #a endtype #a
  10. length 160
  11. ChangeIfNotStressed(a/)
  12. FMT(vowel/a)
  13. endphoneme
  14. phoneme a/
  15. vowel starttype #@ endtype #@
  16. length 140
  17. IF thisPh(isWordEnd) THEN
  18. FMT(vowel/a#_4)
  19. ENDIF
  20. FMT(vowel/a_5)
  21. endphoneme
  22. phoneme e
  23. vowel starttype #e endtype #e
  24. length 150
  25. ChangeIfNotStressed(e/)
  26. FMT(vowel/e_2)
  27. endphoneme
  28. phoneme e/
  29. vowel starttype #e endtype #e
  30. length 140
  31. IF nextPhW(isNasal) OR nextPhW(isLiquid) THEN
  32. FMT(vowel/e_mid2)
  33. ELSE
  34. FMT(vowel/e)
  35. ENDIF
  36. endphoneme
  37. phoneme E
  38. vowel starttype #e endtype #e
  39. length 145
  40. ChangeIfUnstressed(e/) // [E] only in stressed syllables ?
  41. FMT(vowel/e_mid)
  42. endphoneme
  43. phoneme i
  44. vowel starttype #i endtype #i
  45. length 140
  46. IfNextVowelAppend(;)
  47. FMT(vowel/i)
  48. endphoneme
  49. phoneme i# // Used for 'gia_' where [i] is only spoken if stressed
  50. vowel starttype #i endtype #i
  51. length 145
  52. ChangeIfNotStressed(NULL)
  53. ChangePhoneme(i)
  54. endphoneme
  55. phoneme I
  56. vowel starttype #i endtype #i
  57. length 140
  58. IfNextVowelAppend(;)
  59. FMT(vowel/i_4)
  60. endphoneme
  61. phoneme o
  62. vowel starttype #o endtype #o
  63. length 150
  64. ChangeIfNotStressed(o/)
  65. FMT(vowel/o)
  66. endphoneme
  67. phoneme o/
  68. vowel starttype #o endtype #o
  69. length 140
  70. IF nextPhW(isNasal) OR nextPhW(isLiquid) THEN
  71. FMT(vowel/oo_1)
  72. ELSE
  73. FMT(vowel/o)
  74. ENDIF
  75. endphoneme
  76. phoneme O
  77. vowel starttype #o endtype #o
  78. length 150
  79. ChangeIfUnstressed(o/) // [O] only in stressed syllables ?
  80. FMT(vowel/oo_4)
  81. endphoneme
  82. phoneme u
  83. vowel starttype #u endtype #u
  84. length 150
  85. ChangeIfNotStressed(U)
  86. FMT(vowel/u_bck)
  87. endphoneme
  88. phoneme U
  89. vowel starttype #u endtype #u
  90. length 140
  91. FMT(vowel/u_bck)
  92. endphoneme
  93. phoneme aU
  94. vowel starttype #a endtype #o
  95. length 300
  96. FMT(vdiph/aoo)
  97. endphoneme
  98. phoneme aI
  99. vowel starttype #a endtype #i
  100. length 250
  101. FMT(vdiph/ai)
  102. endphoneme
  103. phoneme oI
  104. vowel starttype #o endtype #i
  105. length 230
  106. FMT(vdiph/oi)
  107. endphoneme
  108. // CONSONANTS
  109. //===========
  110. phoneme l^
  111. import_phoneme base/l^
  112. Length 130
  113. endphoneme
  114. phoneme ts
  115. import_phoneme consonants/ts
  116. voicingswitch s
  117. lengthmod 4
  118. endphoneme
  119. phoneme dz
  120. import_phoneme consonants/dz
  121. voicingswitch z
  122. lengthmod 3
  123. endphoneme