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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576
  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. vcd lbd frc
  575. voicingswitch f
  576. lengthmod 6
  577. Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
  578. Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
  579. IF KlattSynth THEN
  580. Vowelout f1=1 f2=1000 -500 -300 f3=-300 60 len=50 brk
  581. IF nextPh(isPause2) THEN
  582. FMT(klatt/v_) addWav(vocw/v)
  583. ENDIF
  584. FMT(klatt/v) addWav(vocw/v, 150)
  585. ENDIF
  586. IF nextPh(isPause2) THEN
  587. FMT(voc/v_) addWav(vocw/v)
  588. ENDIF
  589. IF thisPh(isWordStart) AND nextPhW(isLiquid) THEN
  590. length 70
  591. ENDIF
  592. FMT(voc/v) addWav(vocw/v)
  593. endphoneme
  594. phoneme v# // approximant, not fricative
  595. vcd lbd frc
  596. ipa ʋ
  597. lengthmod 6
  598. voicingswitch f
  599. Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
  600. Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
  601. IF nextPh(isPause2) THEN
  602. FMT(voc/v#_)
  603. ENDIF
  604. FMT(voc/v#)
  605. endphoneme
  606. phoneme D // **th**is
  607. vcd dnt frc
  608. voicingswitch T
  609. lengthmod 6
  610. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  611. IF KlattSynth THEN
  612. Vowelin f1=0 f2=1290 -300 300 f3=0 0
  613. ENDIF
  614. IF nextPh(isPause2) THEN
  615. FMT(voc/dh_) addWav(vocw/dh)
  616. ENDIF
  617. FMT(voc/dh) addWav(vocw/dh)
  618. endphoneme
  619. phoneme z
  620. vcd alv frc sib
  621. voicingswitch s
  622. lengthmod 6
  623. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  624. IF KlattSynth THEN
  625. Vowelin f1=0 f2=1390 -300 300 f3=0 0
  626. Vowelout f1=1 f2=1390 -300 300 f3=-100 60 len=50 brk
  627. ENDIF
  628. IF nextPh(isPause2) THEN
  629. FMT(voc/z_) addWav(ufric/s_, 70)
  630. ENDIF
  631. FMT(voc/z) addWav(ufric/s_, 85)
  632. endphoneme
  633. phoneme Z // plea**s**ure
  634. vcd pla frc sib
  635. voicingswitch S
  636. lengthmod 6
  637. Vowelin f1=0 f2=2000 0 300 f3=-200 80
  638. Vowelout f1=2 f2=2000 0 300 f3=-200 80 brk
  639. IF KlattSynth THEN
  640. IF nextPh(isPause2) THEN
  641. FMT(klatt/zh_, 60) addWav(vocw/zh, 70)
  642. ENDIF
  643. FMT(klatt/zh) addWav(vocw/zh, 130)
  644. ENDIF
  645. IF nextPh(isPause2) THEN
  646. FMT(voc/zh_, 60) addWav(vocw/zh, 70)
  647. ENDIF
  648. FMT(voc/zh) addWav(vocw/zh, 130)
  649. endphoneme
  650. phoneme z.
  651. vcd pla frc sib
  652. ipa ʐ
  653. voicingswitch s.
  654. lengthmod 6
  655. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  656. Vowelout f1=2 f2=1800 -100 300 f3=-300 80 brk
  657. IF KlattSynth THEN
  658. IF nextPh(isPause2) THEN
  659. FMT(klatt/zh_) addWav(vocw/zh_rfx)
  660. ENDIF
  661. FMT(klatt/zh) addWav(vocw/zh_rfx)
  662. ENDIF
  663. IF nextPh(isPause2) THEN
  664. FMT(voc/zh_) addWav(vocw/zh_rfx)
  665. ENDIF
  666. FMT(voc/zh) addWav(vocw/zh_rfx)
  667. endphoneme
  668. phoneme z;
  669. vcd alp sib frc
  670. ipa ʑ
  671. voicingswitch s;
  672. lengthmod 6
  673. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  674. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  675. IF nextPh(isPause2) THEN
  676. FMT(voc/z_pzd_) addWav(ufric/s_pzd_, 80)
  677. ENDIF
  678. FMT(voc/z_pzd) addWav(ufric/s_pzd, 80)
  679. endphoneme
  680. phoneme Z;
  681. vcd alp sib frc
  682. voicingswitch S;
  683. ipa ʑ
  684. lengthmod 6
  685. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  686. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  687. IF nextPh(isPause2) THEN
  688. FMT(voc/z_pzd_) addWav(ufric/sh_pzd_)
  689. ENDIF
  690. FMT(voc/z_pzd) addWav(ufric/sh_pzd, 80)
  691. endphoneme
  692. phoneme J^ // palatal fricative (Kirshenbaum C<vcd>)
  693. vcd pal frc pzd
  694. ipa ʝ
  695. voicingswitch C
  696. lengthmod 6
  697. Vowelin f1=1 f2=2700 400 600 f3=200 70
  698. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=100
  699. FMT(voc/j) addWav(ufric/ch, 25)
  700. endphoneme
  701. phoneme Q
  702. vcd vel frc
  703. voicingswitch x
  704. lengthmod 6
  705. Vowelin f1=2 f2=2300 200 400 f3=-100 80
  706. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  707. IF KlattSynth THEN
  708. IF nextPh(isPause2) THEN
  709. FMT(klatt/qqh_) addWav(vocw/Q_)
  710. ENDIF
  711. FMT(klatt/qqh) addWav(vocw/Q)
  712. ENDIF
  713. IF nextPh(isPause2) THEN
  714. FMT(voc/Q_) addWav(vocw/Q_)
  715. ENDIF
  716. FMT(voc/Q) addWav(vocw/Q)
  717. endphoneme
  718. phoneme Q^
  719. vcd vel frc
  720. lengthmod 6
  721. Vowelin f1=2 f2=2700 400 600 f3=200 80
  722. Vowelout f1=2 f2=2700 40 600 f3=200 80 brk
  723. IF nextPh(isPause2) THEN
  724. FMT(voc/Q_) addWav(vocw/Q_)
  725. ENDIF
  726. FMT(voc/Q) addWav(vocw/Q)
  727. endphoneme
  728. phoneme Q"
  729. vcd uvl frc
  730. ipa ʁ
  731. lengthmod 6
  732. IF nextPh(isPause2) THEN
  733. FMT(voc/Q_ulv) addWav(ufric/xx, 60)
  734. ENDIF
  735. FMT(voc/Q_ulv) addWav(ufric/xx, 80)
  736. endphoneme
  737. //*******************************************************************
  738. // UNVOICED STOPS
  739. //*******************************************************************
  740. phoneme p
  741. vls blb stp
  742. voicingswitch b
  743. lengthmod 2
  744. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  745. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  746. IF nextPh(isPause2) THEN
  747. WAV(ustop/p_)
  748. ELIF nextPh(r) THEN
  749. WAV(ustop/pr, 70)
  750. ELIF nextPh(R) OR nextPh(R2) THEN
  751. WAV(ustop/pr)
  752. ELIF nextPh(@-) THEN
  753. WAV(ustop/p_unasp)
  754. ELIF nextPh(l) THEN
  755. WAV(ustop/pl)
  756. ENDIF
  757. WAV(ustop/p)
  758. endphoneme
  759. phoneme t
  760. import_phoneme ipa/t
  761. voicingswitch d
  762. endphoneme
  763. phoneme t[ // dental variant of /t/
  764. import_phoneme ipa/t_d
  765. voicingswitch d[
  766. endphoneme
  767. phoneme tS // **ch**urch
  768. vls pla afr sib
  769. voicingswitch dZ
  770. lengthmod 2
  771. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  772. IF nextPh(isPause2) THEN
  773. WAV(ustop/tsh_)
  774. ENDIF
  775. WAV(ustop/tsh)
  776. endphoneme
  777. phoneme tS;
  778. vls alp sib afr
  779. voicingswitch dZ;
  780. ipa tɕ
  781. lengthmod 2
  782. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  783. IF nextPh(isPause2) THEN
  784. WAV(ustop/ts_pzd)
  785. ENDIF
  786. WAV(ustop/ts_pzd)
  787. endphoneme
  788. phoneme c
  789. vls pal stp pzd
  790. voicingswitch J
  791. lengthmod 2
  792. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  793. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=50 colr=1
  794. IF nextPh(isPause2) THEN
  795. WAV(ustop/t_pzd, 30)
  796. ENDIF
  797. WAV(ustop/c, 150)
  798. endphoneme
  799. phoneme k
  800. vls vel stp
  801. voicingswitch g
  802. lengthmod 2
  803. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  804. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  805. IF KlattSynth THEN
  806. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  807. ENDIF
  808. IF nextPh(isPause2) THEN
  809. WAV(ustop/k_)
  810. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  811. WAV(ustop/kr)
  812. ELIF nextPh(#i) OR nextPh(;) THEN
  813. WAV(ustop/ki)
  814. ELIF nextPh(l) THEN
  815. WAV(ustop/kl)
  816. ELIF nextPh(@-) THEN
  817. WAV(ustop/k_unasp, 70)
  818. ENDIF
  819. WAV(ustop/k)
  820. endphoneme
  821. phoneme q
  822. vls uvl stp
  823. lengthmod 2
  824. Vowelin f1=1 f2=1700 0 200 f3=-300 80 gpaus f4 rms=30
  825. Vowelout f1=1 f2=1700 -100 200 f3=-300 80 f4 rms=35
  826. IF nextPh(isPause2) THEN
  827. WAV(ustop/q, 40)
  828. ELIF nextPh(#u) THEN
  829. WAV(ustop/q_u, 80)
  830. ENDIF
  831. WAV(ustop/q, 48)
  832. endphoneme
  833. //*******************************************************************
  834. // UNVOICED fricatives
  835. //*******************************************************************
  836. phoneme f
  837. vls lbd frc
  838. voicingswitch v
  839. lengthmod 3
  840. Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
  841. IF nextPh(isPause) THEN
  842. WAV(ufric/f_)
  843. ENDIF
  844. WAV(ufric/f)
  845. endphoneme
  846. phoneme T // **th**in
  847. vls dnt frc
  848. voicingswitch D
  849. lengthmod 3
  850. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  851. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  852. IF nextPh(isPause) THEN
  853. WAV(ufric/th_)
  854. ENDIF
  855. WAV(ufric/th)
  856. endphoneme
  857. phoneme s
  858. vls alv frc sib
  859. voicingswitch z
  860. lengthmod 3
  861. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  862. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  863. IF nextPh(isPause) THEN
  864. WAV(ufric/s_)
  865. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  866. WAV(ufric/s!)
  867. ENDIF
  868. WAV(ufric/s)
  869. endphoneme
  870. phoneme S // **sh**op
  871. vls pla frc sib
  872. voicingswitch Z
  873. lengthmod 3
  874. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  875. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  876. IF nextPh(isPause) THEN
  877. WAV(ufric/sh_)
  878. ENDIF
  879. WAV(ufric/sh)
  880. endphoneme
  881. phoneme s.
  882. vls pla frc sib
  883. ipa ʂ
  884. voicingswitch z.
  885. lengthmod 3
  886. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  887. Vowelout f1=0 f2=1800 -100 300 f3=-300 80
  888. IF nextPh(isPause) THEN
  889. WAV(ufric/sh_rfx, 60)
  890. ENDIF
  891. WAV(ufric/sh_rfx, 90)
  892. endphoneme
  893. phoneme s;
  894. vls pal frc sib pzd
  895. ipa ʂ
  896. voicingswitch z;
  897. lengthmod 3
  898. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  899. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate len=70
  900. IF nextPh(isPause) THEN
  901. WAV(ufric/s_pzd_)
  902. ENDIF
  903. WAV(ufric/s_pzd)
  904. endphoneme
  905. phoneme S;
  906. vls alp sib frc
  907. voicingswitch Z;
  908. ipa ɕ
  909. lengthmod 3
  910. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  911. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate
  912. IF nextPh(isPause) THEN
  913. WAV(ufric/sh_pzd_)
  914. ENDIF
  915. WAV(ufric/sh_pzd)
  916. endphoneme
  917. phoneme l# // Lateral fricative (eg. Welsh "ll")
  918. vls alv frc
  919. ipa ɬ
  920. lengthmod 3
  921. NextVowelStarts
  922. VowelStart(l/l@)
  923. VowelStart(l/la)
  924. VowelStart(l/le)
  925. VowelStart(l/li, -10)
  926. VowelStart(l/lo)
  927. VowelStart(l/lu)
  928. EndSwitch
  929. IF prevPh(isVowel) THEN
  930. VowelEnding(l/xl, -40)
  931. ENDIF
  932. WAV(ufric/l#, 60)
  933. endphoneme
  934. phoneme C // German i**ch**
  935. vls pal frc
  936. lengthmod 3
  937. Vowelin f1=0 f2=2700 400 600 f3=200 70
  938. Vowelout f1=0 f2=2700 400 600 f3=200 70 rms=20
  939. IF nextPh(isPause) THEN
  940. WAV(ufric/ch_)
  941. ENDIF
  942. WAV(ufric/ch)
  943. endphoneme
  944. phoneme x // German bu**ch**
  945. vls vel frc
  946. voicingswitch Q
  947. lengthmod 3
  948. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  949. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  950. IF nextPh(isPause) THEN
  951. WAV(ufric/x_, 60)
  952. ENDIF
  953. WAV(ufric/x_hr, 20)
  954. endphoneme
  955. phoneme X
  956. vls uvl frc
  957. voicingswitch Q"
  958. lengthmod 3
  959. IF nextPh(isPause) THEN
  960. WAV(ufric/xx, 70)
  961. ENDIF
  962. WAV(ufric/xx,80)
  963. endphoneme
  964. phoneme h
  965. vls glt apr
  966. lengthmod 3
  967. ipa h
  968. IF nextPh(#@) THEN
  969. WAV(h/h@)
  970. ELIF nextPh(#a) THEN
  971. WAV(h/ha)
  972. ELIF nextPh(#e) THEN
  973. WAV(h/he)
  974. ELIF nextPh(#i) THEN
  975. WAV(h/hi)
  976. ELIF nextPh(#o) THEN
  977. WAV(h/ho)
  978. ELIF nextPh(#u) THEN
  979. WAV(h/hu)
  980. ENDIF
  981. WAV(h/h_, 70) // no vowel following
  982. endphoneme
  983. //*******************************************************************
  984. // ADDITIONAL PHONEME TABLES
  985. //*******************************************************************
  986. phonemetable jp base1
  987. include ph_japanese
  988. phonemetable consonants base1
  989. include ph_consonants
  990. phonemetable base2 base1
  991. include ph_base2
  992. phonemetable en base1
  993. include ph_english
  994. phonemetable en-n en
  995. include ph_english_n
  996. phonemetable en-us en
  997. include ph_english_us
  998. phonemetable en-sc en
  999. include ph_english_sc
  1000. phonemetable en-rp en
  1001. include ph_english_rp
  1002. phonemetable en-wm en
  1003. include ph_english_wm
  1004. phonemetable en-wi en
  1005. include ph_english_wi
  1006. phonemetable af base1
  1007. include ph_afrikaans
  1008. phonemetable cy base1
  1009. include ph_welsh
  1010. phonemetable ga base1
  1011. include ph_irish
  1012. phonemetable de base1
  1013. include ph_german
  1014. phonemetable eo base1
  1015. include ph_esperanto
  1016. phonemetable ia eo
  1017. include ph_interlingua
  1018. phonemetable jbo eo
  1019. include ph_lojban
  1020. phonemetable nci base2
  1021. include ph_nahuatl
  1022. phonemetable fi base1
  1023. include ph_finnish
  1024. phonemetable et base1
  1025. include ph_estonian
  1026. phonemetable fr base1
  1027. include ph_french
  1028. phonemetable fr-ca fr
  1029. include ph_french_ca
  1030. phonemetable nl base1
  1031. include ph_dutch
  1032. phonemetable hi_base base1
  1033. include ph_hindi_base
  1034. phonemetable hi hi_base
  1035. include ph_hindi
  1036. phonemetable bn hi_base
  1037. include ph_bengali
  1038. phonemetable ne hi_base
  1039. include ph_nepali
  1040. phonemetable ur hi_base
  1041. include ph_urdu
  1042. phonemetable pa hi_base
  1043. include ph_punjabi
  1044. phonemetable ta hi_base
  1045. include ph_tamil
  1046. phonemetable kn hi_base
  1047. include ph_kannada
  1048. phonemetable ml hi_base
  1049. include ph_malayalam
  1050. phonemetable gu hi_base
  1051. include ph_gujarati
  1052. phonemetable mr hi_base
  1053. include ph_marathi
  1054. phonemetable hu base1
  1055. include ph_hungarian
  1056. phonemetable lt base1
  1057. include ph_lithuanian
  1058. phonemetable lv base1
  1059. include ph_latvian
  1060. phonemetable pl base1
  1061. include ph_polish
  1062. phonemetable sk pl
  1063. include ph_slovak
  1064. phonemetable cs sk
  1065. include ph_czech
  1066. phonemetable hr sk
  1067. include ph_croatian
  1068. phonemetable mk hr
  1069. include ph_macedonian
  1070. phonemetable sr hr
  1071. include ph_serbian
  1072. phonemetable ru base1
  1073. include ph_russian
  1074. phonemetable bg pl
  1075. include ph_bulgarian
  1076. phonemetable it base2
  1077. include ph_italian
  1078. phonemetable la base1
  1079. include ph_latin
  1080. phonemetable es base2
  1081. include ph_spanish
  1082. phonemetable es-la es
  1083. include ph_spanish_la
  1084. phonemetable ca es
  1085. include ph_catalan
  1086. phonemetable an es
  1087. include ph_aragon
  1088. phonemetable eu base2
  1089. include ph_basque
  1090. phonemetable pt base2
  1091. include ph_pt_brazil
  1092. phonemetable pt-pt pt
  1093. include ph_portugal
  1094. phonemetable ro base2
  1095. include ph_romanian
  1096. phonemetable el base2
  1097. include ph_greek
  1098. phonemetable grc base2
  1099. include ph_greek_ancient
  1100. phonemetable sv base1
  1101. include ph_swedish
  1102. phonemetable no base1
  1103. include ph_norwegian
  1104. phonemetable is base1
  1105. include ph_icelandic
  1106. phonemetable vi base1
  1107. include ph_vietnam
  1108. phonemetable vi-hue vi
  1109. include ph_vietnam_hue
  1110. phonemetable vi-sgn vi
  1111. include ph_vietnam_sgn
  1112. phonemetable zhy base1
  1113. include ph_zh_yue
  1114. phonemetable zh base1
  1115. include ph_zh
  1116. phonemetable sw base1
  1117. include ph_swahili
  1118. phonemetable tr base2
  1119. include ph_turkish
  1120. phonemetable ku base2
  1121. include ph_kurdish
  1122. phonemetable id base2
  1123. include ph_indonesian
  1124. phonemetable sq base1
  1125. include ph_albanian
  1126. phonemetable hy base1
  1127. include ph_armenian
  1128. phonemetable da base1
  1129. include ph_danish
  1130. phonemetable ka base1
  1131. include ph_georgian
  1132. phonemetable fa base1
  1133. include ph_farsi
  1134. phonemetable ar base1
  1135. include ph_arabic
  1136. phonemetable rw base2
  1137. include ph_kinyarwanda
  1138. phonemetable prs base1
  1139. include ph_dari
  1140. phonemetable sl pl
  1141. include ph_slovenian
  1142. phonemetable gd base1
  1143. include ph_s_gaelic
  1144. phonemetable nso base1
  1145. include ph_northern-sotho
  1146. phonemetable ht fr
  1147. include ph_haitian
  1148. phonemetable az tr
  1149. include ph_azerbaijani
  1150. phonemetable ak base1
  1151. include ph_akan
  1152. phonemetable am base1
  1153. include ph_amhari
  1154. phonemetable wo base1
  1155. include ph_wolof
  1156. phonemetable dv hi_base
  1157. include ph_divehi
  1158. phonemetable te hi_base
  1159. include ph_telugu
  1160. phonemetable si hi_base
  1161. include ph_sinhala
  1162. phonemetable as bn
  1163. include ph_assamese
  1164. phonemetable or bn
  1165. include ph_oriya
  1166. phonemetable mni bn
  1167. include ph_manipuri
  1168. phonemetable tn base1
  1169. include ph_setswana
  1170. phonemetable mt base1
  1171. include ph_maltese
  1172. phonemetable bo hi
  1173. include ph_tibetan
  1174. phonemetable kk base1
  1175. include ph_kazakh
  1176. phonemetable tt base1
  1177. include ph_tatar
  1178. phonemetable ko base1
  1179. include ph_korean
  1180. phonemetable kl base1
  1181. include ph_greenlandic
  1182. phonemetable om base1
  1183. include ph_oromo
  1184. phonemetable my base1
  1185. include ph_burmese
  1186. phonemetable gn base1
  1187. include ph_guarani
  1188. phonemetable ky base1
  1189. include ph_kyrgyz