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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384
  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. import_phoneme ipa/z`
  595. voicingswitch s.
  596. endphoneme
  597. phoneme z;
  598. import_phoneme ipa/z\\
  599. voicingswitch s;
  600. endphoneme
  601. phoneme Z;
  602. import_phoneme ipa/z\\
  603. voicingswitch S;
  604. endphoneme
  605. phoneme J^ // palatal fricative (Kirshenbaum C<vcd>)
  606. import_phoneme ipa/j\\
  607. ipa ʝ
  608. endphoneme
  609. phoneme Q
  610. import_phoneme ipa/G
  611. voicingswitch x
  612. endphoneme
  613. phoneme Q"
  614. import_phoneme ipa/R
  615. endphoneme
  616. //*******************************************************************
  617. // UNVOICED STOPS
  618. //*******************************************************************
  619. phoneme p
  620. vls blb stp
  621. voicingswitch b
  622. lengthmod 2
  623. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  624. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  625. IF nextPh(isPause2) THEN
  626. WAV(ustop/p_)
  627. ELIF nextPh(r) THEN
  628. WAV(ustop/pr, 70)
  629. ELIF nextPh(R) OR nextPh(R2) THEN
  630. WAV(ustop/pr)
  631. ELIF nextPh(@-) THEN
  632. WAV(ustop/p_unasp)
  633. ELIF nextPh(l) THEN
  634. WAV(ustop/pl)
  635. ENDIF
  636. WAV(ustop/p)
  637. endphoneme
  638. phoneme t
  639. import_phoneme ipa/t
  640. voicingswitch d
  641. endphoneme
  642. phoneme t[ // dental variant of /t/
  643. import_phoneme ipa/t_d
  644. voicingswitch d[
  645. endphoneme
  646. phoneme tS // **ch**urch
  647. import_phoneme ipa/tS\)
  648. voicingswitch dZ
  649. endphoneme
  650. phoneme tS;
  651. import_phoneme ipa/ts\\\)
  652. voicingswitch dZ;
  653. endphoneme
  654. phoneme c
  655. import_phoneme ipa/c
  656. voicingswitch J
  657. endphoneme
  658. phoneme k
  659. vls vel stp
  660. voicingswitch g
  661. lengthmod 2
  662. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  663. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  664. IF KlattSynth THEN
  665. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  666. ENDIF
  667. IF nextPh(isPause2) THEN
  668. WAV(ustop/k_)
  669. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  670. WAV(ustop/kr)
  671. ELIF nextPh(#i) OR nextPh(;) THEN
  672. WAV(ustop/ki)
  673. ELIF nextPh(l) THEN
  674. WAV(ustop/kl)
  675. ELIF nextPh(@-) THEN
  676. WAV(ustop/k_unasp, 70)
  677. ENDIF
  678. WAV(ustop/k)
  679. endphoneme
  680. phoneme q
  681. import_phoneme ipa/q
  682. endphoneme
  683. //*******************************************************************
  684. // UNVOICED fricatives
  685. //*******************************************************************
  686. phoneme f
  687. vls lbd frc
  688. voicingswitch v
  689. lengthmod 3
  690. Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
  691. IF nextPh(isPause) THEN
  692. WAV(ufric/f_)
  693. ENDIF
  694. WAV(ufric/f)
  695. endphoneme
  696. phoneme T // **th**in
  697. vls dnt frc
  698. voicingswitch D
  699. lengthmod 3
  700. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  701. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  702. IF nextPh(isPause) THEN
  703. WAV(ufric/th_)
  704. ENDIF
  705. WAV(ufric/th)
  706. endphoneme
  707. phoneme s
  708. vls alv frc sib
  709. voicingswitch z
  710. lengthmod 3
  711. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  712. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  713. IF nextPh(isPause) THEN
  714. WAV(ufric/s_)
  715. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  716. WAV(ufric/s!)
  717. ENDIF
  718. WAV(ufric/s)
  719. endphoneme
  720. phoneme S // **sh**op
  721. vls pla frc sib
  722. voicingswitch Z
  723. lengthmod 3
  724. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  725. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  726. IF nextPh(isPause) THEN
  727. WAV(ufric/sh_)
  728. ENDIF
  729. WAV(ufric/sh)
  730. endphoneme
  731. phoneme s.
  732. vls pla frc sib
  733. ipa ʂ
  734. voicingswitch z.
  735. lengthmod 3
  736. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  737. Vowelout f1=0 f2=1800 -100 300 f3=-300 80
  738. IF nextPh(isPause) THEN
  739. WAV(ufric/sh_rfx, 60)
  740. ENDIF
  741. WAV(ufric/sh_rfx, 90)
  742. endphoneme
  743. phoneme s;
  744. vls pal frc sib pzd
  745. ipa ʂ
  746. voicingswitch z;
  747. lengthmod 3
  748. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  749. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate len=70
  750. IF nextPh(isPause) THEN
  751. WAV(ufric/s_pzd_)
  752. ENDIF
  753. WAV(ufric/s_pzd)
  754. endphoneme
  755. phoneme S;
  756. vls alp sib frc
  757. voicingswitch Z;
  758. ipa ɕ
  759. lengthmod 3
  760. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  761. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate
  762. IF nextPh(isPause) THEN
  763. WAV(ufric/sh_pzd_)
  764. ENDIF
  765. WAV(ufric/sh_pzd)
  766. endphoneme
  767. phoneme l# // Lateral fricative (eg. Welsh "ll")
  768. vls alv frc
  769. ipa ɬ
  770. lengthmod 3
  771. NextVowelStarts
  772. VowelStart(l/l@)
  773. VowelStart(l/la)
  774. VowelStart(l/le)
  775. VowelStart(l/li, -10)
  776. VowelStart(l/lo)
  777. VowelStart(l/lu)
  778. EndSwitch
  779. IF prevPh(isVowel) THEN
  780. VowelEnding(l/xl, -40)
  781. ENDIF
  782. WAV(ufric/l#, 60)
  783. endphoneme
  784. phoneme C // German i**ch**
  785. vls pal frc
  786. lengthmod 3
  787. Vowelin f1=0 f2=2700 400 600 f3=200 70
  788. Vowelout f1=0 f2=2700 400 600 f3=200 70 rms=20
  789. IF nextPh(isPause) THEN
  790. WAV(ufric/ch_)
  791. ENDIF
  792. WAV(ufric/ch)
  793. endphoneme
  794. phoneme x // German bu**ch**
  795. vls vel frc
  796. voicingswitch Q
  797. lengthmod 3
  798. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  799. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  800. IF nextPh(isPause) THEN
  801. WAV(ufric/x_, 60)
  802. ENDIF
  803. WAV(ufric/x_hr, 20)
  804. endphoneme
  805. phoneme X
  806. vls uvl frc
  807. voicingswitch Q"
  808. lengthmod 3
  809. IF nextPh(isPause) THEN
  810. WAV(ufric/xx, 70)
  811. ENDIF
  812. WAV(ufric/xx,80)
  813. endphoneme
  814. phoneme h
  815. vls glt apr
  816. lengthmod 3
  817. ipa h
  818. IF nextPh(#@) THEN
  819. WAV(h/h@)
  820. ELIF nextPh(#a) THEN
  821. WAV(h/ha)
  822. ELIF nextPh(#e) THEN
  823. WAV(h/he)
  824. ELIF nextPh(#i) THEN
  825. WAV(h/hi)
  826. ELIF nextPh(#o) THEN
  827. WAV(h/ho)
  828. ELIF nextPh(#u) THEN
  829. WAV(h/hu)
  830. ENDIF
  831. WAV(h/h_, 70) // no vowel following
  832. endphoneme
  833. //*******************************************************************
  834. // ADDITIONAL PHONEME TABLES
  835. //*******************************************************************
  836. phonemetable jp base1
  837. include ph_japanese
  838. phonemetable consonants base1
  839. include ph_consonants
  840. phonemetable base2 base1
  841. include ph_base2
  842. phonemetable en base1
  843. include ph_english
  844. phonemetable en-n en
  845. include ph_english_n
  846. phonemetable en-us en
  847. include ph_english_us
  848. phonemetable en-sc en
  849. include ph_english_sc
  850. phonemetable en-rp en
  851. include ph_english_rp
  852. phonemetable en-wm en
  853. include ph_english_wm
  854. phonemetable en-wi en
  855. include ph_english_wi
  856. phonemetable af base1
  857. include ph_afrikaans
  858. phonemetable cy base1
  859. include ph_welsh
  860. phonemetable ga base1
  861. include ph_irish
  862. phonemetable de base1
  863. include ph_german
  864. phonemetable eo base1
  865. include ph_esperanto
  866. phonemetable ia eo
  867. include ph_interlingua
  868. phonemetable jbo eo
  869. include ph_lojban
  870. phonemetable nci base2
  871. include ph_nahuatl
  872. phonemetable fi base1
  873. include ph_finnish
  874. phonemetable et base1
  875. include ph_estonian
  876. phonemetable fr base1
  877. include ph_french
  878. phonemetable fr-ca fr
  879. include ph_french_ca
  880. phonemetable nl base1
  881. include ph_dutch
  882. phonemetable hi_base base1
  883. include ph_hindi_base
  884. phonemetable hi hi_base
  885. include ph_hindi
  886. phonemetable bn hi_base
  887. include ph_bengali
  888. phonemetable ne hi_base
  889. include ph_nepali
  890. phonemetable ur hi_base
  891. include ph_urdu
  892. phonemetable pa hi_base
  893. include ph_punjabi
  894. phonemetable ta hi_base
  895. include ph_tamil
  896. phonemetable kn hi_base
  897. include ph_kannada
  898. phonemetable ml hi_base
  899. include ph_malayalam
  900. phonemetable gu hi_base
  901. include ph_gujarati
  902. phonemetable mr hi_base
  903. include ph_marathi
  904. phonemetable hu base1
  905. include ph_hungarian
  906. phonemetable lt base1
  907. include ph_lithuanian
  908. phonemetable lv base1
  909. include ph_latvian
  910. phonemetable pl base1
  911. include ph_polish
  912. phonemetable sk pl
  913. include ph_slovak
  914. phonemetable cs sk
  915. include ph_czech
  916. phonemetable hr sk
  917. include ph_croatian
  918. phonemetable mk hr
  919. include ph_macedonian
  920. phonemetable sr hr
  921. include ph_serbian
  922. phonemetable ru base1
  923. include ph_russian
  924. phonemetable bg pl
  925. include ph_bulgarian
  926. phonemetable it base2
  927. include ph_italian
  928. phonemetable la base1
  929. include ph_latin
  930. phonemetable es base2
  931. include ph_spanish
  932. phonemetable es-la es
  933. include ph_spanish_la
  934. phonemetable ca es
  935. include ph_catalan
  936. phonemetable an es
  937. include ph_aragon
  938. phonemetable eu base2
  939. include ph_basque
  940. phonemetable pt base2
  941. include ph_pt_brazil
  942. phonemetable pt-pt pt
  943. include ph_portugal
  944. phonemetable ro base2
  945. include ph_romanian
  946. phonemetable el base2
  947. include ph_greek
  948. phonemetable grc base2
  949. include ph_greek_ancient
  950. phonemetable sv base1
  951. include ph_swedish
  952. phonemetable no base1
  953. include ph_norwegian
  954. phonemetable is base1
  955. include ph_icelandic
  956. phonemetable vi base1
  957. include ph_vietnam
  958. phonemetable vi-hue vi
  959. include ph_vietnam_hue
  960. phonemetable vi-sgn vi
  961. include ph_vietnam_sgn
  962. phonemetable zhy base1
  963. include ph_zh_yue
  964. phonemetable zh base1
  965. include ph_zh
  966. phonemetable sw base1
  967. include ph_swahili
  968. phonemetable tr base2
  969. include ph_turkish
  970. phonemetable ku base2
  971. include ph_kurdish
  972. phonemetable id base2
  973. include ph_indonesian
  974. phonemetable sq base1
  975. include ph_albanian
  976. phonemetable hy base1
  977. include ph_armenian
  978. phonemetable da base1
  979. include ph_danish
  980. phonemetable ka base1
  981. include ph_georgian
  982. phonemetable fa base1
  983. include ph_farsi
  984. phonemetable ar base1
  985. include ph_arabic
  986. phonemetable rw base2
  987. include ph_kinyarwanda
  988. phonemetable prs base1
  989. include ph_dari
  990. phonemetable sl pl
  991. include ph_slovenian
  992. phonemetable gd base1
  993. include ph_s_gaelic
  994. phonemetable nso base1
  995. include ph_northern-sotho
  996. phonemetable ht fr
  997. include ph_haitian
  998. phonemetable az tr
  999. include ph_azerbaijani
  1000. phonemetable ak base1
  1001. include ph_akan
  1002. phonemetable am base1
  1003. include ph_amhari
  1004. phonemetable wo base1
  1005. include ph_wolof
  1006. phonemetable dv hi_base
  1007. include ph_divehi
  1008. phonemetable te hi_base
  1009. include ph_telugu
  1010. phonemetable si hi_base
  1011. include ph_sinhala
  1012. phonemetable as bn
  1013. include ph_assamese
  1014. phonemetable or bn
  1015. include ph_oriya
  1016. phonemetable mni bn
  1017. include ph_manipuri
  1018. phonemetable tn base1
  1019. include ph_setswana
  1020. phonemetable mt base1
  1021. include ph_maltese
  1022. phonemetable bo hi
  1023. include ph_tibetan
  1024. phonemetable kk base1
  1025. include ph_kazakh
  1026. phonemetable tt base1
  1027. include ph_tatar
  1028. phonemetable ko base1
  1029. include ph_korean
  1030. phonemetable kl base1
  1031. include ph_greenlandic
  1032. phonemetable om base1
  1033. include ph_oromo
  1034. phonemetable my base1
  1035. include ph_burmese
  1036. phonemetable gn base1
  1037. include ph_guarani
  1038. phonemetable ky base1
  1039. include ph_kyrgyz