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_pt_brazil 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. //====================================================
  2. // Portuguese - based on Base2
  3. //====================================================
  4. phoneme I // epenthetic i
  5. vowel starttype (i) endtype (i)
  6. length 90
  7. formants vowel/ii_6
  8. unstressed
  9. endphoneme
  10. phoneme e~
  11. vowel starttype (e) endtype (e)
  12. length 240
  13. formants vnasal/e_n
  14. endphoneme
  15. phoneme i~
  16. vowel starttype (i) endtype (i)
  17. length 240
  18. formants vnasal/i_n
  19. linkout ;
  20. endphoneme
  21. phoneme o~
  22. vowel starttype (o) endtype (o)
  23. length 240
  24. formants vnasal/o_n
  25. endphoneme
  26. phoneme u~
  27. vowel starttype (u) endtype (u)
  28. length 180
  29. formants vnasal/u_n
  30. endphoneme
  31. phoneme &~
  32. vowel starttype (@) endtype (@)
  33. length 180
  34. formants vnasal/a#_n
  35. // reduceto & 4
  36. endphoneme
  37. phoneme &U~
  38. vowel starttype (@) endtype (u)
  39. length 240
  40. formants vnasal/a#u_n
  41. endphoneme
  42. phoneme oI~
  43. vowel starttype (o) endtype (i)
  44. length 260
  45. formants vnasal/oi_n
  46. endphoneme
  47. phoneme &
  48. vowel starttype (@) endtype (@)
  49. length 180
  50. formants vowel/a#_3
  51. endphoneme
  52. phoneme &/ // Used for final "a" when next word starts with "a"
  53. vowel starttype (@) endtype (@)
  54. beforevowel NULL
  55. length 180
  56. formants vowel/a#_3
  57. endphoneme
  58. phoneme A // for "al" in European Portuguese, don't reduce to [&]
  59. vowel starttype (a) endtype (a)
  60. length 200
  61. formants vowel/a_2
  62. endphoneme
  63. phoneme E
  64. vowel starttype (e) endtype (e)
  65. length 170
  66. formants vowel/ee_3
  67. endphoneme
  68. phoneme e
  69. vowel starttype (e) endtype (e)
  70. length 160
  71. formants vowel/e
  72. endphoneme
  73. phoneme y // this is the same as [i] for Brazil
  74. vowel starttype (i) endtype (i)
  75. length 110
  76. formants vowel/ii_6
  77. linkout ;
  78. endphoneme
  79. phoneme i/ // changes to [j] before a vowel
  80. vowel starttype (i) endtype (i)
  81. beforevowel j
  82. length 150
  83. formants vowel/ii_6
  84. linkout ;
  85. endphoneme
  86. phoneme O
  87. vowel starttype (o) endtype (o)
  88. length 170
  89. formants vowel/0
  90. endphoneme
  91. phoneme u
  92. vowel starttype (u) endtype (u)
  93. length 160
  94. formants vowel/u_bck
  95. endphoneme
  96. phoneme u2 // TEST
  97. vowel starttype (u) endtype (u)
  98. length 160
  99. formants vowel/u
  100. endphoneme
  101. phoneme U
  102. vowel starttype (u) endtype (u)
  103. length 140
  104. formants vowel/uu_bck
  105. endphoneme
  106. phoneme aI
  107. vowel starttype (a) endtype (i)
  108. length 230
  109. formants vdiph/ai
  110. linkout ;
  111. endphoneme
  112. phoneme eI
  113. vowel starttype (e) endtype (i)
  114. length 210
  115. formants vdiph/ei
  116. linkout ;
  117. endphoneme
  118. phoneme OI
  119. vowel starttype (o) endtype (i)
  120. length 230
  121. formants vdiph/0i
  122. linkout ;
  123. endphoneme
  124. phoneme eU
  125. vowel starttype (e) endtype (u)
  126. length 230
  127. formants vdiph/eu
  128. endphoneme
  129. phoneme EU
  130. vowel starttype (e) endtype (u)
  131. length 230
  132. formants vdiph/eeu
  133. endphoneme
  134. phoneme l
  135. liquid
  136. length 100
  137. lengthmod 7
  138. beforenotvowel l/2 // use 'dark' [l] after a vowel, should be [w]
  139. formants l/l
  140. after _ l/_l
  141. after t l/tl
  142. endphoneme
  143. phoneme x // this is [R] from Slovak/Czech
  144. liquid
  145. vowelin f1=0 f2=1700 -300 300 f3=-300 80
  146. vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
  147. formants r3/r_trill+r3/r_trill.wav%50
  148. trill
  149. lengthmod 6
  150. endphoneme
  151. phoneme x2 // for "r"
  152. vcd vel frc
  153. vowelin f1=0 f2=1500 0 400 f3=-500 100
  154. vowelout f1=0 f2=1500 0 400 f3=-500 100 rms=20
  155. lengthmod 6
  156. formants voc/Q_less+ufric/x2%110
  157. before _ voc/Q_+ufric/x2
  158. switchvoicing x
  159. endphoneme
  160. phoneme s# // This is [s] for Brazi;, [S] for Portugal
  161. vls alv frc sibilant
  162. vowelin f1=0 f2=1700 -300 300 f3=-100 80
  163. vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  164. lengthmod 3
  165. wave ufric/s
  166. before _ ufric/s_
  167. before p ufric/s!
  168. before t ufric/s!
  169. before k ufric/s!
  170. switchvoicing z
  171. endphoneme
  172. phoneme *
  173. vcd alv stop
  174. vowelin f1=1 f2=1700 -300 300 f3=0 80
  175. vowelout f1=2 f2=1700 -300 300 f3=0 80
  176. formants d/tap2+x/d%40
  177. after @ d/x_tap
  178. lengthmod 6
  179. endphoneme