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

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