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_hindi 9.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542
  1. //====================================================
  2. // Hindi
  3. //====================================================
  4. phoneme : // Lengthen the previous vowel by "length"
  5. virtual
  6. length 100
  7. endphoneme
  8. phoneme @
  9. vowel starttype (@) endtype (@)
  10. length 130
  11. formants vowel/@_bck
  12. before H vowel/@_low
  13. reduceto @- 0
  14. endphoneme
  15. phoneme V
  16. vowel starttype (@) endtype (@)
  17. length 130
  18. formants vowel/V_3
  19. before H vowel/@_low
  20. reduceto @ 4
  21. endphoneme
  22. phoneme @2
  23. vowel starttype (@) endtype (@)
  24. length 130
  25. formants vowel/@_low
  26. endphoneme
  27. phoneme @3
  28. vowel starttype (@) endtype (@)
  29. length 130
  30. formants vowel/@_3
  31. reduceto @- 0
  32. endphoneme
  33. phoneme @4
  34. vowel starttype (@) endtype (@)
  35. length 130
  36. formants vowel/@
  37. endphoneme
  38. phoneme i:
  39. vowel long starttype (i) endtype (i)
  40. length 230
  41. formants vowel/i_fnt
  42. linkout ;
  43. endphoneme
  44. phoneme i // as [i:] but not marked as 'long'
  45. vowel starttype (i) endtype (i)
  46. length 230
  47. formants vowel/i_fnt
  48. linkout ;
  49. endphoneme
  50. phoneme I
  51. vowel starttype (i) endtype (i)
  52. length 100
  53. formants vowel/ii_3
  54. linkout ;
  55. endphoneme
  56. phoneme e:
  57. vowel long starttype (e) endtype (e)
  58. length 220
  59. formants vowel/e_2
  60. endphoneme
  61. phoneme e
  62. vowel starttype (e) endtype (e)
  63. length 130
  64. formants vowel/e_2
  65. endphoneme
  66. phoneme E:
  67. vowel long starttype (e) endtype (e)
  68. length 220
  69. formants vdiph/ee-e
  70. endphoneme
  71. phoneme E
  72. vowel starttype (e) endtype (e)
  73. length 130
  74. formants vowel/e_mid
  75. endphoneme
  76. phoneme E~
  77. vowel starttype (e) endtype (e)
  78. length 230
  79. formants vnasal/ee_n2
  80. endphoneme
  81. phoneme &:
  82. vowel long starttype (a) endtype (a)
  83. length 220
  84. formants vowel/&
  85. endphoneme
  86. phoneme a:
  87. vowel long starttype (a) endtype (a)
  88. length 230
  89. formants vwl_hi/A
  90. endphoneme
  91. phoneme a
  92. vowel long starttype (a) endtype (a)
  93. length 130
  94. formants vowel/a#_3
  95. endphoneme
  96. phoneme o:
  97. vowel long starttype (o) endtype (o)
  98. length 220
  99. formants vowel/o_2
  100. endphoneme
  101. phoneme o
  102. vowel starttype (o) endtype (o)
  103. length 130
  104. formants vowel/o
  105. endphoneme
  106. phoneme O:
  107. vowel long starttype (o) endtype (o)
  108. length 210
  109. formants vowel/oo_4
  110. endphoneme
  111. phoneme o~
  112. vowel long starttype (o) endtype (o)
  113. length 220
  114. formants vnasal/o_n
  115. endphoneme
  116. phoneme O~
  117. vowel long starttype (o) endtype (o)
  118. length 230
  119. formants vnasal/oo_n2
  120. endphoneme
  121. phoneme O
  122. vowel starttype (o) endtype (o)
  123. length 130
  124. formants vowel/0
  125. endphoneme
  126. phoneme U
  127. vowel starttype (u) endtype (u)
  128. length 120
  129. formants vowel/uu_bck
  130. endphoneme
  131. phoneme u:
  132. vowel long starttype (u) endtype (u)
  133. length 230
  134. formants vowel/u_bck
  135. endphoneme
  136. phoneme r-
  137. vowel starttype (@) endtype (@)
  138. unstressed
  139. length 220
  140. formants vowelr/r-voc
  141. endphoneme
  142. phoneme l-
  143. vowel starttype (@) endtype (@)
  144. unstressed
  145. length 200
  146. formants vwl_hi/l-voc
  147. endphoneme
  148. // Diphthongs
  149. //===========
  150. phoneme aI
  151. vowel long starttype (@) endtype (i)
  152. length 240
  153. long
  154. formants vdiph/&i
  155. endphoneme
  156. phoneme aU
  157. vowel long starttype (a) endtype (u)
  158. length 240
  159. long
  160. formants vdiph/aau_3
  161. endphoneme
  162. // CONSONANTS
  163. //===========
  164. phoneme v // no fricative noise
  165. vcd lbd frc
  166. vowelin f1=1 f2=900 -300 -300 f3=-100 100
  167. vowelout f1=1 f2=900 -500 -300 f3=-100 60 len=50
  168. lengthmod 6
  169. formants voc/v
  170. before _ voc/v_
  171. switchvoicing f
  172. endphoneme
  173. phoneme h // use with voiced aspirated conants [bh] [dh] etc
  174. vls glt apr
  175. length 100
  176. lengthmod 3
  177. wave ufric/h_%70 // no vowel following
  178. before (@) ufric/h@+35
  179. before (a) ufric/ha+35
  180. before (e) ufric/he+35
  181. before (i) ufric/hi+35
  182. before (o) ufric/ho+35
  183. before (u) ufric/hu+35
  184. endphoneme
  185. phoneme H // use for full "h"
  186. vls glt apr
  187. length 100
  188. lengthmod 3
  189. wave ufric/h_%70 // no vowel following
  190. before (@) ufric/h@
  191. before (a) ufric/ha
  192. before (e) ufric/he
  193. before (i) ufric/hi
  194. before (o) ufric/ho
  195. before (u) ufric/hu
  196. endphoneme
  197. // bilabial plosives
  198. //==================
  199. phoneme p
  200. vls blb stop
  201. vowelin f1=1 f2=1000 -50 -100 f3=-200 80
  202. vowelout f1=1 f2=1000 -500 -350 f3=-300 80 rms=30
  203. lengthmod 2
  204. wave ustop/p_unasp
  205. before _ ustop/p_unasp_%80
  206. before r ustop/pr
  207. before l ustop/pl
  208. switchvoicing b
  209. endphoneme
  210. phoneme ph
  211. vls blb stop
  212. vowelin f1=0 f2=1000 -50 -100 f3=-200 80
  213. vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=30
  214. lengthmod 2
  215. wave ustop/p
  216. before _ ustop/p_
  217. before r ustop/pr
  218. before l ustop/pl
  219. switchvoicing b
  220. endphoneme
  221. phoneme b // this is [b]
  222. vcd blb stop
  223. vowelout f1=1 f2=1000 -500 -300 f3=-300 80 brk
  224. formants b/b+x/b
  225. before _ b/b_+x/b
  226. before (a) b/ba+x/b
  227. before (@) b/b@+x/b
  228. before (e) b/be+x/b
  229. before (i) b/bi+x/b
  230. before (o) b/bo+x/b
  231. before (u) b/bu+x/b
  232. before @- b/b@2+x/b
  233. after _ NULL
  234. after @ b/xb
  235. lengthmod 5
  236. switchvoicing p
  237. endphoneme
  238. //phoneme bh // use [b]+[h]
  239. // vcd blb stop
  240. // vowelout f1=1 f2=1000 -500 -300 f3=-300 80 brk
  241. // formants b/b+x/b
  242. // before _ b/b_+x/b_
  243. // before (a) b/ba+x/b
  244. // before (@) b/b@+x/b
  245. // before (e) b/be+x/b
  246. // before (i) b/bi+x/b
  247. // before (o) b/bo+x/b
  248. // before (u) b/bu+x/b
  249. // before @- b/b@2+x/b
  250. // after _ NULL
  251. // after @ b/xb
  252. // lengthmod 5
  253. // switchvoicing p
  254. //endphoneme
  255. // dental plosives
  256. //==================
  257. phoneme t // dental variant of /t/
  258. vls dnt stop
  259. vowelin f1=1 f2=1600 -300 300 f3=-100 80
  260. vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
  261. lengthmod 2
  262. wave ustop/t_dnt2%60
  263. before _ ustop/t_dnt%35
  264. switchvoicing d
  265. endphoneme
  266. phoneme th // dental variant of /t/ Same as [t] for now
  267. vls dnt stop
  268. vowelin f1=0 f2=1600 -300 300 f3=-100 80
  269. vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
  270. lengthmod 2
  271. wave ustop/t_dnt%50+ufric/h@
  272. switchvoicing d
  273. endphoneme
  274. phoneme d // (weak) dental variant of /d/
  275. vcd dnt stop
  276. vowelin f1=2 f2=1700 -300 300 f3=-100 80
  277. vowelout f1=2 f2=1700 -300 300 f3=-100 80 rms=20 len=1
  278. formants d/d_dnt+x/d_dnt%50
  279. before _ d/d_+x/d_
  280. before r d/dr+x/d_dnt%60
  281. after _ NULL
  282. after @ d/xd_dnt
  283. lengthmod 5
  284. switchvoicing t
  285. endphoneme
  286. //phoneme dh // use [d]+[h]
  287. // vcd dnt stop
  288. // vowelin f1=1 f2=1700 -200 200 f3=100 80
  289. // vowelout f1=1 f2=1700 -200 200 f3=100 80 rms=20 len=1
  290. // formants d/d+x/d_dnt%60
  291. // before _ d/d_+x/d_
  292. // before r d/dr+x/d_dnt%60
  293. // after _ NULL
  294. // after @ d/xd
  295. // lengthmod 5
  296. // switchvoicing t
  297. //endphoneme
  298. // retroflex plosives
  299. //===================
  300. phoneme t.
  301. vls rfx stop
  302. vowelin f1=0 f2=1800 -300 300 f3=-400 80
  303. vowelout f1=0 f2=1800 -300 250 f3=-400 80 rms=20 colr=2
  304. lengthmod 2
  305. wave ustop/t_short
  306. before _ ustop/t_
  307. switchvoicing d
  308. endphoneme
  309. phoneme t.h
  310. vls rfx stop
  311. vowelin f1=0 f2=1800 -300 300 f3=-400 80
  312. vowelout f1=0 f2=1800 -300 250 f3=-400 80 rms=20 colr=2
  313. lengthmod 2
  314. wave ustop/t
  315. before _ ustop/t_
  316. before r ustop/tr
  317. switchvoicing d
  318. endphoneme
  319. phoneme d.
  320. vcd rfx stop
  321. vowelin f1=1 f2=1800 -300 300 f3=-400 80
  322. vowelout f1=1 f2=1800 -300 300 f3=-400 80 colr=2
  323. formants d/d+x/d
  324. before _ d/d_+x/d_
  325. before r d/dr+x/d
  326. after _ NULL
  327. after @ d/xd
  328. lengthmod 5
  329. switchvoicing t
  330. endphoneme
  331. //phoneme d.h // use [d.]+[h]
  332. // vcd rfx stop
  333. // vowelin f1=1 f2=1800 -300 300 f3=-400 80
  334. // vowelout f1=1 f2=1800 -300 300 f3=-400 80 colr=2
  335. // formants d/d+x/d
  336. // before _ d/d_+x/d_
  337. // before r d/dr+x/d
  338. // after _ NULL
  339. // after @ d/xd
  340. // lengthmod 5
  341. // switchvoicing t
  342. //endphoneme
  343. // palatal plosives
  344. //=================
  345. // also try [tS] and [dZ]
  346. phoneme c // this is [ts;]
  347. vls pal afr sibilant
  348. vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  349. vowelout f1=0 f2=2700 400 600 f3=300 80 colr=1
  350. lengthmod 2
  351. wave ustop/ts_pzd2%80
  352. before _ ustop/ts_pzd_
  353. switchvoicing J
  354. endphoneme
  355. phoneme ch // this is [ts;]
  356. vls pal afr sibilant
  357. vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  358. vowelout f1=0 f2=2700 400 600 f3=300 80 colr=1
  359. lengthmod 2
  360. wave ustop/ts_pzd
  361. before _ ustop/ts_pzd
  362. switchvoicing J
  363. endphoneme
  364. phoneme J // this is [dz;]
  365. vcd pla afr sibilant
  366. vowelin f1=1 f2=2700 400 600 f3=300 80 rate len=70
  367. vowelout f1=2 f2=2700 400 600 f3=300 80 colr=1
  368. formants dzh/dzh+x/dz_pzd
  369. before _ dzh/dzh_+x/dzh_
  370. after _ NULL @ dzh/xdzh
  371. lengthmod 5
  372. switchvoicing c
  373. endphoneme
  374. phoneme J2 // TEST
  375. vcd pla afr sibilant
  376. vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  377. vowelout f1=2 f2=2700 400 600 f3=300 80 colr=1
  378. formants dzh/dz_pzd+x/dzh%40
  379. before _ dzh/dz_pzd_+x/dz_pzd_%70
  380. after _ NULL
  381. after @ dzh/xdz_pzd
  382. lengthmod 5
  383. switchvoicing c
  384. endphoneme
  385. //phoneme xJh // use [J]+[h]
  386. // vcd pla afr sibilant
  387. // vowelin f1=1 f2=2700 400 600 f3=300 80 rate len=70
  388. // formants dzh/dzh+x/dz_pzd
  389. // before _ dzh/dzh_+x/dzh_
  390. // after _ NULL @ dzh/xdzh
  391. // lengthmod 5
  392. // switchvoicing ts;
  393. //endphoneme
  394. // velar plosives
  395. //==================
  396. phoneme k
  397. vls vel stop
  398. vowelin f1=0 f2=2300 200 300 f3=-150 80
  399. vowelout f1=0 f2=2300 300 400 f3=-150 80 rms=20
  400. lengthmod 2
  401. wave ustop/k_unasp%60 // weaker
  402. before _ ustop/k_unasp%50
  403. before r ustop/kr
  404. before l ustop/kl
  405. before (i) ustop/ki
  406. switchvoicing g
  407. endphoneme
  408. phoneme kh // this is english [k]
  409. vls vel stop
  410. vowelin f1=0 f2=2300 200 300 f3=-150 80
  411. vowelout f1=0 f2=2300 300 400 f3=-150 80 rms=20
  412. lengthmod 2
  413. wave ustop/k
  414. before _ ustop/k_
  415. before r ustop/kr
  416. before l ustop/kl
  417. switchvoicing g
  418. endphoneme
  419. phoneme g //
  420. vcd vel stop
  421. vowelin f1=1 f2=2300 200 300 f3=-300 80
  422. vowelout f1=1 f2=2300 250 300 f3=-300 80 brk
  423. formants g/g+x/g2
  424. before _ g/g_+x/g2_
  425. after _ NULL
  426. after @ g2/xg
  427. lengthmod 5
  428. endphoneme
  429. //phoneme gh // this is English [g] // use [g]+[h]
  430. // vcd vel stop
  431. // vowelin f1=1 f2=2300 200 400 f3=-100 80
  432. // vowelout f1=1 f2=2300 250 300 f3=-300 80 brk
  433. // formants g/g+x/g
  434. // before _ g/g_+x/g_
  435. // after _ NULL
  436. // after @ g/xg
  437. // lengthmod 5
  438. // switchvoicing k
  439. //endphoneme