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_portugal 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. //====================================================
  2. // Portuguese/Portugal - based on Portuguese/Brazil
  3. //====================================================
  4. phoneme &
  5. vowel starttype (@) endtype (@)
  6. length 180
  7. formants vowel/a#_3
  8. unstressed
  9. endphoneme
  10. phoneme &/ // Used for final "a" when next word starts with "a"
  11. vowel starttype (@) endtype (@)
  12. beforevowel NULL
  13. length 180
  14. formants vowel/a#_3
  15. endphoneme
  16. phoneme a
  17. vowel starttype (a) endtype (a)
  18. length 180
  19. formants vowel/a_2
  20. reduceto & 4
  21. endphoneme
  22. phoneme &~
  23. vowel starttype (e) endtype (@)
  24. length 240
  25. formants vnasal/ee_n2
  26. endphoneme
  27. phoneme &U~
  28. vowel starttype (@) endtype (u)
  29. length 240
  30. formants vnasal/a#u_n
  31. endphoneme
  32. phoneme E
  33. vowel starttype (e) endtype (e)
  34. length 170
  35. formants vowel/e_mid
  36. reduceto y 2
  37. endphoneme
  38. phoneme e
  39. vowel starttype (e) endtype (e)
  40. length 160
  41. formants vowel/e
  42. reduceto y 2
  43. endphoneme
  44. phoneme y
  45. vowel starttype (@) endtype (@)
  46. length 110
  47. formants vowel/i#_5
  48. endphoneme
  49. phoneme i
  50. vowel starttype (i) endtype (i)
  51. length 150
  52. formants vowel/i
  53. linkout ;
  54. endphoneme
  55. phoneme i/ // changes to NULL before a vowel
  56. vowel starttype (i) endtype (i)
  57. beforevowel NULL
  58. length 100
  59. formants vowel/i#_5
  60. linkout ;
  61. endphoneme
  62. phoneme O
  63. vowel starttype (o) endtype (o)
  64. length 170
  65. formants vowel/0_2
  66. // reduceto o 4
  67. endphoneme
  68. phoneme o
  69. vowel starttype (o) endtype (o)
  70. length 170
  71. formants vowel/o
  72. reduceto u 2
  73. endphoneme
  74. phoneme u
  75. vowel starttype (u) endtype (u)
  76. length 160
  77. formants vowel/u_6
  78. endphoneme
  79. phoneme U
  80. vowel starttype (u) endtype (u)
  81. length 110
  82. beforevowel w
  83. formants vowel/u_6
  84. endphoneme
  85. phoneme EU
  86. vowel starttype (e) endtype (u)
  87. length 220
  88. formants vdiph/eeu_2
  89. endphoneme
  90. phoneme w
  91. starttype w endtype w
  92. liquid
  93. length 100
  94. beforenotvowel w/
  95. lengthmod 7
  96. formants w/w2
  97. after _ w/w2
  98. endphoneme
  99. phoneme x // [r] for Portugal
  100. liquid
  101. // vcd uvl frc
  102. vowelin f1=0 f2=1500 -400 400 f3=-400 80
  103. length 100
  104. lengthmod 7
  105. beforenotvowel r/
  106. trill
  107. formants vwl_fr/@R+r3/rx%120
  108. endphoneme
  109. phoneme R // for Portugal this is same the as [r]
  110. import_phoneme r pt
  111. endphoneme
  112. phoneme s# // This is [s] for Brazi;, [S] for Portugal
  113. vls pla frc sibilant
  114. vowelin f1=0 f2=2100 100 300 f3=-100 80
  115. vowelout f1=0 f2=2100 100 300 f3=-100 80
  116. length 100
  117. lengthmod 3
  118. wave ufric/sh
  119. before _ ufric/sh_
  120. switchvoicing Z
  121. endphoneme