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

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