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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  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. length 160
  11. formants vowel/@_2
  12. endphoneme
  13. phoneme a
  14. vowel starttype (a) endtype (a)
  15. length 160
  16. formants vowel/a_3
  17. endphoneme
  18. phoneme e
  19. vowel starttype (e) endtype (e)
  20. length 172
  21. formants vowel/e
  22. endphoneme
  23. phoneme E
  24. vowel starttype (e) endtype (e)
  25. length 164
  26. formants vowel/ee
  27. endphoneme
  28. phoneme i
  29. vowel starttype (i) endtype (i)
  30. length 160
  31. formants vowel/i
  32. linkout ;
  33. endphoneme
  34. phoneme o
  35. vowel starttype (o) endtype (o)
  36. length 170
  37. formants vowel/o_3
  38. endphoneme
  39. phoneme O
  40. vowel starttype (o) endtype (o)
  41. length 170
  42. formants vowel/o_mid
  43. endphoneme
  44. phoneme u
  45. vowel starttype (u) endtype (u)
  46. length 160
  47. formants vowel/u_2
  48. endphoneme
  49. phoneme y
  50. vowel starttype (e) endtype (u)
  51. length 160
  52. formants vowel/y_2
  53. endphoneme
  54. phoneme Y
  55. vowel starttype (@) endtype (@)
  56. length 170
  57. formants vowel/y#
  58. endphoneme
  59. phoneme w
  60. liquid
  61. length 120
  62. beforenotvowel w/
  63. lengthmod 7
  64. formants w/w
  65. after _ w/_w
  66. endphoneme
  67. phoneme W
  68. vowel starttype (@) endtype (@)
  69. length 170
  70. formants vowel/@_2
  71. endphoneme
  72. phoneme w^i
  73. vowel starttype (i) endtype (i)
  74. length 220
  75. formants vdiph/yi_fr
  76. endphoneme
  77. phoneme A~
  78. vowel starttype (a) endtype (a)
  79. length 160
  80. formants vnasal/aa_n3
  81. endphoneme
  82. phoneme E~ // same as W~ for fr-fr
  83. vowel starttype (e) endtype (e)
  84. length 170
  85. formants vnasal/W_n
  86. endphoneme
  87. phoneme O~
  88. vowel starttype (o) endtype (o)
  89. length 160
  90. formants vnasal/o_n3
  91. endphoneme
  92. phoneme W~
  93. vowel starttype (@) endtype (@)
  94. length 204
  95. formants vnasal/W_n
  96. endphoneme
  97. // These vowels map to others in fr-fr, but are distinct in fr-ca
  98. phoneme I // same as [i]
  99. vowel starttype (i) endtype (i)
  100. length 158
  101. formants vowel/i
  102. linkout ;
  103. endphoneme
  104. phoneme U // same as [u]
  105. vowel starttype (u) endtype (u)
  106. length 174
  107. formants vowel/u
  108. endphoneme
  109. phoneme y" // same as [y]
  110. vowel starttype (u) endtype (u)
  111. length 148
  112. formants vowel/y_2
  113. endphoneme
  114. phoneme E: // slightly longer than [E]
  115. vowel starttype (e) endtype (e)
  116. length 212
  117. formants vowel/e
  118. endphoneme
  119. phoneme A // same as [a]
  120. vowel starttype (a) endtype (a)
  121. length 166
  122. formants vowel/a_en
  123. endphoneme
  124. // CONSONANTS
  125. //===========
  126. // uses the consonants in file "phonemes", unless overridden here
  127. phoneme l
  128. liquid
  129. length 100
  130. lengthmod 7
  131. // beforenotvowel l/
  132. formants l/l_3
  133. // after _ l/_l
  134. // after t l/tl
  135. after l/ l/l_long // double l, make it longer
  136. endphoneme
  137. phoneme r
  138. vcd uvl frc
  139. vowelin f1=0 f2=800 -100 100 f3=-400 100
  140. length 100
  141. lengthmod 7
  142. beforenotvowel r/
  143. formants vwl_fr/@R%40
  144. endphoneme
  145. phoneme R
  146. vcd uvl frc
  147. vowelin f1=0 f2=800 -100 100 f3=-400 100
  148. length 100
  149. lengthmod 7
  150. beforenotvowel r/
  151. formants vwl_fr/@R%40
  152. endphoneme
  153. phoneme r/ // used for [r] when not preceding a vowel
  154. vcd uvl frc
  155. length 100
  156. lengthmod 2 //
  157. formants r3/r_
  158. // before n r3/r_n+r3/rx
  159. endphoneme
  160. phoneme t
  161. vls alv stop
  162. vowelin f1=0 f2=1700 -100 100 f3=-100 80
  163. vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  164. lengthmod 2
  165. wave ustop/t%50
  166. before _ ustop/t_%40
  167. before @- ustop/t%50
  168. // before r ustop/tr
  169. // before R ustop/tr
  170. switchvoicing d
  171. endphoneme
  172. phoneme t2 // silent unless followed by vowel
  173. beforenotvowel NULL
  174. vls alv stop
  175. vowelin f1=0 f2=1600 -300 300 f3=-100 80
  176. vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
  177. lengthmod 2
  178. wave ustop/t
  179. before _ ustop/t_
  180. endphoneme
  181. phoneme z2 // silent unless followed by vowel
  182. beforenotvowel NULL
  183. vcd alv frc sibilant
  184. vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  185. formants voc/z+ufric/s_
  186. before _ voc/z_+ufric/s_
  187. lengthmod 6
  188. endphoneme
  189. phoneme k
  190. vls vel stop
  191. vowelin f1=0 f2=2300 200 400 f3=-100 80
  192. vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  193. lengthmod 2
  194. wave ustop/k%60 // reduce strength of noise burst
  195. before _ ustop/k_
  196. before r ustop/kr
  197. before l ustop/kl
  198. before (i) ustop/ki
  199. switchvoicing g
  200. endphoneme
  201. phoneme v
  202. vcd lbd frc
  203. vowelin f1=0 f2=1000 -300 -200 f3=-300 100
  204. vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
  205. lengthmod 6
  206. formants voc/v_+vocw/v
  207. before _ voc/v_+vocw/v
  208. switchvoicing f
  209. endphoneme
  210. phoneme B
  211. vcd blb frc
  212. vowelin f1=2 f2=1000 -300 -200 f3=-100 100
  213. vowelout f1=2 f2=1000 -500 -300 f3=-100 60 len=50
  214. lengthmod 6
  215. formants b/b
  216. switchvoicing f
  217. endphoneme
  218. phoneme p
  219. vls blb stop
  220. vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  221. vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  222. lengthmod 2
  223. wave ustop/p
  224. before _ ustop/p_
  225. // before r ustop/pr
  226. // before R ustop/pr
  227. before @- ustop/p_unasp
  228. before l ustop/pl
  229. switchvoicing b
  230. endphoneme