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.

phonemes 25KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506
  1. // This is the master phoneme file.
  2. //*******************************************************************
  3. // Stress Phonemes
  4. //*******************************************************************
  5. phoneme % // Unstressed
  6. stress
  7. stress_type 1
  8. endphoneme
  9. phoneme %% // Diminished stress
  10. stress
  11. stress_type 0
  12. endphoneme
  13. phoneme \, // [,] Secondary stress
  14. stress
  15. stress_type 2
  16. endphoneme
  17. phoneme \,\, // [,,] Secondary stress
  18. stress
  19. stress_type 3
  20. endphoneme
  21. phoneme ' // Primary stress
  22. stress
  23. stress_type 4
  24. endphoneme
  25. phoneme '' // Primary stress (priority)
  26. stress
  27. stress_type 5
  28. endphoneme
  29. phoneme '! // Primary stress (emphasized)
  30. stress
  31. stress_type 6
  32. endphoneme
  33. phoneme = // Place stress on previous vowel
  34. stress
  35. stress_type 2
  36. endphoneme
  37. //*******************************************************************
  38. // IPA Phonemes
  39. //*******************************************************************
  40. phonemetable ipa base
  41. include ph_ipa
  42. phonemetable base1 base
  43. // The base phoneme table contains the utility phonemes, the consonants,
  44. // and a schwa. The vowels are defined in the language specific phoneme
  45. // tables, which can also redefine consonants if they wish.
  46. //*******************************************************************
  47. // UTILITY PHONEMES
  48. //*******************************************************************
  49. phoneme || // End Word
  50. pause
  51. lengthmod 9 // no effect
  52. endphoneme
  53. phoneme _ // Short pause
  54. pause
  55. starttype _ endtype _
  56. lengthmod 1
  57. length 25
  58. endphoneme
  59. phoneme _! // Short pause, don't replace by linking
  60. pause
  61. starttype _ endtype _
  62. lengthmod 1
  63. nolink
  64. length 35
  65. endphoneme
  66. phoneme _| // Very short pause
  67. pause
  68. starttype _ endtype _
  69. lengthmod 5
  70. length 1
  71. endphoneme
  72. phoneme _: // Standard pause
  73. pause
  74. starttype _ endtype _
  75. lengthmod 1
  76. length 75
  77. endphoneme
  78. phoneme _:: // Long pause
  79. pause
  80. starttype _ endtype _
  81. lengthmod 1
  82. length 150
  83. endphoneme
  84. phoneme _;_ // clause pause
  85. pause
  86. starttype _ endtype _
  87. lengthmod 1
  88. length 200
  89. endphoneme
  90. phoneme _^_ // Change dictionary (followed by language-code in ascii
  91. pause
  92. starttype _ endtype _
  93. lengthmod 1
  94. length 10
  95. endphoneme
  96. phoneme _X1 // a language specific action
  97. pause
  98. starttype _ endtype _
  99. lengthmod 1
  100. length 10
  101. endphoneme
  102. phoneme ? // glottal stp
  103. vls glt stp
  104. lengthmod 3 // ??
  105. nolink
  106. Vowelin glstop
  107. Vowelout glstop
  108. WAV(ustop/null)
  109. endphoneme
  110. phoneme : // lengthen previous vowel by "length"
  111. virtual
  112. length 70
  113. endphoneme
  114. phoneme - // Indicates the previous phoneme is a syllabic consonant
  115. virtual
  116. endphoneme
  117. // Some default vowel definitions
  118. phoneme @ // Schwa, e.g. alph**a**
  119. vwl starttype #@ endtype #@
  120. unstressed
  121. length 140
  122. FMT(vowel/@)
  123. endphoneme
  124. phoneme @- // very short schwa
  125. vwl starttype #@ endtype #@
  126. unstressed nsy
  127. ipa ə
  128. IF nextPhW(*) OR nextPhW(r) THEN
  129. ipa NULL // @-* is used to make 'r'
  130. ENDIF
  131. length 50
  132. FMT(vowel/@-)
  133. endphoneme
  134. phoneme a // tr**a**p
  135. vwl starttype #a endtype #a
  136. length 180
  137. FMT(vowel/a)
  138. endphoneme
  139. phoneme e // German **eh**, French **é**
  140. vwl starttype #e endtype #e
  141. length 170
  142. FMT(vowel/e)
  143. endphoneme
  144. phoneme i
  145. vwl starttype #i endtype #i
  146. length 170
  147. IfNextVowelAppend(;)
  148. FMT(vowel/i)
  149. endphoneme
  150. phoneme o // German **oo**, French **o**
  151. vwl starttype #o endtype #o
  152. length 170
  153. FMT(vowel/oo)
  154. endphoneme
  155. phoneme u
  156. vwl starttype #u endtype #u
  157. length 170
  158. FMT(vowel/u)
  159. endphoneme
  160. // Syllablic consonants
  161. //=====================
  162. phoneme m-
  163. vwl starttype #@ endtype #@
  164. ipa mU+0329
  165. lengthmod 4
  166. length 170
  167. IF thisPh(isWordStart) THEN
  168. length 190
  169. ENDIF
  170. IF KlattSynth THEN
  171. FMT(klatt/m-syl)
  172. ENDIF
  173. FMT(m/m-syl)
  174. endphoneme
  175. phoneme n-
  176. vwl starttype #@ endtype #@
  177. ipa nU+0329
  178. lengthmod 4
  179. length 170
  180. IF thisPh(isWordStart) THEN
  181. length 190
  182. ENDIF
  183. IF KlattSynth THEN
  184. FMT(klatt/n-syl)
  185. ENDIF
  186. FMT(n/n-syl)
  187. endphoneme
  188. phoneme N-
  189. vwl starttype #e endtype #e
  190. ipa ŋU+0329
  191. lengthmod 4
  192. length 190
  193. FMT(nn/nn-syl)
  194. endphoneme
  195. //*******************************************************************
  196. // Other sounds
  197. //*******************************************************************
  198. phoneme #X1 // click, use for indicating capital letters
  199. vls alv frc sib
  200. lengthmod 3
  201. WAV(ustop/percus10, 60)
  202. endphoneme
  203. //*******************************************************************
  204. // VIRTUAL - referred to in vowels' vwl starttype and endtype
  205. // These each apply to a class of vowels
  206. //*******************************************************************
  207. phoneme #@ virtual
  208. endphoneme
  209. phoneme #a virtual
  210. endphoneme
  211. phoneme #e virtual
  212. endphoneme
  213. phoneme #i virtual
  214. endphoneme
  215. phoneme #o virtual
  216. endphoneme
  217. phoneme #u virtual
  218. endphoneme
  219. //*******************************************************************
  220. // SONORANTS
  221. //*******************************************************************
  222. phoneme r- // syllabic r
  223. vwl starttype #@ endtype #@
  224. ipa rU+0329
  225. unstressed
  226. length 220
  227. FMT(vowelr/r-voc)
  228. endphoneme
  229. phoneme l- // syllabic l
  230. vwl starttype #@ endtype #@
  231. ipa lU+0329
  232. unstressed
  233. length 200
  234. FMT(vwl_hi/l-voc)
  235. endphoneme
  236. phoneme r // **r**ed (Omitted if not immediately followed by a vowel)
  237. import_phoneme ipa/r\\
  238. endphoneme
  239. phoneme r/ // used for [r] when not preceding a vowel
  240. import_phoneme ipa/r\\
  241. endphoneme
  242. phoneme R
  243. liquid trl
  244. lengthmod 6
  245. ipa r
  246. IF nextPhW(R2) THEN
  247. ipa NULL
  248. ENDIF
  249. Vowelin f1=0 f2=1600 -300 300 f3=-200 80
  250. Vowelout f1=2 f2=1600 -300 300 f3=-200 80 brk
  251. FMT(r3/r_trill2) addWav(r3/r_trill2.wav, 65)
  252. endphoneme
  253. phoneme R2 // this is [R] from Slovak/Czech
  254. liquid trl
  255. lengthmod 6
  256. ipa r
  257. Vowelin f1=0 f2=1700 -300 300 f3=-300 80
  258. Vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
  259. FMT(r3/r_trill) addWav(r3/r_trill.wav, 50)
  260. endphoneme
  261. phoneme R3 // Afrikaans
  262. liquid trl
  263. lengthmod 6
  264. length 60
  265. ipa r
  266. Vowelin f1=2 f2=2700 -300 -200 f3=-1300 80
  267. Vowelout f1=2 f2=1700 -300 -200 f3=-1300 80
  268. // vowel modifier is the same as for [r]
  269. NextVowelStarts
  270. VowelStart(r/r@, -15)
  271. VowelStart(r/ra, -15)
  272. VowelStart(r/re, -15)
  273. VowelStart(r/ri, -15)
  274. VowelStart(r/ro, -15)
  275. VowelStart(r/ru, -15)
  276. EndSwitch
  277. IF prevPh(isVowel) THEN
  278. VowelEnding(r/xr, -50)
  279. ENDIF
  280. FMT(r3/r_trill) addWav(r3/r_trill3.wav)
  281. endphoneme
  282. phoneme r" // uvular trill
  283. vcd uvl frc
  284. ipa ʀ
  285. lengthmod 6
  286. IF nextPh(isNotVowel) THEN
  287. FMT(r3/r_uvl) addWav(r3/r_uvl.wav, 50)
  288. ENDIF
  289. FMT(r3/r_uvl) addWav(r3/r_uvl.wav, 75)
  290. endphoneme
  291. procedure vowelstart_l
  292. NextVowelStarts
  293. VowelStart(l/l@)
  294. VowelStart(l/la)
  295. VowelStart(l/le)
  296. VowelStart(l/li, -10)
  297. VowelStart(l/lo)
  298. VowelStart(l/lu)
  299. EndSwitch
  300. endprocedure
  301. phoneme l
  302. liquid
  303. lengthmod 7
  304. IF nextPh(isNotVowel) THEN
  305. ChangePhoneme(l/)
  306. ENDIF
  307. IF nextPh(isNotVowel) THEN
  308. // in case the next phoneme is no longer a vowel, in pass=2
  309. PrevVowelEndings
  310. VowelEnding(l/L1_@L, -60)
  311. VowelEnding(l/L1_aL, -40)
  312. VowelEnding(l/L1_eL, -30)
  313. VowelEnding(l/L1_iL, -30)
  314. VowelEnding(l/L1_oL, -40)
  315. VowelEnding(l/L1_uL, -40)
  316. EndSwitch
  317. FMT(l/l_)
  318. RETURN
  319. ENDIF
  320. CALL vowelstart_l
  321. IF prevPh(#@) THEN
  322. VowelEnding(l/xl, -50)
  323. ELIF prevPh(isVowel) THEN
  324. VowelEnding(l/xl, -40)
  325. ENDIF
  326. IF prevPh(isPause) THEN
  327. FMT(l/_l)
  328. ENDIF
  329. IF prevPh(t) THEN
  330. FMT(l/tl)
  331. ENDIF
  332. IF prevPh(l/) THEN
  333. FMT(l/l_long) // double l, make it longer
  334. ENDIF
  335. FMT(l/l)
  336. endphoneme
  337. phoneme l/ // used for [l] when not before a vowel
  338. liquid
  339. lengthmod 7
  340. IF nextPh(isVowel) THEN
  341. ChangePhoneme(l)
  342. ENDIF
  343. PrevVowelEndings
  344. VowelEnding(l/L1_@L, -60)
  345. VowelEnding(l/L1_aL, -40)
  346. VowelEnding(l/L1_eL, -30)
  347. VowelEnding(l/L1_iL, -30)
  348. VowelEnding(l/L1_oL, -40)
  349. VowelEnding(l/L1_uL, -40)
  350. EndSwitch
  351. // we need to replace these with new FMT sequeces for jl and wl
  352. IF prevPhW(j) THEN
  353. FMT(l/L1_eL)
  354. ENDIF
  355. IF prevPhW(w) THEN
  356. FMT(l/L1_eL)
  357. ENDIF
  358. FMT(l/l_)
  359. endphoneme
  360. phoneme l/2 // 'dark' [l] after a vowel
  361. liquid
  362. lengthmod 7
  363. IF nextPh(isVowel) THEN
  364. ChangePhoneme(l)
  365. ENDIF
  366. CALL vowelstart_l
  367. IF prevPhW(j) THEN
  368. FMT(l/L2_eL)
  369. ENDIF
  370. IF prevPhW(w) THEN
  371. FMT(l/L2_uL)
  372. ENDIF
  373. PrevVowelEndings
  374. VowelEnding(l/L2_@L, -60)
  375. VowelEnding(l/L2_aL, -50)
  376. VowelEnding(l/L2_eL, -40)
  377. VowelEnding(l/L2_iL, -30)
  378. VowelEnding(l/L2_oL, -50)
  379. VowelEnding(l/L2_uL, -40)
  380. EndSwitch
  381. endphoneme
  382. phoneme l/3 // Replacement for [l/]
  383. liquid
  384. lengthmod 7
  385. IF nextPh(isVowel) THEN
  386. ChangePhoneme(l)
  387. ENDIF
  388. PrevVowelEndings
  389. VowelEnding(l/l_@)
  390. VowelEnding(l/l_a)
  391. VowelEnding(l/l_e)
  392. VowelEnding(l/l_i)
  393. VowelEnding(l/l_o)
  394. VowelEnding(l/l_u, -20)
  395. EndSwitch
  396. // IF nextPh(isLiquid) THEN
  397. // FMT(l/_l)
  398. // ENDIF
  399. FMT(l/l_)
  400. endphoneme
  401. phoneme l^ // palatal l, e.g. Italian **g**li
  402. liquid
  403. ipa ʎ
  404. lengthmod 7
  405. Vowelout len=60 lenadd rate
  406. length 100
  407. NextVowelStarts
  408. VowelStart(l^/j2@)
  409. VowelStart(l^/j2a)
  410. VowelStart(l^/j2e)
  411. VowelStart(l^/j2i)
  412. VowelStart(l^/j2o)
  413. VowelStart(l^/j2u)
  414. EndSwitch
  415. IF prevPh(isPause) THEN
  416. FMT(l^/_l^)
  417. ENDIF
  418. FMT(l^/l^)
  419. endphoneme
  420. phoneme l.
  421. liquid rfx
  422. ipa ɭ
  423. lengthmod 7
  424. FMT(l^/l_rfx)
  425. endphoneme
  426. phoneme L/
  427. import_phoneme base1/l/2
  428. endphoneme
  429. phoneme L // velar L
  430. liquid
  431. lengthmod 7
  432. IF nextPh(isNotVowel) THEN
  433. ChangePhoneme(L/) // use 'dark' [l] after a vowel
  434. ENDIF
  435. VowelEnding(ll/xll, -40)
  436. IF prevPh(isPause) THEN
  437. FMT(ll/_ll)
  438. ENDIF
  439. FMT(ll/ll)
  440. endphoneme
  441. phoneme w
  442. import_phoneme ipa/w
  443. endphoneme
  444. phoneme j // **y**es
  445. import_phoneme ipa/j
  446. endphoneme
  447. phoneme ; // linking j, used between (i) vowels and a following vowel
  448. // also to palatalize consonants
  449. liquid pzd
  450. lengthmod 0
  451. IF prevPh(#i) THEN
  452. ipa NULL // linking after i vowel, don't show in ipa
  453. ENDIF
  454. IF nextPh(isNotVowel) THEN
  455. ChangePhoneme(NULL) // this is to ignore this phoneme if not before a vowel
  456. ENDIF
  457. NextVowelStarts
  458. VowelStart(j2/j2@)
  459. VowelStart(j2/j2a)
  460. VowelStart(j2/j2e)
  461. VowelStart(j2/j2i)
  462. VowelStart(j2/j2o)
  463. VowelStart(j2/j2u)
  464. EndSwitch
  465. IF prevPh(#i) THEN
  466. VowelEnding(j2/xj2, -40)
  467. ENDIF
  468. IF prevPh(isPause) THEN
  469. FMT(j2/_j2)
  470. ENDIF
  471. endphoneme
  472. //*******************************************************************
  473. // NASAL CONSONANTS
  474. //*******************************************************************
  475. phoneme m
  476. import_phoneme ipa/m
  477. endphoneme
  478. phoneme n
  479. import_phoneme ipa/n
  480. endphoneme
  481. phoneme n.
  482. import_phoneme ipa/n`
  483. endphoneme
  484. phoneme n^ // Spanish **ñ**
  485. import_phoneme ipa/J
  486. endphoneme
  487. phoneme N // si**ng**
  488. import_phoneme ipa/N
  489. endphoneme
  490. phoneme ** // TEST flap
  491. liquid alv rhotic
  492. ipa ɾ
  493. lengthmod 3
  494. Vowelout f1=3 f2=1600 -300 300 f3=-300 80 rms=35 len=15
  495. Vowelin f1=2 f2=1600 -300 300 f3=-100 80 len=20
  496. IF prevPh(#i) OR prevPh(#e) THEN
  497. FMT(r3/@tap2)
  498. ENDIF
  499. FMT(r3/@tap)
  500. endphoneme
  501. phoneme * // flap
  502. vcd alv flp rhotic
  503. brkafter
  504. ipa ɾ
  505. lengthmod 3
  506. IF prevPhW(@-) THEN
  507. ipa r // @-* sequence for [r]
  508. ENDIF
  509. IF nextPh(#e) OR nextPh(#i) THEN
  510. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  511. FMT(d/tap1) addWav(r3/rx, 150)
  512. FMT(d/tap1) addWav(r3/rx, 150)
  513. ENDIF
  514. Vowelin f1=2 f2=1500 -300 300 f3=-200 80
  515. IF nextPh(#a) THEN
  516. FMT(d/tap3) addWav(r3/rx, 200)
  517. ENDIF
  518. IF nextPh(r) THEN
  519. FMT(d/dr)
  520. ENDIF
  521. Vowelout f1=3 f2=1500 -400 300 f3=-200 80 rms=35 len=50
  522. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  523. FMT(d/tap3) addWav(r3/rx, 200)
  524. endphoneme
  525. phoneme r. // retroflex
  526. liquid rfx
  527. lengthmod 3
  528. Vowelout f1=3 f2=1400 -400 300 f3=-400 80 rms=35 len=15 colr=2
  529. Vowelin f1=2 f2=1400 -400 300 f3=-400 80 len=20
  530. IF nextPh(isNotVowel) THEN
  531. FMT(r3/@tap_rfx_)
  532. ENDIF
  533. FMT(r3/@tap_rfx)
  534. endphoneme
  535. //*******************************************************************
  536. // VOICED STOPS
  537. //*******************************************************************
  538. phoneme b
  539. import_phoneme ipa/b
  540. voicingswitch p
  541. endphoneme
  542. phoneme d
  543. import_phoneme ipa/d
  544. voicingswitch t
  545. endphoneme
  546. phoneme d[
  547. import_phoneme ipa/d_d
  548. voicingswitch t[
  549. endphoneme
  550. phoneme dZ // **j**udge
  551. import_phoneme ipa/dZ\)
  552. voicingswitch tS
  553. endphoneme
  554. phoneme dZ;
  555. import_phoneme ipa/dz\\\)
  556. voicingswitch tS;
  557. endphoneme
  558. phoneme J
  559. import_phoneme ipa/J\\
  560. voicingswitch c
  561. endphoneme
  562. phoneme g
  563. import_phoneme ipa/g
  564. voicingswitch k
  565. endphoneme
  566. //*******************************************************************
  567. // VOICED fricatives
  568. //*******************************************************************
  569. phoneme B
  570. import_phoneme ipa/B
  571. voicingswitch f
  572. endphoneme
  573. phoneme v
  574. import_phoneme ipa/v
  575. voicingswitch f
  576. endphoneme
  577. phoneme v#
  578. import_phoneme ipa/P
  579. voicingswitch f
  580. endphoneme
  581. phoneme D // **th**is
  582. import_phoneme ipa/D
  583. voicingswitch T
  584. endphoneme
  585. phoneme z
  586. import_phoneme ipa/z
  587. voicingswitch s
  588. endphoneme
  589. phoneme Z // plea**s**ure
  590. import_phoneme ipa/Z
  591. voicingswitch S
  592. endphoneme
  593. phoneme z.
  594. vcd pla frc sib
  595. ipa ʐ
  596. voicingswitch s.
  597. lengthmod 6
  598. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  599. Vowelout f1=2 f2=1800 -100 300 f3=-300 80 brk
  600. IF KlattSynth THEN
  601. IF nextPh(isPause2) THEN
  602. FMT(klatt/zh_) addWav(vocw/zh_rfx)
  603. ENDIF
  604. FMT(klatt/zh) addWav(vocw/zh_rfx)
  605. ENDIF
  606. IF nextPh(isPause2) THEN
  607. FMT(voc/zh_) addWav(vocw/zh_rfx)
  608. ENDIF
  609. FMT(voc/zh) addWav(vocw/zh_rfx)
  610. endphoneme
  611. phoneme z;
  612. vcd alp sib frc
  613. ipa ʑ
  614. voicingswitch s;
  615. lengthmod 6
  616. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  617. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  618. IF nextPh(isPause2) THEN
  619. FMT(voc/z_pzd_) addWav(ufric/s_pzd_, 80)
  620. ENDIF
  621. FMT(voc/z_pzd) addWav(ufric/s_pzd, 80)
  622. endphoneme
  623. phoneme Z;
  624. vcd alp sib frc
  625. voicingswitch S;
  626. ipa ʑ
  627. lengthmod 6
  628. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  629. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  630. IF nextPh(isPause2) THEN
  631. FMT(voc/z_pzd_) addWav(ufric/sh_pzd_)
  632. ENDIF
  633. FMT(voc/z_pzd) addWav(ufric/sh_pzd, 80)
  634. endphoneme
  635. phoneme J^ // palatal fricative (Kirshenbaum C<vcd>)
  636. vcd pal frc pzd
  637. ipa ʝ
  638. voicingswitch C
  639. lengthmod 6
  640. Vowelin f1=1 f2=2700 400 600 f3=200 70
  641. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=100
  642. FMT(voc/j) addWav(ufric/ch, 25)
  643. endphoneme
  644. phoneme Q
  645. vcd vel frc
  646. voicingswitch x
  647. lengthmod 6
  648. Vowelin f1=2 f2=2300 200 400 f3=-100 80
  649. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  650. IF KlattSynth THEN
  651. IF nextPh(isPause2) THEN
  652. FMT(klatt/qqh_) addWav(vocw/Q_)
  653. ENDIF
  654. FMT(klatt/qqh) addWav(vocw/Q)
  655. ENDIF
  656. IF nextPh(isPause2) THEN
  657. FMT(voc/Q_) addWav(vocw/Q_)
  658. ENDIF
  659. FMT(voc/Q) addWav(vocw/Q)
  660. endphoneme
  661. phoneme Q^
  662. vcd vel frc
  663. lengthmod 6
  664. Vowelin f1=2 f2=2700 400 600 f3=200 80
  665. Vowelout f1=2 f2=2700 40 600 f3=200 80 brk
  666. IF nextPh(isPause2) THEN
  667. FMT(voc/Q_) addWav(vocw/Q_)
  668. ENDIF
  669. FMT(voc/Q) addWav(vocw/Q)
  670. endphoneme
  671. phoneme Q"
  672. vcd uvl frc
  673. ipa ʁ
  674. lengthmod 6
  675. IF nextPh(isPause2) THEN
  676. FMT(voc/Q_ulv) addWav(ufric/xx, 60)
  677. ENDIF
  678. FMT(voc/Q_ulv) addWav(ufric/xx, 80)
  679. endphoneme
  680. //*******************************************************************
  681. // UNVOICED STOPS
  682. //*******************************************************************
  683. phoneme p
  684. vls blb stp
  685. voicingswitch b
  686. lengthmod 2
  687. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  688. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  689. IF nextPh(isPause2) THEN
  690. WAV(ustop/p_)
  691. ELIF nextPh(r) THEN
  692. WAV(ustop/pr, 70)
  693. ELIF nextPh(R) OR nextPh(R2) THEN
  694. WAV(ustop/pr)
  695. ELIF nextPh(@-) THEN
  696. WAV(ustop/p_unasp)
  697. ELIF nextPh(l) THEN
  698. WAV(ustop/pl)
  699. ENDIF
  700. WAV(ustop/p)
  701. endphoneme
  702. phoneme t
  703. import_phoneme ipa/t
  704. voicingswitch d
  705. endphoneme
  706. phoneme t[ // dental variant of /t/
  707. import_phoneme ipa/t_d
  708. voicingswitch d[
  709. endphoneme
  710. phoneme tS // **ch**urch
  711. vls pla afr sib
  712. voicingswitch dZ
  713. lengthmod 2
  714. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  715. IF nextPh(isPause2) THEN
  716. WAV(ustop/tsh_)
  717. ENDIF
  718. WAV(ustop/tsh)
  719. endphoneme
  720. phoneme tS;
  721. vls alp sib afr
  722. voicingswitch dZ;
  723. ipa tɕ
  724. lengthmod 2
  725. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  726. IF nextPh(isPause2) THEN
  727. WAV(ustop/ts_pzd)
  728. ENDIF
  729. WAV(ustop/ts_pzd)
  730. endphoneme
  731. phoneme c
  732. vls pal stp pzd
  733. voicingswitch J
  734. lengthmod 2
  735. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  736. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=50 colr=1
  737. IF nextPh(isPause2) THEN
  738. WAV(ustop/t_pzd, 30)
  739. ENDIF
  740. WAV(ustop/c, 150)
  741. endphoneme
  742. phoneme k
  743. vls vel stp
  744. voicingswitch g
  745. lengthmod 2
  746. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  747. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  748. IF KlattSynth THEN
  749. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  750. ENDIF
  751. IF nextPh(isPause2) THEN
  752. WAV(ustop/k_)
  753. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  754. WAV(ustop/kr)
  755. ELIF nextPh(#i) OR nextPh(;) THEN
  756. WAV(ustop/ki)
  757. ELIF nextPh(l) THEN
  758. WAV(ustop/kl)
  759. ELIF nextPh(@-) THEN
  760. WAV(ustop/k_unasp, 70)
  761. ENDIF
  762. WAV(ustop/k)
  763. endphoneme
  764. phoneme q
  765. vls uvl stp
  766. lengthmod 2
  767. Vowelin f1=1 f2=1700 0 200 f3=-300 80 gpaus f4 rms=30
  768. Vowelout f1=1 f2=1700 -100 200 f3=-300 80 f4 rms=35
  769. IF nextPh(isPause2) THEN
  770. WAV(ustop/q, 40)
  771. ELIF nextPh(#u) THEN
  772. WAV(ustop/q_u, 80)
  773. ENDIF
  774. WAV(ustop/q, 48)
  775. endphoneme
  776. //*******************************************************************
  777. // UNVOICED fricatives
  778. //*******************************************************************
  779. phoneme f
  780. vls lbd frc
  781. voicingswitch v
  782. lengthmod 3
  783. Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
  784. IF nextPh(isPause) THEN
  785. WAV(ufric/f_)
  786. ENDIF
  787. WAV(ufric/f)
  788. endphoneme
  789. phoneme T // **th**in
  790. vls dnt frc
  791. voicingswitch D
  792. lengthmod 3
  793. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  794. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  795. IF nextPh(isPause) THEN
  796. WAV(ufric/th_)
  797. ENDIF
  798. WAV(ufric/th)
  799. endphoneme
  800. phoneme s
  801. vls alv frc sib
  802. voicingswitch z
  803. lengthmod 3
  804. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  805. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  806. IF nextPh(isPause) THEN
  807. WAV(ufric/s_)
  808. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  809. WAV(ufric/s!)
  810. ENDIF
  811. WAV(ufric/s)
  812. endphoneme
  813. phoneme S // **sh**op
  814. vls pla frc sib
  815. voicingswitch Z
  816. lengthmod 3
  817. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  818. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  819. IF nextPh(isPause) THEN
  820. WAV(ufric/sh_)
  821. ENDIF
  822. WAV(ufric/sh)
  823. endphoneme
  824. phoneme s.
  825. vls pla frc sib
  826. ipa ʂ
  827. voicingswitch z.
  828. lengthmod 3
  829. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  830. Vowelout f1=0 f2=1800 -100 300 f3=-300 80
  831. IF nextPh(isPause) THEN
  832. WAV(ufric/sh_rfx, 60)
  833. ENDIF
  834. WAV(ufric/sh_rfx, 90)
  835. endphoneme
  836. phoneme s;
  837. vls pal frc sib pzd
  838. ipa ʂ
  839. voicingswitch z;
  840. lengthmod 3
  841. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  842. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate len=70
  843. IF nextPh(isPause) THEN
  844. WAV(ufric/s_pzd_)
  845. ENDIF
  846. WAV(ufric/s_pzd)
  847. endphoneme
  848. phoneme S;
  849. vls alp sib frc
  850. voicingswitch Z;
  851. ipa ɕ
  852. lengthmod 3
  853. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  854. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate
  855. IF nextPh(isPause) THEN
  856. WAV(ufric/sh_pzd_)
  857. ENDIF
  858. WAV(ufric/sh_pzd)
  859. endphoneme
  860. phoneme l# // Lateral fricative (eg. Welsh "ll")
  861. vls alv frc
  862. ipa ɬ
  863. lengthmod 3
  864. NextVowelStarts
  865. VowelStart(l/l@)
  866. VowelStart(l/la)
  867. VowelStart(l/le)
  868. VowelStart(l/li, -10)
  869. VowelStart(l/lo)
  870. VowelStart(l/lu)
  871. EndSwitch
  872. IF prevPh(isVowel) THEN
  873. VowelEnding(l/xl, -40)
  874. ENDIF
  875. WAV(ufric/l#, 60)
  876. endphoneme
  877. phoneme C // German i**ch**
  878. vls pal frc
  879. lengthmod 3
  880. Vowelin f1=0 f2=2700 400 600 f3=200 70
  881. Vowelout f1=0 f2=2700 400 600 f3=200 70 rms=20
  882. IF nextPh(isPause) THEN
  883. WAV(ufric/ch_)
  884. ENDIF
  885. WAV(ufric/ch)
  886. endphoneme
  887. phoneme x // German bu**ch**
  888. vls vel frc
  889. voicingswitch Q
  890. lengthmod 3
  891. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  892. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  893. IF nextPh(isPause) THEN
  894. WAV(ufric/x_, 60)
  895. ENDIF
  896. WAV(ufric/x_hr, 20)
  897. endphoneme
  898. phoneme X
  899. vls uvl frc
  900. voicingswitch Q"
  901. lengthmod 3
  902. IF nextPh(isPause) THEN
  903. WAV(ufric/xx, 70)
  904. ENDIF
  905. WAV(ufric/xx,80)
  906. endphoneme
  907. phoneme h
  908. vls glt apr
  909. lengthmod 3
  910. ipa h
  911. IF nextPh(#@) THEN
  912. WAV(h/h@)
  913. ELIF nextPh(#a) THEN
  914. WAV(h/ha)
  915. ELIF nextPh(#e) THEN
  916. WAV(h/he)
  917. ELIF nextPh(#i) THEN
  918. WAV(h/hi)
  919. ELIF nextPh(#o) THEN
  920. WAV(h/ho)
  921. ELIF nextPh(#u) THEN
  922. WAV(h/hu)
  923. ENDIF
  924. WAV(h/h_, 70) // no vowel following
  925. endphoneme
  926. //*******************************************************************
  927. // ADDITIONAL PHONEME TABLES
  928. //*******************************************************************
  929. phonemetable jp base1
  930. include ph_japanese
  931. phonemetable consonants base1
  932. include ph_consonants
  933. phonemetable base2 base1
  934. include ph_base2
  935. phonemetable en base1
  936. include ph_english
  937. phonemetable en-n en
  938. include ph_english_n
  939. phonemetable en-us en
  940. include ph_english_us
  941. phonemetable en-sc en
  942. include ph_english_sc
  943. phonemetable en-rp en
  944. include ph_english_rp
  945. phonemetable en-wm en
  946. include ph_english_wm
  947. phonemetable en-wi en
  948. include ph_english_wi
  949. phonemetable af base1
  950. include ph_afrikaans
  951. phonemetable cy base1
  952. include ph_welsh
  953. phonemetable ga base1
  954. include ph_irish
  955. phonemetable de base1
  956. include ph_german
  957. phonemetable eo base1
  958. include ph_esperanto
  959. phonemetable ia eo
  960. include ph_interlingua
  961. phonemetable jbo eo
  962. include ph_lojban
  963. phonemetable nci base2
  964. include ph_nahuatl
  965. phonemetable fi base1
  966. include ph_finnish
  967. phonemetable et base1
  968. include ph_estonian
  969. phonemetable fr base1
  970. include ph_french
  971. phonemetable fr-ca fr
  972. include ph_french_ca
  973. phonemetable nl base1
  974. include ph_dutch
  975. phonemetable hi_base base1
  976. include ph_hindi_base
  977. phonemetable hi hi_base
  978. include ph_hindi
  979. phonemetable bn hi_base
  980. include ph_bengali
  981. phonemetable ne hi_base
  982. include ph_nepali
  983. phonemetable ur hi_base
  984. include ph_urdu
  985. phonemetable pa hi_base
  986. include ph_punjabi
  987. phonemetable ta hi_base
  988. include ph_tamil
  989. phonemetable kn hi_base
  990. include ph_kannada
  991. phonemetable ml hi_base
  992. include ph_malayalam
  993. phonemetable gu hi_base
  994. include ph_gujarati
  995. phonemetable mr hi_base
  996. include ph_marathi
  997. phonemetable hu base1
  998. include ph_hungarian
  999. phonemetable lt base1
  1000. include ph_lithuanian
  1001. phonemetable lv base1
  1002. include ph_latvian
  1003. phonemetable pl base1
  1004. include ph_polish
  1005. phonemetable sk pl
  1006. include ph_slovak
  1007. phonemetable cs sk
  1008. include ph_czech
  1009. phonemetable hr sk
  1010. include ph_croatian
  1011. phonemetable mk hr
  1012. include ph_macedonian
  1013. phonemetable sr hr
  1014. include ph_serbian
  1015. phonemetable ru base1
  1016. include ph_russian
  1017. phonemetable bg pl
  1018. include ph_bulgarian
  1019. phonemetable it base2
  1020. include ph_italian
  1021. phonemetable la base1
  1022. include ph_latin
  1023. phonemetable es base2
  1024. include ph_spanish
  1025. phonemetable es-la es
  1026. include ph_spanish_la
  1027. phonemetable ca es
  1028. include ph_catalan
  1029. phonemetable an es
  1030. include ph_aragon
  1031. phonemetable eu base2
  1032. include ph_basque
  1033. phonemetable pt base2
  1034. include ph_pt_brazil
  1035. phonemetable pt-pt pt
  1036. include ph_portugal
  1037. phonemetable ro base2
  1038. include ph_romanian
  1039. phonemetable el base2
  1040. include ph_greek
  1041. phonemetable grc base2
  1042. include ph_greek_ancient
  1043. phonemetable sv base1
  1044. include ph_swedish
  1045. phonemetable no base1
  1046. include ph_norwegian
  1047. phonemetable is base1
  1048. include ph_icelandic
  1049. phonemetable vi base1
  1050. include ph_vietnam
  1051. phonemetable vi-hue vi
  1052. include ph_vietnam_hue
  1053. phonemetable vi-sgn vi
  1054. include ph_vietnam_sgn
  1055. phonemetable zhy base1
  1056. include ph_zh_yue
  1057. phonemetable zh base1
  1058. include ph_zh
  1059. phonemetable sw base1
  1060. include ph_swahili
  1061. phonemetable tr base2
  1062. include ph_turkish
  1063. phonemetable ku base2
  1064. include ph_kurdish
  1065. phonemetable id base2
  1066. include ph_indonesian
  1067. phonemetable sq base1
  1068. include ph_albanian
  1069. phonemetable hy base1
  1070. include ph_armenian
  1071. phonemetable da base1
  1072. include ph_danish
  1073. phonemetable ka base1
  1074. include ph_georgian
  1075. phonemetable fa base1
  1076. include ph_farsi
  1077. phonemetable ar base1
  1078. include ph_arabic
  1079. phonemetable rw base2
  1080. include ph_kinyarwanda
  1081. phonemetable prs base1
  1082. include ph_dari
  1083. phonemetable sl pl
  1084. include ph_slovenian
  1085. phonemetable gd base1
  1086. include ph_s_gaelic
  1087. phonemetable nso base1
  1088. include ph_northern-sotho
  1089. phonemetable ht fr
  1090. include ph_haitian
  1091. phonemetable az tr
  1092. include ph_azerbaijani
  1093. phonemetable ak base1
  1094. include ph_akan
  1095. phonemetable am base1
  1096. include ph_amhari
  1097. phonemetable wo base1
  1098. include ph_wolof
  1099. phonemetable dv hi_base
  1100. include ph_divehi
  1101. phonemetable te hi_base
  1102. include ph_telugu
  1103. phonemetable si hi_base
  1104. include ph_sinhala
  1105. phonemetable as bn
  1106. include ph_assamese
  1107. phonemetable or bn
  1108. include ph_oriya
  1109. phonemetable mni bn
  1110. include ph_manipuri
  1111. phonemetable tn base1
  1112. include ph_setswana
  1113. phonemetable mt base1
  1114. include ph_maltese
  1115. phonemetable bo hi
  1116. include ph_tibetan
  1117. phonemetable kk base1
  1118. include ph_kazakh
  1119. phonemetable tt base1
  1120. include ph_tatar
  1121. phonemetable ko base1
  1122. include ph_korean
  1123. phonemetable kl base1
  1124. include ph_greenlandic
  1125. phonemetable om base1
  1126. include ph_oromo
  1127. phonemetable my base1
  1128. include ph_burmese
  1129. phonemetable gn base1
  1130. include ph_guarani
  1131. phonemetable ky base1
  1132. include ph_kyrgyz