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

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