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 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  1. phoneme i
  2. vowel starttype #i endtype #i
  3. length 100
  4. IfNextVowelAppend(;)
  5. FMT(vowel/i_6)
  6. endphoneme
  7. phoneme i2
  8. vowel starttype #i endtype #i
  9. length 100
  10. IfNextVowelAppend(;)
  11. FMT(vowel/i_2)
  12. endphoneme
  13. phoneme i3
  14. vowel starttype #i endtype #i
  15. length 100
  16. IfNextVowelAppend(;)
  17. FMT(vowel/i_3)
  18. endphoneme
  19. phoneme i4
  20. vowel starttype #i endtype #i
  21. length 100
  22. IfNextVowelAppend(;)
  23. FMT(vowel/i_4)
  24. endphoneme
  25. phoneme i5
  26. vowel starttype #i endtype #i
  27. length 100
  28. IfNextVowelAppend(;)
  29. FMT(vowel/i_5)
  30. endphoneme
  31. phoneme i6
  32. vowel starttype #i endtype #i
  33. length 100
  34. IfNextVowelAppend(;)
  35. FMT(vowel/i_6)
  36. endphoneme
  37. phoneme i7
  38. vowel starttype #i endtype #i
  39. length 100
  40. IfNextVowelAppend(;)
  41. FMT(vowel/i_7)
  42. endphoneme
  43. phoneme i8
  44. vowel starttype #i endtype #i
  45. length 100
  46. IfNextVowelAppend(;)
  47. FMT(vowel/i_8)
  48. endphoneme
  49. phoneme i:
  50. vowel starttype #i endtype #i
  51. length 250
  52. IfNextVowelAppend(;)
  53. FMT(vowel/i_6)
  54. endphoneme
  55. phoneme E
  56. vowel starttype #e endtype #e
  57. length 100
  58. FMT(vowel/ee_5)
  59. endphoneme
  60. phoneme E:
  61. vowel starttype #e endtype #e
  62. length 250
  63. FMT(vowel/e_mid)
  64. endphoneme
  65. phoneme e
  66. vowel starttype #e endtype #e
  67. length 150
  68. FMT(vowel/e_mid)
  69. endphoneme
  70. phoneme e:
  71. vowel starttype #e endtype #e
  72. length 250
  73. FMT(vowel/e_mid)
  74. endphoneme
  75. phoneme a
  76. vowel starttype #a endtype #a
  77. length 100
  78. FMT(vowel/aa_7) // a_5 or aa_7
  79. endphoneme
  80. phoneme a:
  81. vowel starttype #a endtype #a
  82. length 300
  83. long
  84. FMT(vowel/aa_9) // was a_3 or aa_9
  85. endphoneme
  86. phoneme a3
  87. vowel starttype #a endtype #a
  88. length 100
  89. //ChangeIfDiminished(a#)
  90. FMT(vowel/a_3)
  91. endphoneme
  92. phoneme a5
  93. vowel starttype #a endtype #a
  94. length 100
  95. //ChangeIfDiminished(a#)
  96. FMT(vowel/a_5)
  97. endphoneme
  98. phoneme a5:
  99. vowel starttype #a endtype #a
  100. length 350
  101. FMT(vowel/a_5)
  102. endphoneme
  103. phoneme a77
  104. vowel starttype #a endtype #a
  105. length 100
  106. //ChangeIfDiminished(a#)
  107. FMT(vowel/aa_7)
  108. endphoneme
  109. phoneme a77:
  110. vowel starttype #a endtype #a
  111. length 350
  112. FMT(vowel/aa_7)
  113. endphoneme
  114. phoneme a22
  115. vowel starttype #a endtype #a
  116. length 100
  117. //ChangeIfDiminished(a#)
  118. FMT(vowel/aa_2)
  119. endphoneme
  120. phoneme a22:
  121. vowel starttype #a endtype #a
  122. length 350
  123. FMT(vowel/aa_2)
  124. endphoneme
  125. phoneme o
  126. vowel starttype #o endtype #o
  127. length 100
  128. FMT(vowel/oo_1)
  129. endphoneme
  130. phoneme o:
  131. vowel starttype #o endtype #o
  132. length 200
  133. FMT(vowel/oo_1)
  134. endphoneme
  135. phoneme u
  136. vowel starttype #u endtype #u
  137. length 100
  138. FMT(vowel/u)
  139. endphoneme
  140. phoneme u:
  141. vowel starttype #u endtype #u
  142. length 250
  143. FMT(vowel/u)
  144. endphoneme
  145. phoneme ai
  146. vowel starttype #a endtype #i
  147. length 250
  148. long
  149. FMT(vdiph/aai)
  150. endphoneme
  151. phoneme ei
  152. vowel starttype #e endtype #i
  153. length 250
  154. long
  155. FMT(vdiph/eei_2)
  156. endphoneme
  157. phoneme au
  158. vowel starttype #a endtype #u
  159. length 250
  160. long
  161. FMT(vdiph/aau)
  162. endphoneme
  163. phoneme uo
  164. vowel starttype #u endtype #a
  165. length 200
  166. //long
  167. FMT(vdiph2/uaa)
  168. endphoneme
  169. phoneme oi
  170. vowel starttype #o endtype #i
  171. length 250
  172. long
  173. FMT(vdiph/ooi)
  174. endphoneme
  175. phoneme ui
  176. vowel starttype #u endtype #i
  177. length 250
  178. long
  179. FMT(vdiph/ui)
  180. endphoneme
  181. phoneme ie
  182. vowel starttype #i endtype #e
  183. length 250
  184. long
  185. FMT(vdiph2/ie_2)
  186. endphoneme
  187. phoneme iu
  188. vowel starttype #i endtype #u
  189. length 250
  190. long
  191. FMT(vdiph2/iu_2)
  192. endphoneme
  193. phoneme R
  194. liquid
  195. trill
  196. lengthmod 6
  197. Vowelin f1=0 f2=1700 -300 300 f3=-300 80
  198. Vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
  199. FMT(r3/r_trill) addWav(r3/r_trill.wav, 50)
  200. endphoneme
  201. phoneme ts
  202. vls alv afrc stop nolink
  203. voicingswitch J
  204. length 55
  205. lengthmod 1
  206. WAV(ustop/ts2, 60)
  207. endphoneme
  208. phoneme tS
  209. vls pla afr sibilant
  210. voicingswitch dZ
  211. lengthmod 2
  212. length 80
  213. WAV(ustop/tsh,40)
  214. endphoneme
  215. phoneme t
  216. vls alv stop //lengthenstop
  217. lengthmod 1
  218. voicingswitch d
  219. IF nextPh(isPause2) THEN
  220. WAV(ustop/t_dnt, 20)
  221. ENDIF
  222. WAV(ustop/t_dnt, 50)
  223. endphoneme
  224. phoneme p
  225. vls blb stop
  226. lengthmod 2
  227. voicingswitch b
  228. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80
  229. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=30
  230. IF nextPh(isPause2) THEN
  231. WAV(ustop/p_unasp_, 80)
  232. ENDIF
  233. IF nextPh(l) THEN
  234. WAV(ustop/pl)
  235. ENDIF
  236. WAV(ustop/p_unasp, 120)
  237. endphoneme
  238. phoneme k
  239. vls vel stop
  240. lengthmod 2
  241. voicingswitch g
  242. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  243. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  244. IF nextPh(isPause2) THEN
  245. WAV(ustop/k_)
  246. ENDIF
  247. IF nextPh(#i) OR nextPh(l^) THEN
  248. WAV(ustop/ki)
  249. ENDIF
  250. IF nextPh(l) THEN
  251. WAV(ustop/kl)
  252. ENDIF
  253. WAV(ustop/k_unasp, 60) // weaker
  254. endphoneme
  255. phoneme c
  256. vls pal stop palatal
  257. voicingswitch J
  258. lengthmod 2
  259. WAV(ustop/c, 80)
  260. endphoneme
  261. phoneme l
  262. liquid
  263. unstressed
  264. dnt
  265. length 100
  266. FMT(vwl_hi/l-voc)
  267. endphoneme
  268. phoneme s2 // second part of long [s:]
  269. vls alv frc sibilant
  270. lengthmod 3
  271. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  272. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  273. WAV(ufric/s_continue)
  274. endphoneme