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

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