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

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