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_french 7.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. //====================================================
  2. // French
  3. //====================================================
  4. phoneme : // Lengthen previous vowel by "length"
  5. virtual
  6. length 40 // shorter than for fr-ca
  7. endphoneme
  8. phoneme @
  9. vowel starttype (@) endtype (@)
  10. unstressed
  11. length 170
  12. formants vowel/@_fr
  13. endphoneme
  14. phoneme a
  15. vowel starttype (a) endtype (a)
  16. length 170
  17. formants vowel/a_3
  18. endphoneme
  19. phoneme e
  20. vowel starttype (e) endtype (e)
  21. length 172
  22. formants vowel/e
  23. endphoneme
  24. phoneme E
  25. vowel starttype (e) endtype (e)
  26. length 170
  27. formants vowel/ee
  28. endphoneme
  29. phoneme i
  30. vowel starttype (i) endtype (i)
  31. length 160
  32. formants vowel/i_3
  33. linkout ;
  34. endphoneme
  35. phoneme i: // Slitely longer than i
  36. vowel starttype (i) endtype (i)
  37. length 212
  38. formants vowel/i_en
  39. linkout ;
  40. endphoneme
  41. phoneme o
  42. vowel starttype (o) endtype (o)
  43. length 170
  44. formants vowel/o_3
  45. endphoneme
  46. phoneme O
  47. vowel starttype (o) endtype (o)
  48. length 170
  49. formants vowel/o_mid
  50. endphoneme
  51. phoneme u
  52. vowel starttype (u) endtype (u)
  53. length 160
  54. formants vowel/u_bck
  55. endphoneme
  56. phoneme y
  57. vowel starttype (e) endtype (u)
  58. length 170
  59. formants vowel/y_2
  60. endphoneme
  61. phoneme Y
  62. vowel starttype (@) endtype (@)
  63. length 170
  64. formants vowel/y#
  65. endphoneme
  66. phoneme w
  67. liquid
  68. unstressed
  69. length 100
  70. beforenotvowel w/
  71. lengthmod 7
  72. formants w/w
  73. after _ w/_w
  74. endphoneme
  75. phoneme W
  76. vowel starttype (@) endtype (@)
  77. length 170
  78. formants vowel/@_2
  79. endphoneme
  80. phoneme w^i
  81. vowel starttype (i) endtype (i)
  82. length 220
  83. formants vdiph/yi_fr
  84. endphoneme
  85. phoneme A~
  86. vowel starttype (a) endtype (a)
  87. length 180
  88. formants vnasal/aa_n2
  89. endphoneme
  90. phoneme E~ // same as W~ for fr-fr
  91. vowel starttype (e) endtype (e)
  92. length 180
  93. formants vnasal/W_n
  94. endphoneme
  95. phoneme O~
  96. vowel starttype (o) endtype (o)
  97. length 180
  98. formants vnasal/o_n3
  99. endphoneme
  100. phoneme W~
  101. vowel starttype (@) endtype (@)
  102. length 204
  103. formants vnasal/W_n
  104. endphoneme
  105. // These vowels map to others in fr-fr, but are distinct in fr-ca
  106. phoneme I // same as [i]
  107. vowel starttype (i) endtype (i)
  108. length 158
  109. formants vowel/i
  110. linkout ;
  111. endphoneme
  112. phoneme U // same as [u]
  113. vowel starttype (u) endtype (u)
  114. length 174
  115. formants vowel/u
  116. endphoneme
  117. phoneme y" // same as [y]
  118. vowel starttype (u) endtype (u)
  119. length 148
  120. formants vowel/y_2
  121. endphoneme
  122. phoneme E: // slightly longer than [E]
  123. vowel starttype (e) endtype (e)
  124. length 212
  125. formants vowel/e
  126. endphoneme
  127. phoneme A // same as [a]
  128. vowel starttype (a) endtype (a)
  129. length 166
  130. formants vowel/a_en
  131. endphoneme
  132. // CONSONANTS
  133. //===========
  134. // uses the consonants in file "phonemes", unless overridden here
  135. phoneme b
  136. vcd blb stop
  137. vowelout f1=0 f2=1000 -500 -300 f3=-300 80 brk
  138. formants b/b+x/b%45
  139. before _ b/b_+x/b%45
  140. before (a) b/ba+x/b%45
  141. before (@) b/b@+x/b%45
  142. before (e) b/be+x/b%45
  143. before (i) b/bi+x/b%45
  144. before (o) b/bo+x/b%45
  145. before (u) b/bu+x/b%45
  146. before @- b/b@2+x/b%45
  147. after _ NULL
  148. after @ b/xb%45
  149. lengthmod 5
  150. switchvoicing p
  151. endphoneme
  152. phoneme d
  153. vcd alv stop
  154. vowelin f1=0 f2=1700 -300 300 f3=-100 80
  155. vowelout f1=0 f2=1700 -300 300 f3=-100 80
  156. formants d/d%30+x/d%30
  157. before _ d/d_%30+x/d_%30
  158. before r d/dr%60+x/d%60
  159. after _ NULL
  160. after @ d/xd%40
  161. lengthmod 5
  162. switchvoicing t
  163. endphoneme
  164. phoneme g
  165. vcd vel stop
  166. vowelin f1=2 f2=2300 200 300 f3=-300 80
  167. vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  168. formants g/g%30+x/g2%30
  169. before _ g/g_+x/g_
  170. after _ NULL
  171. after @ g/xg%30
  172. lengthmod 5
  173. switchvoicing k
  174. endphoneme
  175. phoneme k
  176. vls vel stop
  177. vowelin f1=0 f2=2300 200 400 f3=-100 80
  178. vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  179. lengthmod 2
  180. wave ustop/k%45 // reduce strength of noise burst
  181. before _ ustop/k_%45
  182. before r ustop/kr%45
  183. before l ustop/kl%45
  184. before (i) ustop/ki%45
  185. switchvoicing g
  186. endphoneme
  187. phoneme l
  188. liquid
  189. length 100
  190. lengthmod 7
  191. // beforenotvowel l/
  192. formants l/l
  193. after _ l/_l
  194. after t l/tl
  195. after l/ l/l_long // double l, make it longer
  196. before (a) l/la
  197. before (e) l/le
  198. before (i) l/li
  199. before (o) l/lo
  200. before (u) l/lu
  201. before (@) l/l@
  202. before _ l/l_
  203. endphoneme
  204. phoneme p
  205. vls blb stop
  206. vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  207. vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  208. lengthmod 2
  209. wave ustop/p%45
  210. before _ ustop/p_%45
  211. before r ustop/pr%45
  212. before R ustop/pr%45
  213. before @- ustop/p_unasp%45
  214. before l ustop/pl%45
  215. switchvoicing b
  216. endphoneme
  217. phoneme r
  218. vcd uvl frc
  219. vowelin f1=0 f2=800 -100 100 f3=-400 100
  220. vowelout f1=0 f2=800 -100 100 f3=-400 100 len=0 rms=20
  221. length 100
  222. lengthmod 7
  223. beforenotvowel r/
  224. formants vwl_fr/@R%60
  225. after t r/tr%60
  226. before _ r3/r_%60
  227. endphoneme
  228. phoneme R
  229. vcd uvl frc
  230. vowelin f1=0 f2=800 -100 100 f3=-400 100
  231. length 100
  232. lengthmod 7
  233. beforenotvowel r/
  234. formants vwl_fr/@R%60
  235. after r r/rr%60
  236. endphoneme
  237. phoneme r/ // used for [r] when not preceding a vowel
  238. vcd uvl frc
  239. length 100
  240. lengthmod 2 //
  241. formants r3/r_+r3/rx%60
  242. before n r3/r_n+r3/rx%60
  243. endphoneme
  244. phoneme s
  245. vls alv frc sibilant
  246. vowelin f1=0 f2=1700 -300 300 f3=-100 80
  247. vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  248. lengthmod 3
  249. wave ufric/s%45
  250. before _ ufric/s_%45
  251. before p ufric/s!%45
  252. before t ufric/s!%45
  253. before k ufric/s!%45
  254. switchvoicing z
  255. endphoneme
  256. phoneme S
  257. vls pla frc sibilant
  258. vowelin f1=0 f2=2100 100 300 f3=-100 80
  259. vowelout f1=0 f2=2100 100 300 f3=-100 80
  260. length 100
  261. lengthmod 3
  262. wave ufric/sh%45
  263. before _ ufric/sh_%45
  264. switchvoicing Z
  265. endphoneme
  266. phoneme t
  267. vls alv stop
  268. vowelin f1=0 f2=1700 -100 100 f3=-100 80
  269. vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  270. lengthmod 2
  271. wave ustop/t%30
  272. before _ ustop/t_%30
  273. before @- ustop/t%30
  274. before r ustop/tr%30
  275. before R ustop/tr%30
  276. switchvoicing d
  277. endphoneme
  278. phoneme t2 // silent unless followed by vowel
  279. beforenotvowel NULL
  280. vls alv stop
  281. vowelin f1=0 f2=1600 -300 300 f3=-100 80
  282. vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
  283. lengthmod 2
  284. wave ustop/t%45
  285. before _ ustop/t_%45
  286. endphoneme
  287. phoneme v
  288. vcd lbd frc
  289. vowelin f1=0 f2=1000 -300 -200 f3=-300 100
  290. vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=10
  291. lengthmod 6
  292. formants voc/v+vocw/v%75
  293. before (r) voc/vj+vocw/v%75
  294. before _ voc/v_+vocw/v%75
  295. switchvoicing f
  296. endphoneme
  297. phoneme z
  298. vcd alv frc sibilant
  299. vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  300. formants voc/z+ufric/s_%45
  301. before _ voc/z_+ufric/s_%45
  302. lengthmod 6
  303. switchvoicing s
  304. endphoneme
  305. phoneme z2 // silent unless followed by vowel
  306. beforenotvowel NULL
  307. vcd alv frc sibilant
  308. vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  309. formants voc/z+ufric/s_%45
  310. before _ voc/z_+ufric/s_%45
  311. lengthmod 6
  312. endphoneme
  313. phoneme z3 // "six" and "dix". [s] before pause, [z] before vowel, else []
  314. beforepause s
  315. beforenotvowel NULL
  316. vcd alv frc sibilant
  317. vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  318. formants voc/z+ufric/s_%45
  319. before _ voc/z_+ufric/s_%45
  320. lengthmod 6
  321. endphoneme