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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813
  1. // This is the master phoneme file.
  2. // The base phoneme table contains the utility phonemes, the consonants,
  3. // and a schwa. The vowels are defined in the language specific phoneme
  4. // tables, which can also redefine consonants if they wish.
  5. //*******************************************************************
  6. // UTILITY PHONEMES
  7. //*******************************************************************
  8. phoneme % // Unstressed
  9. stress
  10. stress_type 1
  11. endphoneme
  12. phoneme %% // Diminished stress
  13. stress
  14. stress_type 0
  15. endphoneme
  16. phoneme \, // [,] Secondary stress
  17. stress
  18. stress_type 2
  19. endphoneme
  20. phoneme \,\, // [,,] Secondary stress
  21. stress
  22. stress_type 3
  23. endphoneme
  24. phoneme ' // Primary stress
  25. stress
  26. stress_type 4
  27. endphoneme
  28. phoneme '' // Primary stress (priority)
  29. stress
  30. stress_type 5
  31. endphoneme
  32. phoneme '! // Primary stress (emphasized)
  33. stress
  34. stress_type 6
  35. endphoneme
  36. phoneme = // Place stress on previous vowel
  37. stress
  38. stress_type 2
  39. endphoneme
  40. phoneme || // End Word
  41. pause
  42. lengthmod 1
  43. endphoneme
  44. phoneme _ // Short pause
  45. pause
  46. starttype _ endtype _
  47. lengthmod 1
  48. length 25
  49. endphoneme
  50. phoneme _! // Short pause, don't replace by linking
  51. pause
  52. starttype _ endtype _
  53. lengthmod 1
  54. nolink
  55. length 35
  56. endphoneme
  57. phoneme _| // Very short pause
  58. pause
  59. starttype _ endtype _
  60. lengthmod 5
  61. length 1
  62. endphoneme
  63. phoneme _: // Standard pause
  64. pause
  65. starttype _ endtype _
  66. lengthmod 1
  67. length 75
  68. endphoneme
  69. phoneme _:: // Long pause
  70. pause
  71. starttype _ endtype _
  72. lengthmod 1
  73. length 150
  74. endphoneme
  75. phoneme _;_ // clause pause
  76. pause
  77. starttype _ endtype _
  78. lengthmod 1
  79. length 200
  80. endphoneme
  81. phoneme _^_ // Change dictionary (followed by language-code in ascii
  82. pause
  83. starttype _ endtype _
  84. lengthmod 1
  85. length 10
  86. endphoneme
  87. phoneme _X1 // a language specific action
  88. pause
  89. starttype _ endtype _
  90. lengthmod 1
  91. length 10
  92. endphoneme
  93. phoneme ? // glottal stop
  94. vls glt stop
  95. lengthmod 2 // ??
  96. nolink
  97. Vowelin glstop
  98. Vowelout glstop
  99. WAV(ustop/null)
  100. endphoneme
  101. phoneme : // lengthen previous vowel by "length"
  102. virtual
  103. length 70
  104. endphoneme
  105. phoneme - // Indicates the previous phoneme is a syllabic consonant
  106. virtual
  107. endphoneme
  108. // Some default vowel definitions
  109. phoneme @ // Schwa
  110. vowel starttype #@ endtype #@
  111. unstressed
  112. length 140
  113. FMT(vowel/@)
  114. endphoneme
  115. phoneme @- // very short schwa
  116. vowel starttype #@ endtype #@
  117. unstressed nonsyllabic
  118. ipa ə
  119. IF nextPhW(*) THEN
  120. ipa NULL
  121. ENDIF
  122. length 50
  123. FMT(vowel/@-)
  124. endphoneme
  125. phoneme a
  126. vowel starttype #a endtype #a
  127. length 180
  128. FMT(vowel/a)
  129. endphoneme
  130. phoneme e
  131. vowel starttype #e endtype #e
  132. length 170
  133. FMT(vowel/e)
  134. endphoneme
  135. phoneme i
  136. vowel starttype #i endtype #i
  137. length 170
  138. IfNextVowelAppend(;)
  139. FMT(vowel/i)
  140. endphoneme
  141. phoneme o
  142. vowel starttype #o endtype #o
  143. length 170
  144. FMT(vowel/oo)
  145. endphoneme
  146. phoneme u
  147. vowel starttype #u endtype #u
  148. length 170
  149. FMT(vowel/u)
  150. endphoneme
  151. // Syllablic consonants
  152. //=====================
  153. phoneme m-
  154. vowel starttype #@ endtype #@
  155. length 170
  156. IF thisPh(isWordStart) THEN
  157. length 190
  158. ENDIF
  159. IF KlattSynth THEN
  160. FMT(klatt/m-syl)
  161. ENDIF
  162. FMT(m/m-syl)
  163. endphoneme
  164. phoneme n-
  165. vowel starttype #@ endtype #@
  166. length 170
  167. IF thisPh(isWordStart) THEN
  168. length 190
  169. ENDIF
  170. IF KlattSynth THEN
  171. FMT(klatt/n-syl)
  172. ENDIF
  173. FMT(n/n-syl)
  174. endphoneme
  175. phoneme N-
  176. vowel starttype #e endtype #e
  177. length 190
  178. FMT(nn/nn-syl)
  179. endphoneme
  180. //*******************************************************************
  181. // Other sounds
  182. //*******************************************************************
  183. phoneme #X1 // click, use for indicating capital letters
  184. vls alv frc sibilant
  185. lengthmod 3
  186. WAV(ustop/percus10)
  187. endphoneme
  188. //*******************************************************************
  189. // VIRTUAL - referred to in vowels' vowel starttype and endtype
  190. // These each apply to a class of vowels
  191. //*******************************************************************
  192. phoneme #@ virtual
  193. endphoneme
  194. phoneme #a virtual
  195. endphoneme
  196. phoneme #e virtual
  197. endphoneme
  198. phoneme #i virtual
  199. endphoneme
  200. phoneme #o virtual
  201. endphoneme
  202. phoneme #u virtual
  203. endphoneme
  204. //*******************************************************************
  205. // SONORANTS
  206. //*******************************************************************
  207. phoneme r- // syllabic r
  208. vowel starttype #@ endtype #@
  209. ipa rU+0329
  210. unstressed
  211. length 220
  212. FMT(vowelr/r-voc)
  213. endphoneme
  214. phoneme l- // syllabic l
  215. vowel starttype #@ endtype #@
  216. ipa lU+0329
  217. unstressed
  218. length 200
  219. FMT(vwl_hi/l-voc)
  220. endphoneme
  221. phoneme r
  222. liquid rhotic
  223. ipa ɹ
  224. lengthmod 7
  225. IF nextPh(isNotVowel) THEN
  226. ChangePhoneme(r/)
  227. ENDIF
  228. NextVowelStarts
  229. VowelStart(r/r@, -15)
  230. VowelStart(r/ra, -15)
  231. VowelStart(r/re, -15)
  232. VowelStart(r/ri, -15)
  233. VowelStart(r/ro, -15)
  234. VowelStart(r/ru, -15)
  235. EndSwitch
  236. IF prevPh(isVowel) THEN
  237. VowelEnding(r/xr, -50)
  238. ENDIF
  239. IF prevPh(isPause) THEN
  240. FMT(r/_r)
  241. ELIF prevPh(t) OR prevPh(p) OR prevPh(k) THEN
  242. FMT(r/tr)
  243. ENDIF
  244. FMT(r/r)
  245. endphoneme
  246. phoneme r/ // used for [r] when not preceding a vowel
  247. liquid rhotic
  248. lengthmod 2
  249. IF nextPh(n) THEN
  250. FMT(r3/r_n) addWav(r3/rx)
  251. ENDIF
  252. IF prevPh(t) OR prevPh(p) OR prevPh(k) THEN
  253. FMT(r/trr)
  254. ENDIF
  255. IF prevPh(isNotVowel) THEN
  256. FMT(r/rr)
  257. ENDIF
  258. FMT(r3/r_) addWav(r3/rx)
  259. endphoneme
  260. phoneme R
  261. liquid
  262. trill
  263. lengthmod 6
  264. ipa r
  265. IF nextPhW(R2) THEN
  266. ipa NULL
  267. ENDIF
  268. Vowelin f1=0 f2=1600 -300 300 f3=-200 80
  269. Vowelout f1=2 f2=1600 -300 300 f3=-200 80 brk
  270. FMT(r3/r_trill2) addWav(r3/r_trill2.wav, 65)
  271. endphoneme
  272. phoneme R2 // this is [R] from Slovak/Czech
  273. liquid
  274. trill
  275. lengthmod 6
  276. ipa r
  277. Vowelin f1=0 f2=1700 -300 300 f3=-300 80
  278. Vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
  279. FMT(r3/r_trill) addWav(r3/r_trill.wav, 50)
  280. endphoneme
  281. phoneme R3 // Afrikaans
  282. liquid
  283. trill
  284. lengthmod 6
  285. length 60
  286. ipa r
  287. Vowelin f1=2 f2=2700 -300 -200 f3=-1300 80
  288. Vowelout f1=2 f2=1700 -300 -200 f3=-1300 80
  289. // vowel modifier is the same as for [r]
  290. NextVowelStarts
  291. VowelStart(r/r@, -15)
  292. VowelStart(r/ra, -15)
  293. VowelStart(r/re, -15)
  294. VowelStart(r/ri, -15)
  295. VowelStart(r/ro, -15)
  296. VowelStart(r/ru, -15)
  297. EndSwitch
  298. IF prevPh(isVowel) THEN
  299. VowelEnding(r/xr, -50)
  300. ENDIF
  301. FMT(r3/r_trill) addWav(r3/r_trill3.wav)
  302. endphoneme
  303. phoneme r" // uvular trill
  304. vcd uvl frc
  305. ipa ʀ
  306. lengthmod 6
  307. IF nextPh(isNotVowel) THEN
  308. FMT(r3/r_uvl) addWav(r3/r_uvl.wav, 50)
  309. ENDIF
  310. FMT(r3/r_uvl) addWav(r3/r_uvl.wav, 75)
  311. endphoneme
  312. procedure vowelstart_l
  313. NextVowelStarts
  314. VowelStart(l/l@)
  315. VowelStart(l/la)
  316. VowelStart(l/le)
  317. VowelStart(l/li, -10)
  318. VowelStart(l/lo)
  319. VowelStart(l/lu)
  320. EndSwitch
  321. endprocedure
  322. phoneme l
  323. liquid
  324. lengthmod 7
  325. IF nextPh(isNotVowel) THEN
  326. ChangePhoneme(l/)
  327. ENDIF
  328. CALL vowelstart_l
  329. IF prevPh(#@) THEN
  330. VowelEnding(l/xl, -50)
  331. ELIF prevPh(isVowel) THEN
  332. VowelEnding(l/xl, -40)
  333. ENDIF
  334. IF prevPh(isPause) THEN
  335. FMT(l/_l)
  336. ENDIF
  337. IF prevPh(t) THEN
  338. FMT(l/tl)
  339. ENDIF
  340. IF prevPh(l/) THEN
  341. FMT(l/l_long) // double l, make it longer
  342. ENDIF
  343. FMT(l/l)
  344. endphoneme
  345. phoneme l/ // used for [l] when not before a vowel
  346. liquid
  347. lengthmod 7
  348. IF nextPh(isVowel) THEN
  349. ChangePhoneme(l)
  350. ENDIF
  351. PrevVowelEndings
  352. VowelEnding(l/L1_@L, -60)
  353. VowelEnding(l/L1_aL, -40)
  354. VowelEnding(l/L1_eL, -30)
  355. VowelEnding(l/L1_iL, -30)
  356. VowelEnding(l/L1_oL, -40)
  357. VowelEnding(l/L1_uL, -40)
  358. EndSwitch
  359. FMT(l/l_)
  360. endphoneme
  361. phoneme l/2 // 'dark' [l] after a vowel
  362. liquid
  363. lengthmod 7
  364. IF nextPh(isVowel) THEN
  365. ChangePhoneme(l)
  366. ENDIF
  367. PrevVowelEndings
  368. VowelEnding(l/L2_@L, -60)
  369. VowelEnding(l/L2_aL, -50)
  370. VowelEnding(l/L2_eL, -40)
  371. VowelEnding(l/L2_iL, -30)
  372. VowelEnding(l/L2_oL, -50)
  373. VowelEnding(l/L2_uL, -40)
  374. EndSwitch
  375. endphoneme
  376. phoneme l/3 // Replacement for [l/]
  377. liquid
  378. lengthmod 7
  379. IF nextPh(isVowel) THEN
  380. ChangePhoneme(l)
  381. ENDIF
  382. PrevVowelEndings
  383. VowelEnding(l/l_@)
  384. VowelEnding(l/l_a)
  385. VowelEnding(l/l_e)
  386. VowelEnding(l/l_i)
  387. VowelEnding(l/l_o)
  388. VowelEnding(l/l_u, -20)
  389. EndSwitch
  390. // IF nextPh(isLiquid) THEN
  391. // FMT(l/_l)
  392. // ENDIF
  393. FMT(l/l_)
  394. endphoneme
  395. phoneme l^ // palatal l
  396. liquid
  397. ipa ʎ
  398. lengthmod 7
  399. Vowelout len=60 lenadd rate
  400. length 100
  401. NextVowelStarts
  402. VowelStart(l^/j2@)
  403. VowelStart(l^/j2a)
  404. VowelStart(l^/j2e)
  405. VowelStart(l^/j2i)
  406. VowelStart(l^/j2o)
  407. VowelStart(l^/j2u)
  408. EndSwitch
  409. IF prevPh(isPause) THEN
  410. FMT(l^/_l^)
  411. ENDIF
  412. FMT(l^/l^)
  413. endphoneme
  414. phoneme l.
  415. liquid rfx
  416. ipa ɭ
  417. lengthmod 7
  418. FMT(l^/l_rfx)
  419. endphoneme
  420. phoneme w
  421. liquid
  422. lengthmod 7
  423. IF nextPh(isVowel) THEN
  424. NextVowelStarts
  425. VowelStart(w/w@)
  426. VowelStart(w/wa)
  427. VowelStart(w/we)
  428. VowelStart(w/wi)
  429. VowelStart(w/wo)
  430. VowelStart(w/wu)
  431. EndSwitch
  432. VowelEnding(w/xw, -30)
  433. IF prevPh(isPause) THEN
  434. FMT(w/_w)
  435. ELSE
  436. FMT(w/_w)
  437. ENDIF
  438. ELSE
  439. // no vowel follows
  440. Vowelout len=50
  441. IF prevPh(#i) THEN
  442. FMT(w/iw_)
  443. ENDIF
  444. FMT(w/w_)
  445. ENDIF
  446. endphoneme
  447. phoneme j
  448. liquid palatal
  449. lengthmod 7
  450. IF nextPhW(isVowel) THEN
  451. NextVowelStarts
  452. VowelStart(j/j@)
  453. VowelStart(j/ja)
  454. VowelStart(j/je)
  455. VowelStart(j/ji)
  456. VowelStart(j/jo)
  457. VowelStart(j/ju)
  458. EndSwitch
  459. VowelEnding(j/xj, -30)
  460. IF prevPh(isPause) THEN
  461. FMT(j/_j)
  462. ENDIF
  463. ELSE
  464. // no vowel follows
  465. Vowelout len=70
  466. FMT(j/j_)
  467. ENDIF
  468. endphoneme
  469. phoneme ; // linking j, used between (i) vowels and a following vowel
  470. // also to palatalize consonants
  471. liquid palatal
  472. lengthmod 0
  473. IF prevPh(#i) THEN
  474. ipa NULL // linking after i vowel, don't show in ipa
  475. ENDIF
  476. IF nextPh(isNotVowel) THEN
  477. ChangePhoneme(NULL) // this is to ignore this phoneme if not before a vowel
  478. ENDIF
  479. NextVowelStarts
  480. VowelStart(j2/j2@)
  481. VowelStart(j2/j2a)
  482. VowelStart(j2/j2e)
  483. VowelStart(j2/j2i)
  484. VowelStart(j2/j2o)
  485. VowelStart(j2/j2u)
  486. EndSwitch
  487. IF prevPh(#i) THEN
  488. VowelEnding(j2/xj2, -40)
  489. ENDIF
  490. IF prevPh(isPause) THEN
  491. FMT(j2/_j2)
  492. ENDIF
  493. endphoneme
  494. //*******************************************************************
  495. // NASAL CONSONANTS
  496. //*******************************************************************
  497. phoneme m
  498. vcd blb nasal
  499. Vowelout f1=2 f2=1000 -500 -350 f3=-200 80 brk
  500. lengthmod 4
  501. IF KlattSynth THEN
  502. Vowelin f1=0 f2=1000 -50 -200 f3=-200 80
  503. IF nextPh(isPause2) THEN
  504. FMT(klatt/m_)
  505. ENDIF
  506. FMT(klatt/m)
  507. ENDIF
  508. NextVowelStarts
  509. VowelStart(m/m@)
  510. VowelStart(m/ma)
  511. VowelStart(m/me)
  512. VowelStart(m/mi)
  513. VowelStart(m/mo)
  514. VowelStart(m/mu)
  515. EndSwitch
  516. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  517. FMT(m/mj)
  518. ELIF prevPh(isPause) THEN
  519. FMT(m/_m)
  520. ELIF nextPh(isNotVowel) THEN
  521. FMT(m/m_)
  522. ENDIF
  523. endphoneme
  524. phoneme n
  525. vcd alv nasal
  526. Vowelout f1=2 f2=1700 -300 250 f3=-100 80 rms=20 brk
  527. lengthmod 4
  528. IF KlattSynth THEN
  529. Vowelin f1=0 f2=1500 -200 200 f3=0 80
  530. FMT(klatt/n)
  531. ENDIF
  532. NextVowelStarts
  533. VowelStart(n/n@)
  534. VowelStart(n/na)
  535. VowelStart(n/ne)
  536. VowelStart(n/ni)
  537. VowelStart(n/no)
  538. VowelStart(n/nu)
  539. EndSwitch
  540. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  541. FMT(n/nj)
  542. ELIF prevPh(isPause) OR prevPh(n) THEN
  543. FMT(n/_n)
  544. ELIF nextPh(isNotVowel) THEN
  545. FMT(n/n_)
  546. ENDIF
  547. endphoneme
  548. phoneme n.
  549. vcd rfx nasal
  550. ipa ɳ
  551. starttype n endtype n
  552. Vowelin f1=2 f2=1200 -300 250 f3=-500 80 rms=20 colr=2
  553. Vowelout f1=2 f2=1200 -300 250 f3=-500 80 rms=20 brk colr=2
  554. lengthmod 4
  555. IF KlattSynth THEN
  556. FMT(klatt/nr)
  557. ENDIF
  558. NextVowelStarts
  559. VowelStart(n/n@)
  560. VowelStart(n/na)
  561. VowelStart(n/ne)
  562. VowelStart(n/ni)
  563. VowelStart(n/no)
  564. VowelStart(n/nu)
  565. EndSwitch
  566. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  567. FMT(n/nj)
  568. ELIF prevPh(isPause) OR prevPh(n.) THEN
  569. FMT(n/_nr)
  570. ELIF nextPh(isNotVowel) THEN
  571. FMT(n/nr_)
  572. ENDIF
  573. endphoneme
  574. phoneme n^
  575. vcd pal nasal palatal
  576. ipa ɲ
  577. Vowelout f1=3 f2=2500 300 500 f3=100 80 len=45 brk rate
  578. lengthmod 4
  579. IF KlattSynth THEN
  580. VowelStart(klatt/n^@)
  581. FMT(klatt/n^)
  582. ENDIF
  583. NextVowelStarts
  584. VowelStart(n^/n^@)
  585. VowelStart(n^/n^a)
  586. VowelStart(n^/n^e)
  587. VowelStart(n^/n^i)
  588. VowelStart(n^/n^o)
  589. VowelStart(n^/n^u)
  590. EndSwitch
  591. IF prevPh(isPause) THEN
  592. FMT(n^/_n^)
  593. ELIF nextPh(isNotVowel) THEN
  594. IF nextPhW(n^) THEN
  595. Length 75
  596. ELIF prevPhW(n^) THEN
  597. Length 100
  598. ENDIF
  599. FMT(n^/n^_)
  600. ENDIF
  601. endphoneme
  602. phoneme N
  603. vcd vel nasal
  604. Vowelout f1=3 f2=2300 300 400 f3=-200 80 len=40 rms=20 brk
  605. lengthmod 8 // longer than 'n'
  606. IF KlattSynth THEN
  607. Vowelin f1=0 f2=2100 50 300 f3=0 80
  608. FMT(klatt/nn)
  609. ENDIF
  610. NextVowelStarts
  611. VowelStart(nn/nn@)
  612. VowelStart(nn/nna)
  613. VowelStart(nn/nne)
  614. VowelStart(nn/nni)
  615. VowelStart(nn/nno)
  616. VowelStart(nn/nnu)
  617. EndSwitch
  618. IF prevPh(#i) THEN
  619. VowelEnding(nn/inn, -40)
  620. ENDIF
  621. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  622. FMT(nn/nnj)
  623. ELIF prevPh(isPause) THEN
  624. FMT(nn/_nn)
  625. ELIF nextPh(isNotVowel) THEN
  626. FMT(nn/nn_)
  627. ENDIF
  628. endphoneme
  629. phoneme ** // TEST flap
  630. liquid alv
  631. ipa ɾ
  632. lengthmod 3
  633. Vowelout f1=3 f2=1600 -300 300 f3=-300 80 rms=35 len=15
  634. Vowelin f1=2 f2=1600 -300 300 f3=-100 80 len=20
  635. IF prevPh(#i) OR prevPh(#e) THEN
  636. FMT(r3/@tap2)
  637. ENDIF
  638. FMT(r3/@tap)
  639. endphoneme
  640. phoneme * // flap
  641. vcd alv flp
  642. brkafter
  643. ipa ɾ
  644. lengthmod 3
  645. IF prevPhW(@-) THEN
  646. ipa r // @-* sequence for [r]
  647. ENDIF
  648. IF nextPh(#e) OR nextPh(#i) THEN
  649. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  650. FMT(d/tap1) addWav(r3/rx, 150)
  651. FMT(d/tap1) addWav(r3/rx, 150)
  652. ENDIF
  653. Vowelin f1=2 f2=1500 -300 300 f3=-200 80
  654. IF nextPh(#a) THEN
  655. FMT(d/tap3) addWav(r3/rx, 200)
  656. ENDIF
  657. IF nextPh(r) THEN
  658. FMT(d/dr)
  659. ENDIF
  660. Vowelout f1=3 f2=1500 -400 300 f3=-200 80 rms=35 len=50
  661. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  662. FMT(d/tap3) addWav(r3/rx, 200)
  663. endphoneme
  664. phoneme r. // retroflex
  665. liquid rfx
  666. lengthmod 3
  667. Vowelout f1=3 f2=1400 -400 300 f3=-400 80 rms=35 len=15 colr=2
  668. Vowelin f1=2 f2=1400 -400 300 f3=-400 80 len=20
  669. FMT(r3/@tap_rfx)
  670. endphoneme
  671. //*******************************************************************
  672. // VOICED STOPS
  673. //*******************************************************************
  674. phoneme b
  675. vcd blb stop
  676. voicingswitch p
  677. Vowelout f1=2 f2=1000 -500 -300 f3=-300 80 brk
  678. lengthmod 5
  679. IF PreVoicing THEN
  680. FMT(b/xb)
  681. ENDIF
  682. IF KlattSynth THEN
  683. Vowelin f1=1 f2=1000 -500 -300 f3=-300 80
  684. IF nextPh(isPause2) THEN
  685. FMT(klatt/b) addWav(x/b_)
  686. ENDIF
  687. FMT(klatt/b) addWav(x/b)
  688. ENDIF
  689. IF nextPh(isPause2) THEN
  690. FMT(b/b_) addWav(x/b_)
  691. ELIF nextPh(@-) THEN
  692. FMT(b/b@2) addWav(x/b)
  693. ELIF nextPh(#@) THEN
  694. FMT(b/b@) addWav(x/b)
  695. ELIF nextPh(#a) THEN
  696. FMT(b/ba) addWav(x/b)
  697. ELIF nextPh(#e) THEN
  698. FMT(b/be) addWav(x/b)
  699. ELIF nextPh(#i) THEN
  700. FMT(b/bi) addWav(x/b)
  701. ELIF nextPh(#o) THEN
  702. FMT(b/bo) addWav(x/b)
  703. ELIF nextPh(#u) THEN
  704. FMT(b/bu) addWav(x/b)
  705. ENDIF
  706. FMT(b/b) addWav(x/b)
  707. endphoneme
  708. phoneme d
  709. vcd alv stop
  710. voicingswitch t
  711. lengthmod 5
  712. Vowelin f1=1 f2=1700 -300 300 f3=-100 80
  713. Vowelout f1=2 f2=1700 -300 300 f3=-100 80 brk
  714. IF PreVoicing THEN
  715. FMT(d/xd)
  716. ENDIF
  717. IF nextPh(isPause2) THEN
  718. FMT(d/d_) addWav(x/d_)
  719. // ELIF nextPh(r) THEN
  720. // FMT(d/dr) addWav(x/d)
  721. ENDIF
  722. FMT(d/d) addWav(x/d)
  723. endphoneme
  724. phoneme d[
  725. vcd dnt stop
  726. voicingswitch t[
  727. lengthmod 5
  728. Vowelin f1=2 f2=1500 -300 300 f3=-150 80
  729. Vowelout f1=2 f2=1500 -300 300 f3=-150 80
  730. IF PreVoicing THEN
  731. FMT(d/xd)
  732. ENDIF
  733. IF nextPh(isPause2) THEN
  734. FMT(d/d_) addWav(x/d_)
  735. ELIF nextPh(r) THEN
  736. FMT(d/dr) addWav(x/d_dnt, 110)
  737. ENDIF
  738. FMT(d/d) addWav(x/d_dnt, 110)
  739. endphoneme
  740. phoneme dZ
  741. vcd pla afr sibilant
  742. voicingswitch tS
  743. lengthmod 5
  744. Vowelin f1=2 f2=2300 200 400 f3=100 80
  745. Vowelout f1=2 f2=2300 250 300 f3=100 80 brk
  746. IF PreVoicing THEN
  747. FMT(dzh/xdzh)
  748. ENDIF
  749. IF nextPh(isPause2) THEN
  750. FMT(dzh/dzh_) addWav(x/dzh_)
  751. ENDIF
  752. FMT(dzh/dzh) addWav(x/dzh)
  753. endphoneme
  754. phoneme dZ;
  755. vcd pla afr sibilant palatal
  756. voicingswitch tS;
  757. ipa dʑ
  758. lengthmod 5
  759. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  760. Vowelout f1=2 f2=2700 400 600 f3=300 80
  761. IF PreVoicing THEN
  762. FMT(dzh/xdzh)
  763. ENDIF
  764. IF KlattSynth THEN
  765. IF nextPh(isPause2) THEN
  766. FMT(dzh/dzh_) addWav(x/dzh_)
  767. ENDIF
  768. FMT(dzh/dzh) addWav(x/dz_pzd)
  769. ENDIF
  770. IF nextPh(isPause2) THEN
  771. FMT(dzh/dzh_) addWav(x/dzh_)
  772. ENDIF
  773. FMT(dzh/dzh) addWav(x/dz_pzd)
  774. endphoneme
  775. phoneme J
  776. vcd pal afr sibilant
  777. voicingswitch c
  778. lengthmod 5
  779. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  780. Vowelout f1=2 f2=2700 400 600 f3=300 80 colr=1
  781. IF PreVoicing THEN
  782. FMT(dzh/xdz_pzd)
  783. ENDIF
  784. IF KlattSynth THEN
  785. IF nextPh(isPause2) THEN
  786. FMT(klatt/dz_pzd_) addWav(x/dzh, 35)
  787. ENDIF
  788. FMT(klatt/dz_pzd) addWav(x/dzh, 45)
  789. ENDIF
  790. IF nextPh(isPause2) THEN
  791. FMT(dzh/dz_pzd_) addWav(x/dzh, 35)
  792. ENDIF
  793. FMT(dzh/dz_pzd) addWav(x/dzh, 45)
  794. endphoneme
  795. phoneme g
  796. vcd vel stop
  797. voicingswitch k
  798. lengthmod 5
  799. Vowelin f1=2 f2=2300 200 300 f3=-300 80
  800. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  801. IF PreVoicing THEN
  802. FMT(g/xg)
  803. ENDIF
  804. IF nextPh(isPause2) THEN
  805. FMT(g/g_) addWav(x/g_)
  806. ENDIF
  807. FMT(g/g) addWav(x/g2, 150)
  808. endphoneme
  809. //*******************************************************************
  810. // VOICED fricatives
  811. //*******************************************************************
  812. phoneme B
  813. vcd blb frc
  814. voicingswitch f
  815. lengthmod 6
  816. Vowelin f1=2 f2=1000 -300 -200 f3=-100 100
  817. Vowelout f1=2 f2=1000 -500 -300 f3=-100 60 len=50
  818. IF KlattSynth THEN
  819. IF nextPh(isPause2) THEN
  820. FMT(klatt/v_) addWav(vocw/v)
  821. ENDIF
  822. FMT(klatt/bh) addWav(vocw/v)
  823. ENDIF
  824. IF nextPh(isPause2) THEN
  825. FMT(voc/v_) addWav(vocw/v)
  826. ENDIF
  827. FMT(voc/bh) addWav(vocw/v)
  828. endphoneme
  829. phoneme v
  830. vcd lbd frc
  831. voicingswitch f
  832. lengthmod 6
  833. Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
  834. Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
  835. IF KlattSynth THEN
  836. Vowelout f1=1 f2=1000 -500 -300 f3=-300 60 len=50 brk
  837. IF nextPh(isPause2) THEN
  838. FMT(klatt/v_) addWav(vocw/v)
  839. ENDIF
  840. FMT(klatt/v) addWav(vocw/v, 150)
  841. ENDIF
  842. IF nextPh(isPause2) THEN
  843. FMT(voc/v_) addWav(vocw/v)
  844. ENDIF
  845. IF thisPh(isWordStart) AND nextPhW(isLiquid) THEN
  846. Length 70
  847. ENDIF
  848. FMT(voc/v) addWav(vocw/v)
  849. endphoneme
  850. phoneme v# // approximant, not fricative
  851. vcd lbd frc
  852. ipa ʋ
  853. lengthmod 6
  854. voicingswitch f
  855. Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
  856. Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
  857. IF nextPh(isPause2) THEN
  858. FMT(voc/v#_)
  859. ENDIF
  860. FMT(voc/v#)
  861. endphoneme
  862. phoneme D
  863. vcd dnt frc
  864. voicingswitch T
  865. lengthmod 6
  866. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  867. IF KlattSynth THEN
  868. Vowelin f1=0 f2=1290 -300 300 f3=0 0
  869. ENDIF
  870. IF nextPh(isPause2) THEN
  871. FMT(voc/dh_) addWav(vocw/dh)
  872. ENDIF
  873. FMT(voc/dh) addWav(vocw/dh)
  874. endphoneme
  875. phoneme z
  876. vcd alv frc sibilant
  877. voicingswitch s
  878. lengthmod 6
  879. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  880. IF KlattSynth THEN
  881. Vowelin f1=0 f2=1390 -300 300 f3=0 0
  882. Vowelout f1=1 f2=1390 -300 300 f3=-100 60 len=50 brk
  883. ENDIF
  884. IF nextPh(isPause2) THEN
  885. FMT(voc/z_) addWav(ufric/s_, 85)
  886. ENDIF
  887. FMT(voc/z) addWav(ufric/s_)
  888. endphoneme
  889. phoneme Z
  890. vcd pla frc sibilant
  891. voicingswitch S
  892. lengthmod 6
  893. Vowelin f1=0 f2=2000 0 300 f3=-200 80
  894. Vowelout f1=2 f2=2000 0 300 f3=-200 80 brk
  895. IF KlattSynth THEN
  896. IF nextPh(isPause2) THEN
  897. FMT(klatt/zh_) addWav(vocw/zh)
  898. ENDIF
  899. FMT(klatt/zh) addWav(vocw/zh, 130)
  900. ENDIF
  901. IF nextPh(isPause2) THEN
  902. FMT(voc/zh_) addWav(vocw/zh)
  903. ENDIF
  904. FMT(voc/zh) addWav(vocw/zh, 130)
  905. endphoneme
  906. phoneme z.
  907. vcd pla frc sibilant
  908. ipa ʐ
  909. voicingswitch s.
  910. lengthmod 6
  911. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  912. Vowelout f1=2 f2=1800 -100 300 f3=-300 80 brk
  913. IF KlattSynth THEN
  914. IF nextPh(isPause2) THEN
  915. FMT(klatt/zh_) addWav(vocw/zh_rfx)
  916. ENDIF
  917. FMT(klatt/zh) addWav(vocw/zh_rfx)
  918. ENDIF
  919. IF nextPh(isPause2) THEN
  920. FMT(voc/zh_) addWav(vocw/zh_rfx)
  921. ENDIF
  922. FMT(voc/zh) addWav(vocw/zh_rfx)
  923. endphoneme
  924. phoneme z;
  925. vcd pal frc sibilant palatal
  926. ipa ʑ
  927. voicingswitch s;
  928. lengthmod 6
  929. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  930. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  931. IF nextPh(isPause2) THEN
  932. FMT(voc/z_pzd_) addWav(ufric/s_pzd_, 80)
  933. ENDIF
  934. FMT(voc/z_pzd) addWav(ufric/s_pzd, 80)
  935. endphoneme
  936. phoneme Z;
  937. vcd pal frc sibilant palatal
  938. voicingswitch S;
  939. ipa ʑ
  940. lengthmod 6
  941. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  942. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  943. IF nextPh(isPause2) THEN
  944. FMT(voc/z_pzd_) addWav(ufric/sh_pzd_)
  945. ENDIF
  946. FMT(voc/z_pzd) addWav(ufric/sh_pzd, 80)
  947. endphoneme
  948. phoneme J^ // palatal fricative (Kirshenbaum C<vcd>)
  949. vcd pal frc palatal
  950. ipa ʝ
  951. voicingswitch C
  952. lengthmod 6
  953. Vowelin f1=1 f2=2700 400 600 f3=200 70
  954. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=100
  955. FMT(voc/j) addWav(ufric/ch, 25)
  956. endphoneme
  957. phoneme Q
  958. vcd vel frc
  959. voicingswitch x
  960. lengthmod 6
  961. Vowelin f1=2 f2=2300 200 400 f3=-100 80
  962. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  963. IF KlattSynth THEN
  964. IF nextPh(isPause2) THEN
  965. FMT(klatt/qqh_) addWav(vocw/Q_)
  966. ENDIF
  967. FMT(klatt/qqh) addWav(vocw/Q)
  968. ENDIF
  969. IF nextPh(isPause2) THEN
  970. FMT(voc/Q_) addWav(vocw/Q_)
  971. ENDIF
  972. FMT(voc/Q) addWav(vocw/Q)
  973. endphoneme
  974. phoneme Q^
  975. vcd vel frc
  976. lengthmod 6
  977. Vowelin f1=2 f2=2700 400 600 f3=200 80
  978. Vowelout f1=2 f2=2700 40 600 f3=200 80 brk
  979. IF nextPh(isPause2) THEN
  980. FMT(voc/Q_) addWav(vocw/Q_)
  981. ENDIF
  982. FMT(voc/Q) addWav(vocw/Q)
  983. endphoneme
  984. phoneme Q"
  985. vcd uvl frc
  986. ipa ʁ
  987. lengthmod 6
  988. IF nextPh(isPause2) THEN
  989. FMT(voc/Q_ulv) addWav(ufric/xx, 60)
  990. ENDIF
  991. FMT(voc/Q_ulv) addWav(ufric/xx, 80)
  992. endphoneme
  993. //*******************************************************************
  994. // UNVOICED STOPS
  995. //*******************************************************************
  996. phoneme p
  997. vls blb stop
  998. voicingswitch b
  999. lengthmod 2
  1000. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  1001. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  1002. IF nextPh(isPause2) THEN
  1003. WAV(ustop/p_)
  1004. ELIF nextPh(r) THEN
  1005. WAV(ustop/pr, 70)
  1006. ELIF nextPh(R) OR nextPh(R2) THEN
  1007. WAV(ustop/pr)
  1008. ELIF nextPh(@-) THEN
  1009. WAV(ustop/p_unasp)
  1010. ELIF nextPh(l) THEN
  1011. WAV(ustop/pl)
  1012. ENDIF
  1013. WAV(ustop/p)
  1014. endphoneme
  1015. phoneme t
  1016. vls alv stop
  1017. voicingswitch d
  1018. lengthmod 2
  1019. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  1020. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  1021. IF nextPh(isPause2) THEN
  1022. WAV(ustop/t_)
  1023. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  1024. WAV(ustop/tr)
  1025. ELIF nextPh(@-) THEN
  1026. WAV(ustop/t_dnt, 50)
  1027. ENDIF
  1028. WAV(ustop/t, 90)
  1029. endphoneme
  1030. phoneme t[ // dental variant of /t/
  1031. vls dnt stop
  1032. voicingswitch d[
  1033. lengthmod 2
  1034. Vowelin f1=1 f2=1500 -250 250 f3=-100 80 amp=16
  1035. Vowelout f1=0 f2=1500 -300 250 f3=-100 80 rms=20
  1036. IF nextPh(isPause2) THEN
  1037. WAV(ustop/t_dnt, 35)
  1038. ENDIF
  1039. WAV(ustop/t_hi, 70)
  1040. endphoneme
  1041. phoneme tS
  1042. vls pla afr sibilant
  1043. voicingswitch dZ
  1044. lengthmod 2
  1045. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  1046. IF nextPh(isPause2) THEN
  1047. WAV(ustop/tsh_)
  1048. ENDIF
  1049. WAV(ustop/tsh)
  1050. endphoneme
  1051. phoneme tS;
  1052. vls pal afr sibilant palatal
  1053. voicingswitch dZ;
  1054. ipa tɕ
  1055. lengthmod 2
  1056. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  1057. IF nextPh(isPause2) THEN
  1058. WAV(ustop/ts_pzd)
  1059. ENDIF
  1060. WAV(ustop/ts_pzd)
  1061. endphoneme
  1062. phoneme c
  1063. vls pal stop palatal
  1064. voicingswitch J
  1065. lengthmod 2
  1066. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  1067. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=50 colr=1
  1068. IF nextPh(isPause2) THEN
  1069. WAV(ustop/t_pzd, 30)
  1070. ENDIF
  1071. WAV(ustop/c, 130)
  1072. endphoneme
  1073. phoneme k
  1074. vls vel stop
  1075. voicingswitch g
  1076. lengthmod 2
  1077. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  1078. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  1079. IF KlattSynth THEN
  1080. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  1081. ENDIF
  1082. IF nextPh(isPause2) THEN
  1083. WAV(ustop/k_)
  1084. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  1085. WAV(ustop/kr)
  1086. ELIF nextPh(#i) OR nextPh(;) THEN
  1087. WAV(ustop/ki)
  1088. ELIF nextPh(l) THEN
  1089. WAV(ustop/kl)
  1090. ELIF nextPh(@-) THEN
  1091. WAV(ustop/k_unasp, 70)
  1092. ENDIF
  1093. WAV(ustop/k)
  1094. endphoneme
  1095. phoneme q
  1096. vls uvl stop
  1097. lengthmod 2
  1098. Vowelin f1=1 f2=1700 0 200 f3=-300 80 paus f4 rms=30
  1099. Vowelout f1=1 f2=1700 -100 200 f3=-300 80 f4 rms=35
  1100. IF nextPh(isPause2) THEN
  1101. WAV(ustop/q, 40)
  1102. ELIF nextPh(#u) THEN
  1103. WAV(ustop/q_u, 80)
  1104. ENDIF
  1105. WAV(ustop/q, 48)
  1106. endphoneme
  1107. //*******************************************************************
  1108. // UNVOICED fricatives
  1109. //*******************************************************************
  1110. phoneme f
  1111. vls lbd frc
  1112. voicingswitch v
  1113. lengthmod 3
  1114. Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
  1115. IF nextPh(isPause) THEN
  1116. WAV(ufric/f_)
  1117. ENDIF
  1118. WAV(ufric/f)
  1119. endphoneme
  1120. phoneme T
  1121. vls dnt frc
  1122. voicingswitch D
  1123. lengthmod 3
  1124. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  1125. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  1126. IF nextPh(isPause) THEN
  1127. WAV(ufric/th_)
  1128. ENDIF
  1129. WAV(ufric/th)
  1130. endphoneme
  1131. phoneme s
  1132. vls alv frc sibilant
  1133. voicingswitch z
  1134. lengthmod 3
  1135. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  1136. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  1137. IF nextPh(isPause) THEN
  1138. WAV(ufric/s_)
  1139. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  1140. WAV(ufric/s!)
  1141. ENDIF
  1142. WAV(ufric/s)
  1143. endphoneme
  1144. phoneme S
  1145. vls pla frc sibilant
  1146. voicingswitch Z
  1147. lengthmod 3
  1148. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  1149. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  1150. IF nextPh(isPause) THEN
  1151. WAV(ufric/sh_)
  1152. ENDIF
  1153. WAV(ufric/sh)
  1154. endphoneme
  1155. phoneme s.
  1156. vls pla frc sibilant
  1157. ipa ʂ
  1158. voicingswitch z.
  1159. lengthmod 3
  1160. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  1161. Vowelout f1=0 f2=1800 -100 300 f3=-300 80
  1162. IF nextPh(isPause) THEN
  1163. WAV(ufric/sh_rfx, 60)
  1164. ENDIF
  1165. WAV(ufric/sh_rfx, 90)
  1166. endphoneme
  1167. phoneme s;
  1168. vls pal frc sibilant palatal
  1169. ipa ʂ
  1170. voicingswitch z;
  1171. lengthmod 3
  1172. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  1173. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate len=70
  1174. IF nextPh(isPause) THEN
  1175. WAV(ufric/s_pzd_)
  1176. ENDIF
  1177. WAV(ufric/s_pzd)
  1178. endphoneme
  1179. phoneme S;
  1180. vls pal frc sibilant palatal
  1181. voicingswitch Z;
  1182. ipa ɕ
  1183. lengthmod 3
  1184. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  1185. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate
  1186. IF nextPh(isPause) THEN
  1187. WAV(ufric/sh_pzd_)
  1188. ENDIF
  1189. WAV(ufric/sh_pzd)
  1190. endphoneme
  1191. phoneme l# // Lateral fricative (eg. Welsh "ll")
  1192. vls alv frc
  1193. ipa ɬ
  1194. lengthmod 3
  1195. NextVowelStarts
  1196. VowelStart(l/l@)
  1197. VowelStart(l/la)
  1198. VowelStart(l/le)
  1199. VowelStart(l/li, -10)
  1200. VowelStart(l/lo)
  1201. VowelStart(l/lu)
  1202. EndSwitch
  1203. IF prevPh(isVowel) THEN
  1204. VowelEnding(l/xl, -40)
  1205. ENDIF
  1206. WAV(ufric/l#, 60)
  1207. endphoneme
  1208. phoneme C
  1209. vls pal frc palatal
  1210. lengthmod 3
  1211. Vowelin f1=0 f2=2700 400 600 f3=200 70
  1212. Vowelout f1=0 f2=2700 400 600 f3=200 70 rms=20
  1213. IF nextPh(isPause) THEN
  1214. WAV(ufric/ch_)
  1215. ENDIF
  1216. WAV(ufric/ch)
  1217. endphoneme
  1218. phoneme x
  1219. vls vel frc
  1220. voicingswitch Q
  1221. lengthmod 3
  1222. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  1223. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  1224. IF nextPh(isPause) THEN
  1225. WAV(ufric/x, 120)
  1226. ENDIF
  1227. WAV(ufric/x_hr, 30)
  1228. endphoneme
  1229. phoneme X
  1230. vls uvl frc
  1231. voicingswitch Q"
  1232. lengthmod 3
  1233. IF nextPh(isPause) THEN
  1234. WAV(ufric/xx, 70)
  1235. ENDIF
  1236. WAV(ufric/xx)
  1237. endphoneme
  1238. phoneme h
  1239. vls glt apr
  1240. lengthmod 3
  1241. ipa h
  1242. IF nextPh(#@) THEN
  1243. WAV(h/h@)
  1244. ELIF nextPh(#a) THEN
  1245. WAV(h/ha)
  1246. ELIF nextPh(#e) THEN
  1247. WAV(h/he)
  1248. ELIF nextPh(#i) THEN
  1249. WAV(h/hi)
  1250. ELIF nextPh(#o) THEN
  1251. WAV(h/ho)
  1252. ELIF nextPh(#u) THEN
  1253. WAV(h/hu)
  1254. ENDIF
  1255. WAV(h/h_, 70) // no vowel following
  1256. endphoneme
  1257. //*******************************************************************
  1258. // ADDITIONAL PHONEME TABLES
  1259. //*******************************************************************
  1260. phonemetable consonants base
  1261. include ph_consonants
  1262. phonemetable base2 base
  1263. include ph_base2
  1264. phonemetable en base
  1265. include ph_english
  1266. phonemetable en-n en
  1267. include ph_english_n
  1268. phonemetable en-us en
  1269. include ph_english_us
  1270. phonemetable en-sc en
  1271. include ph_english_sc
  1272. phonemetable en-rp en
  1273. include ph_english_rp
  1274. phonemetable en-wm en
  1275. include ph_english_wm
  1276. phonemetable en-wi en
  1277. include ph_english_wi
  1278. phonemetable af base
  1279. include ph_afrikaans
  1280. phonemetable cy base
  1281. include ph_welsh
  1282. phonemetable de base
  1283. include ph_german
  1284. phonemetable eo base
  1285. include ph_esperanto
  1286. phonemetable jbo eo
  1287. include ph_lojban
  1288. phonemetable nci base2
  1289. include ph_nahuatl
  1290. phonemetable fi base
  1291. include ph_finnish
  1292. phonemetable fr base
  1293. include ph_french
  1294. phonemetable fr-ca fr
  1295. include ph_french_ca
  1296. phonemetable hi base
  1297. include ph_hindi
  1298. phonemetable ta hi
  1299. include ph_tamil
  1300. phonemetable hu base
  1301. include ph_hungarian
  1302. phonemetable lv base
  1303. include ph_latvian
  1304. phonemetable nl base
  1305. include ph_dutch
  1306. phonemetable pl base
  1307. include ph_polish
  1308. phonemetable sk pl
  1309. include ph_slovak
  1310. phonemetable cs sk
  1311. include ph_czech
  1312. phonemetable hr sk
  1313. include ph_croatian
  1314. phonemetable mk hr
  1315. include ph_macedonian
  1316. phonemetable sr hr
  1317. include ph_serbian
  1318. phonemetable it base2
  1319. include ph_italian
  1320. phonemetable la base
  1321. include ph_latin
  1322. phonemetable es base2
  1323. include ph_spanish
  1324. phonemetable es-la es
  1325. include ph_spanish_la
  1326. phonemetable ca es
  1327. include ph_catalan
  1328. phonemetable pt base2
  1329. include ph_pt_brazil
  1330. phonemetable pt-pt pt
  1331. include ph_portugal
  1332. phonemetable ro base2
  1333. include ph_romanian
  1334. phonemetable el base2
  1335. include ph_greek
  1336. phonemetable grc base2
  1337. include ph_greek_ancient
  1338. phonemetable sv base
  1339. include ph_swedish
  1340. phonemetable no base
  1341. include ph_norwegian
  1342. phonemetable is base
  1343. include ph_icelandic
  1344. phonemetable ru base
  1345. include ph_russian
  1346. phonemetable vi base
  1347. include ph_vi
  1348. phonemetable zhy base
  1349. include ph_zh_yue
  1350. phonemetable zh base
  1351. include ph_zh
  1352. phonemetable sw base
  1353. include ph_swahili
  1354. phonemetable tr base2
  1355. include ph_turkish
  1356. phonemetable ku base2
  1357. include ph_kurdish
  1358. phonemetable id base2
  1359. include ph_indonesian
  1360. phonemetable sq base
  1361. include ph_albanian
  1362. phonemetable hy base
  1363. include ph_armenian
  1364. phonemetable da base
  1365. include ph_danish
  1366. // The following lines are experimental, for future additions.
  1367. // These langauges are not in a usable state.
  1368. // These lines can be deleted.
  1369. phonemetable rw base2
  1370. include ph_kinyarwanda
  1371. phonemetable ml hi
  1372. include ph_malayalam
  1373. //phonemetable kn hi
  1374. //include ph_kannada
  1375. //phonemetable bn hi
  1376. //include ph_bengali
  1377. phonemetable ne hi
  1378. include ph_nepali
  1379. //phonemetable mr hi
  1380. //include ph_marathi
  1381. //phonemetable eu base2
  1382. //include ph_basque
  1383. //phonemetable mn base
  1384. //include ph_mongolian
  1385. phonemetable pa hi
  1386. include ph_punjabi
  1387. phonemetable prs base
  1388. include ph_dari
  1389. phonemetable sl sk
  1390. include ph_slovenian
  1391. phonemetable gd base
  1392. include ph_s_gaelic
  1393. phonemetable bg pl
  1394. include ph_bulgarian
  1395. phonemetable nso base
  1396. include ph_northern-sotho
  1397. phonemetable ht fr
  1398. include ph_haitian