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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267
  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. import_phoneme ipa/l
  303. endphoneme
  304. phoneme l/ // used for [l] when not before a vowel
  305. import_phoneme ipa/l
  306. endphoneme
  307. phoneme l/2 // 'dark' [l] after a vowel
  308. import_phoneme ipa/l_e
  309. endphoneme
  310. phoneme l/3 // Replacement for [l/]
  311. liquid
  312. lengthmod 7
  313. IF nextPh(isVowel) THEN
  314. ChangePhoneme(l)
  315. ENDIF
  316. PrevVowelEndings
  317. VowelEnding(l/l_@)
  318. VowelEnding(l/l_a)
  319. VowelEnding(l/l_e)
  320. VowelEnding(l/l_i)
  321. VowelEnding(l/l_o)
  322. VowelEnding(l/l_u, -20)
  323. EndSwitch
  324. // IF nextPh(isLiquid) THEN
  325. // FMT(l/_l)
  326. // ENDIF
  327. FMT(l/l_)
  328. endphoneme
  329. phoneme l^ // palatal l, e.g. Italian **g**li
  330. import_phoneme ipa/L
  331. endphoneme
  332. phoneme l.
  333. import_phoneme ipa/l`
  334. endphoneme
  335. phoneme L/
  336. import_phoneme base1/l/2
  337. endphoneme
  338. phoneme L // velar L
  339. liquid
  340. lengthmod 7
  341. IF nextPh(isNotVowel) THEN
  342. ChangePhoneme(L/) // use 'dark' [l] after a vowel
  343. ENDIF
  344. VowelEnding(ll/xll, -40)
  345. IF prevPh(isPause) THEN
  346. FMT(ll/_ll)
  347. ENDIF
  348. FMT(ll/ll)
  349. endphoneme
  350. phoneme w
  351. import_phoneme ipa/w
  352. endphoneme
  353. phoneme j // **y**es
  354. import_phoneme ipa/j
  355. endphoneme
  356. phoneme ; // linking j, used between (i) vowels and a following vowel
  357. // also to palatalize consonants
  358. liquid pzd
  359. lengthmod 0
  360. IF prevPh(#i) THEN
  361. ipa NULL // linking after i vowel, don't show in ipa
  362. ENDIF
  363. IF nextPh(isNotVowel) THEN
  364. ChangePhoneme(NULL) // this is to ignore this phoneme if not before a vowel
  365. ENDIF
  366. NextVowelStarts
  367. VowelStart(j2/j2@)
  368. VowelStart(j2/j2a)
  369. VowelStart(j2/j2e)
  370. VowelStart(j2/j2i)
  371. VowelStart(j2/j2o)
  372. VowelStart(j2/j2u)
  373. EndSwitch
  374. IF prevPh(#i) THEN
  375. VowelEnding(j2/xj2, -40)
  376. ENDIF
  377. IF prevPh(isPause) THEN
  378. FMT(j2/_j2)
  379. ENDIF
  380. endphoneme
  381. //*******************************************************************
  382. // NASAL CONSONANTS
  383. //*******************************************************************
  384. phoneme m
  385. import_phoneme ipa/m
  386. endphoneme
  387. phoneme n
  388. import_phoneme ipa/n
  389. endphoneme
  390. phoneme n.
  391. import_phoneme ipa/n`
  392. endphoneme
  393. phoneme n^ // Spanish **ñ**
  394. import_phoneme ipa/J
  395. endphoneme
  396. phoneme N // si**ng**
  397. import_phoneme ipa/N
  398. endphoneme
  399. phoneme ** // TEST flap
  400. liquid alv rhotic
  401. ipa ɾ
  402. lengthmod 3
  403. Vowelout f1=3 f2=1600 -300 300 f3=-300 80 rms=35 len=15
  404. Vowelin f1=2 f2=1600 -300 300 f3=-100 80 len=20
  405. IF prevPh(#i) OR prevPh(#e) THEN
  406. FMT(r3/@tap2)
  407. ENDIF
  408. FMT(r3/@tap)
  409. endphoneme
  410. phoneme * // flap
  411. vcd alv flp rhotic
  412. brkafter
  413. ipa ɾ
  414. lengthmod 3
  415. IF prevPhW(@-) THEN
  416. ipa r // @-* sequence for [r]
  417. ENDIF
  418. IF nextPh(#e) OR nextPh(#i) THEN
  419. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  420. FMT(d/tap1) addWav(r3/rx, 150)
  421. FMT(d/tap1) addWav(r3/rx, 150)
  422. ENDIF
  423. Vowelin f1=2 f2=1500 -300 300 f3=-200 80
  424. IF nextPh(#a) THEN
  425. FMT(d/tap3) addWav(r3/rx, 200)
  426. ENDIF
  427. IF nextPh(r) THEN
  428. FMT(d/dr)
  429. ENDIF
  430. Vowelout f1=3 f2=1500 -400 300 f3=-200 80 rms=35 len=50
  431. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  432. FMT(d/tap3) addWav(r3/rx, 200)
  433. endphoneme
  434. phoneme r. // retroflex
  435. liquid rfx
  436. lengthmod 3
  437. Vowelout f1=3 f2=1400 -400 300 f3=-400 80 rms=35 len=15 colr=2
  438. Vowelin f1=2 f2=1400 -400 300 f3=-400 80 len=20
  439. IF nextPh(isNotVowel) THEN
  440. FMT(r3/@tap_rfx_)
  441. ENDIF
  442. FMT(r3/@tap_rfx)
  443. endphoneme
  444. //*******************************************************************
  445. // VOICED STOPS
  446. //*******************************************************************
  447. phoneme b
  448. import_phoneme ipa/b
  449. voicingswitch p
  450. endphoneme
  451. phoneme d
  452. import_phoneme ipa/d
  453. voicingswitch t
  454. endphoneme
  455. phoneme d[
  456. import_phoneme ipa/d_d
  457. voicingswitch t[
  458. endphoneme
  459. phoneme dZ // **j**udge
  460. import_phoneme ipa/dZ\)
  461. voicingswitch tS
  462. endphoneme
  463. phoneme dZ;
  464. import_phoneme ipa/dz\\\)
  465. voicingswitch tS;
  466. endphoneme
  467. phoneme J
  468. import_phoneme ipa/J\\
  469. voicingswitch c
  470. endphoneme
  471. phoneme g
  472. import_phoneme ipa/g
  473. voicingswitch k
  474. endphoneme
  475. //*******************************************************************
  476. // VOICED fricatives
  477. //*******************************************************************
  478. phoneme B
  479. import_phoneme ipa/B
  480. voicingswitch f
  481. endphoneme
  482. phoneme v
  483. import_phoneme ipa/v
  484. voicingswitch f
  485. endphoneme
  486. phoneme v#
  487. import_phoneme ipa/P
  488. voicingswitch f
  489. endphoneme
  490. phoneme D // **th**is
  491. import_phoneme ipa/D
  492. voicingswitch T
  493. endphoneme
  494. phoneme z
  495. import_phoneme ipa/z
  496. voicingswitch s
  497. endphoneme
  498. phoneme Z // plea**s**ure
  499. import_phoneme ipa/Z
  500. voicingswitch S
  501. endphoneme
  502. phoneme z.
  503. import_phoneme ipa/z`
  504. voicingswitch s.
  505. endphoneme
  506. phoneme z;
  507. import_phoneme ipa/z\\
  508. voicingswitch s;
  509. endphoneme
  510. phoneme Z;
  511. import_phoneme ipa/z\\
  512. voicingswitch S;
  513. endphoneme
  514. phoneme J^ // palatal fricative (Kirshenbaum C<vcd>)
  515. import_phoneme ipa/j\\
  516. ipa ʝ
  517. endphoneme
  518. phoneme Q
  519. import_phoneme ipa/G
  520. voicingswitch x
  521. endphoneme
  522. phoneme Q"
  523. import_phoneme ipa/R
  524. endphoneme
  525. //*******************************************************************
  526. // UNVOICED STOPS
  527. //*******************************************************************
  528. phoneme p
  529. vls blb stp
  530. voicingswitch b
  531. lengthmod 2
  532. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  533. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  534. IF nextPh(isPause2) THEN
  535. WAV(ustop/p_)
  536. ELIF nextPh(r) THEN
  537. WAV(ustop/pr, 70)
  538. ELIF nextPh(R) OR nextPh(R2) THEN
  539. WAV(ustop/pr)
  540. ELIF nextPh(@-) THEN
  541. WAV(ustop/p_unasp)
  542. ELIF nextPh(l) THEN
  543. WAV(ustop/pl)
  544. ENDIF
  545. WAV(ustop/p)
  546. endphoneme
  547. phoneme t
  548. import_phoneme ipa/t
  549. voicingswitch d
  550. endphoneme
  551. phoneme t[ // dental variant of /t/
  552. import_phoneme ipa/t_d
  553. voicingswitch d[
  554. endphoneme
  555. phoneme tS // **ch**urch
  556. import_phoneme ipa/tS\)
  557. voicingswitch dZ
  558. endphoneme
  559. phoneme tS;
  560. import_phoneme ipa/ts\\\)
  561. voicingswitch dZ;
  562. endphoneme
  563. phoneme c
  564. import_phoneme ipa/c
  565. voicingswitch J
  566. endphoneme
  567. phoneme k
  568. vls vel stp
  569. voicingswitch g
  570. lengthmod 2
  571. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  572. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  573. IF KlattSynth THEN
  574. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  575. ENDIF
  576. IF nextPh(isPause2) THEN
  577. WAV(ustop/k_)
  578. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  579. WAV(ustop/kr)
  580. ELIF nextPh(#i) OR nextPh(;) THEN
  581. WAV(ustop/ki)
  582. ELIF nextPh(l) THEN
  583. WAV(ustop/kl)
  584. ELIF nextPh(@-) THEN
  585. WAV(ustop/k_unasp, 70)
  586. ENDIF
  587. WAV(ustop/k)
  588. endphoneme
  589. phoneme q
  590. import_phoneme ipa/q
  591. endphoneme
  592. //*******************************************************************
  593. // UNVOICED fricatives
  594. //*******************************************************************
  595. phoneme f
  596. vls lbd frc
  597. voicingswitch v
  598. lengthmod 3
  599. Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
  600. IF nextPh(isPause) THEN
  601. WAV(ufric/f_)
  602. ENDIF
  603. WAV(ufric/f)
  604. endphoneme
  605. phoneme T // **th**in
  606. vls dnt frc
  607. voicingswitch D
  608. lengthmod 3
  609. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  610. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  611. IF nextPh(isPause) THEN
  612. WAV(ufric/th_)
  613. ENDIF
  614. WAV(ufric/th)
  615. endphoneme
  616. phoneme s
  617. vls alv frc sib
  618. voicingswitch z
  619. lengthmod 3
  620. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  621. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  622. IF nextPh(isPause) THEN
  623. WAV(ufric/s_)
  624. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  625. WAV(ufric/s!)
  626. ENDIF
  627. WAV(ufric/s)
  628. endphoneme
  629. phoneme S // **sh**op
  630. vls pla frc sib
  631. voicingswitch Z
  632. lengthmod 3
  633. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  634. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  635. IF nextPh(isPause) THEN
  636. WAV(ufric/sh_)
  637. ENDIF
  638. WAV(ufric/sh)
  639. endphoneme
  640. phoneme s.
  641. vls pla frc sib
  642. ipa ʂ
  643. voicingswitch z.
  644. lengthmod 3
  645. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  646. Vowelout f1=0 f2=1800 -100 300 f3=-300 80
  647. IF nextPh(isPause) THEN
  648. WAV(ufric/sh_rfx, 60)
  649. ENDIF
  650. WAV(ufric/sh_rfx, 90)
  651. endphoneme
  652. phoneme s;
  653. vls pal frc sib pzd
  654. ipa ʂ
  655. voicingswitch z;
  656. lengthmod 3
  657. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  658. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate len=70
  659. IF nextPh(isPause) THEN
  660. WAV(ufric/s_pzd_)
  661. ENDIF
  662. WAV(ufric/s_pzd)
  663. endphoneme
  664. phoneme S;
  665. vls alp sib frc
  666. voicingswitch Z;
  667. ipa ɕ
  668. lengthmod 3
  669. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  670. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate
  671. IF nextPh(isPause) THEN
  672. WAV(ufric/sh_pzd_)
  673. ENDIF
  674. WAV(ufric/sh_pzd)
  675. endphoneme
  676. phoneme l# // Lateral fricative (eg. Welsh "ll")
  677. vls alv frc
  678. ipa ɬ
  679. lengthmod 3
  680. NextVowelStarts
  681. VowelStart(l/l@)
  682. VowelStart(l/la)
  683. VowelStart(l/le)
  684. VowelStart(l/li, -10)
  685. VowelStart(l/lo)
  686. VowelStart(l/lu)
  687. EndSwitch
  688. IF prevPh(isVowel) THEN
  689. VowelEnding(l/xl, -40)
  690. ENDIF
  691. WAV(ufric/l#, 60)
  692. endphoneme
  693. phoneme C // German i**ch**
  694. vls pal frc
  695. lengthmod 3
  696. Vowelin f1=0 f2=2700 400 600 f3=200 70
  697. Vowelout f1=0 f2=2700 400 600 f3=200 70 rms=20
  698. IF nextPh(isPause) THEN
  699. WAV(ufric/ch_)
  700. ENDIF
  701. WAV(ufric/ch)
  702. endphoneme
  703. phoneme x // German bu**ch**
  704. vls vel frc
  705. voicingswitch Q
  706. lengthmod 3
  707. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  708. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  709. IF nextPh(isPause) THEN
  710. WAV(ufric/x_, 60)
  711. ENDIF
  712. WAV(ufric/x_hr, 20)
  713. endphoneme
  714. phoneme X
  715. vls uvl frc
  716. voicingswitch Q"
  717. lengthmod 3
  718. IF nextPh(isPause) THEN
  719. WAV(ufric/xx, 70)
  720. ENDIF
  721. WAV(ufric/xx,80)
  722. endphoneme
  723. phoneme h
  724. vls glt apr
  725. lengthmod 3
  726. ipa h
  727. IF nextPh(#@) THEN
  728. WAV(h/h@)
  729. ELIF nextPh(#a) THEN
  730. WAV(h/ha)
  731. ELIF nextPh(#e) THEN
  732. WAV(h/he)
  733. ELIF nextPh(#i) THEN
  734. WAV(h/hi)
  735. ELIF nextPh(#o) THEN
  736. WAV(h/ho)
  737. ELIF nextPh(#u) THEN
  738. WAV(h/hu)
  739. ENDIF
  740. WAV(h/h_, 70) // no vowel following
  741. endphoneme
  742. //*******************************************************************
  743. // ADDITIONAL PHONEME TABLES
  744. //*******************************************************************
  745. phonemetable jp base1
  746. include ph_japanese
  747. phonemetable consonants base1
  748. include ph_consonants
  749. phonemetable base2 base1
  750. include ph_base2
  751. phonemetable en base1
  752. include ph_english
  753. phonemetable en-n en
  754. include ph_english_n
  755. phonemetable en-us en
  756. include ph_english_us
  757. phonemetable en-sc en
  758. include ph_english_sc
  759. phonemetable en-rp en
  760. include ph_english_rp
  761. phonemetable en-wm en
  762. include ph_english_wm
  763. phonemetable en-wi en
  764. include ph_english_wi
  765. phonemetable af base1
  766. include ph_afrikaans
  767. phonemetable cy base1
  768. include ph_welsh
  769. phonemetable ga base1
  770. include ph_irish
  771. phonemetable de base1
  772. include ph_german
  773. phonemetable eo base1
  774. include ph_esperanto
  775. phonemetable ia eo
  776. include ph_interlingua
  777. phonemetable jbo eo
  778. include ph_lojban
  779. phonemetable nci base2
  780. include ph_nahuatl
  781. phonemetable fi base1
  782. include ph_finnish
  783. phonemetable et base1
  784. include ph_estonian
  785. phonemetable fr base1
  786. include ph_french
  787. phonemetable fr-ca fr
  788. include ph_french_ca
  789. phonemetable nl base1
  790. include ph_dutch
  791. phonemetable hi_base base1
  792. include ph_hindi_base
  793. phonemetable hi hi_base
  794. include ph_hindi
  795. phonemetable bn hi_base
  796. include ph_bengali
  797. phonemetable ne hi_base
  798. include ph_nepali
  799. phonemetable ur hi_base
  800. include ph_urdu
  801. phonemetable pa hi_base
  802. include ph_punjabi
  803. phonemetable ta hi_base
  804. include ph_tamil
  805. phonemetable kn hi_base
  806. include ph_kannada
  807. phonemetable ml hi_base
  808. include ph_malayalam
  809. phonemetable gu hi_base
  810. include ph_gujarati
  811. phonemetable mr hi_base
  812. include ph_marathi
  813. phonemetable hu base1
  814. include ph_hungarian
  815. phonemetable lt base1
  816. include ph_lithuanian
  817. phonemetable lv base1
  818. include ph_latvian
  819. phonemetable pl base1
  820. include ph_polish
  821. phonemetable sk pl
  822. include ph_slovak
  823. phonemetable cs sk
  824. include ph_czech
  825. phonemetable hr sk
  826. include ph_croatian
  827. phonemetable mk hr
  828. include ph_macedonian
  829. phonemetable sr hr
  830. include ph_serbian
  831. phonemetable ru base1
  832. include ph_russian
  833. phonemetable bg pl
  834. include ph_bulgarian
  835. phonemetable it base2
  836. include ph_italian
  837. phonemetable la base1
  838. include ph_latin
  839. phonemetable es base2
  840. include ph_spanish
  841. phonemetable es-la es
  842. include ph_spanish_la
  843. phonemetable ca es
  844. include ph_catalan
  845. phonemetable an es
  846. include ph_aragon
  847. phonemetable eu base2
  848. include ph_basque
  849. phonemetable pt base2
  850. include ph_pt_brazil
  851. phonemetable pt-pt pt
  852. include ph_portugal
  853. phonemetable ro base2
  854. include ph_romanian
  855. phonemetable el base2
  856. include ph_greek
  857. phonemetable grc base2
  858. include ph_greek_ancient
  859. phonemetable sv base1
  860. include ph_swedish
  861. phonemetable no base1
  862. include ph_norwegian
  863. phonemetable is base1
  864. include ph_icelandic
  865. phonemetable vi base1
  866. include ph_vietnam
  867. phonemetable vi-hue vi
  868. include ph_vietnam_hue
  869. phonemetable vi-sgn vi
  870. include ph_vietnam_sgn
  871. phonemetable zhy base1
  872. include ph_zh_yue
  873. phonemetable zh base1
  874. include ph_zh
  875. phonemetable sw base1
  876. include ph_swahili
  877. phonemetable tr base2
  878. include ph_turkish
  879. phonemetable ku base2
  880. include ph_kurdish
  881. phonemetable id base2
  882. include ph_indonesian
  883. phonemetable sq base1
  884. include ph_albanian
  885. phonemetable hy base1
  886. include ph_armenian
  887. phonemetable da base1
  888. include ph_danish
  889. phonemetable ka base1
  890. include ph_georgian
  891. phonemetable fa base1
  892. include ph_farsi
  893. phonemetable ar base1
  894. include ph_arabic
  895. phonemetable rw base2
  896. include ph_kinyarwanda
  897. phonemetable prs base1
  898. include ph_dari
  899. phonemetable sl pl
  900. include ph_slovenian
  901. phonemetable gd base1
  902. include ph_s_gaelic
  903. phonemetable nso base1
  904. include ph_northern-sotho
  905. phonemetable ht fr
  906. include ph_haitian
  907. phonemetable az tr
  908. include ph_azerbaijani
  909. phonemetable ak base1
  910. include ph_akan
  911. phonemetable am base1
  912. include ph_amhari
  913. phonemetable wo base1
  914. include ph_wolof
  915. phonemetable dv hi_base
  916. include ph_divehi
  917. phonemetable te hi_base
  918. include ph_telugu
  919. phonemetable si hi_base
  920. include ph_sinhala
  921. phonemetable as bn
  922. include ph_assamese
  923. phonemetable or bn
  924. include ph_oriya
  925. phonemetable mni bn
  926. include ph_manipuri
  927. phonemetable tn base1
  928. include ph_setswana
  929. phonemetable mt base1
  930. include ph_maltese
  931. phonemetable bo hi
  932. include ph_tibetan
  933. phonemetable kk base1
  934. include ph_kazakh
  935. phonemetable tt base1
  936. include ph_tatar
  937. phonemetable ko base1
  938. include ph_korean
  939. phonemetable kl base1
  940. include ph_greenlandic
  941. phonemetable om base1
  942. include ph_oromo
  943. phonemetable my base1
  944. include ph_burmese
  945. phonemetable gn base1
  946. include ph_guarani
  947. phonemetable ky base1
  948. include ph_kyrgyz