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

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