phonemes 34 KB

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