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

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