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_latvian 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. phoneme @
  2. vowel starttype #@ endtype #@
  3. length 120
  4. FMT(vowel/8_7)
  5. endphoneme
  6. phoneme i
  7. vowel starttype #i endtype #i
  8. length 110
  9. IfNextVowelAppend(;)
  10. FMT(vowel/i_6)
  11. endphoneme
  12. phoneme i:
  13. vowel starttype #i endtype #i
  14. length 300
  15. IfNextVowelAppend(;)
  16. FMT(vowel/i_6)
  17. endphoneme
  18. phoneme e
  19. vowel starttype #e endtype #e
  20. length 120
  21. FMT(vowel/e_mid)
  22. endphoneme
  23. phoneme e:
  24. vowel starttype #e endtype #e
  25. length 330
  26. FMT(vowel/e_mid)
  27. endphoneme
  28. phoneme &
  29. vowel starttype #a endtype #a
  30. length 120
  31. FMT(vowel/&)
  32. endphoneme
  33. phoneme &:
  34. vowel starttype #a endtype #a
  35. length 330
  36. FMT(vowel/&)
  37. endphoneme
  38. phoneme a
  39. vowel starttype #a endtype #a
  40. length 120
  41. ChangeIfDiminished(a#)
  42. FMT(vowel/a_3)
  43. endphoneme
  44. phoneme a:
  45. vowel starttype #a endtype #a
  46. length 350
  47. FMT(vowel/a_3)
  48. endphoneme
  49. phoneme a#
  50. vowel starttype #a endtype #a
  51. length 120
  52. FMT(vowel/V_6)
  53. endphoneme
  54. phoneme o
  55. vowel starttype #o endtype #o
  56. length 120
  57. FMT(vowel/oo_1)
  58. endphoneme
  59. phoneme o:
  60. vowel starttype #o endtype #o
  61. length 330
  62. FMT(vowel/oo_1)
  63. endphoneme
  64. phoneme u
  65. vowel starttype #u endtype #u
  66. length 110
  67. FMT(vowel/u)
  68. endphoneme
  69. phoneme u:
  70. vowel starttype #u endtype #u
  71. length 330
  72. FMT(vowel/u)
  73. endphoneme
  74. phoneme ai
  75. vowel starttype #a endtype #i
  76. length 310
  77. long
  78. FMT(vdiph/aai)
  79. endphoneme
  80. phoneme ei
  81. vowel starttype #e endtype #i
  82. length 300
  83. long
  84. FMT(vdiph/eei_2)
  85. endphoneme
  86. phoneme au
  87. vowel starttype #a endtype #u
  88. length 300
  89. long
  90. FMT(vdiph/aau)
  91. endphoneme
  92. phoneme uo
  93. vowel starttype #u endtype #a
  94. length 300
  95. long
  96. FMT(vdiph2/uaa)
  97. endphoneme
  98. phoneme oi
  99. vowel starttype #o endtype #i
  100. length 290
  101. long
  102. FMT(vdiph/ooi)
  103. endphoneme
  104. phoneme ui
  105. vowel starttype #u endtype #i
  106. length 290
  107. long
  108. FMT(vdiph/ui)
  109. endphoneme
  110. phoneme ie
  111. vowel starttype #i endtype #e
  112. length 290
  113. long
  114. FMT(vdiph2/ie_2)
  115. endphoneme
  116. phoneme iu
  117. vowel starttype #i endtype #u
  118. length 290
  119. long
  120. FMT(vdiph2/iu_2)
  121. endphoneme
  122. phoneme R2
  123. liquid
  124. trill
  125. lengthmod 6
  126. Vowelin f1=0 f2=1700 -300 300 f3=-300 80
  127. Vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
  128. FMT(r3/r_trill) addWav(r3/r_trill.wav, 50)
  129. endphoneme
  130. phoneme ts
  131. vls alv afr sibilant lengthenstop
  132. lengthmod 2
  133. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  134. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  135. IF nextPh(isPause2) THEN
  136. WAV(ustop/ts_)
  137. ENDIF
  138. WAV(ustop/ts2, 90)
  139. endphoneme
  140. phoneme t // try disable this and try using English [t]
  141. vls alv stop lengthenstop
  142. lengthmod 2
  143. voicingswitch d
  144. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  145. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  146. IF nextPh(isPause2) THEN
  147. WAV(ustop/t_)
  148. ENDIF
  149. WAV(ustop/t_short, 115)
  150. endphoneme
  151. phoneme p
  152. vls blb stop
  153. lengthmod 2
  154. voicingswitch b
  155. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80
  156. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=30
  157. IF nextPh(isPause2) THEN
  158. WAV(ustop/p_unasp_, 80)
  159. ENDIF
  160. IF nextPh(l) THEN
  161. WAV(ustop/pl)
  162. ENDIF
  163. WAV(ustop/p_unasp, 120)
  164. endphoneme
  165. phoneme k
  166. vls vel stop
  167. lengthmod 2
  168. voicingswitch g
  169. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  170. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  171. IF nextPh(isPause2) THEN
  172. WAV(ustop/k_)
  173. ENDIF
  174. IF nextPh(#i) OR nextPh(l^) THEN
  175. WAV(ustop/ki)
  176. ENDIF
  177. IF nextPh(l) THEN
  178. WAV(ustop/kl)
  179. ENDIF
  180. WAV(ustop/k_unasp, 60) // weaker
  181. endphoneme
  182. phoneme s2 // second part of long [s:]
  183. vls alv frc sibilant
  184. lengthmod 3
  185. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  186. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  187. WAV(ufric/s_continue)
  188. endphoneme