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

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