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