eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

phonemes 34KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986
  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. starttype #u
  472. IF nextPh(isVowel) THEN
  473. NextVowelStarts
  474. VowelStart(w/w@)
  475. VowelStart(w/wa)
  476. VowelStart(w/we)
  477. VowelStart(w/wi)
  478. VowelStart(w/wo)
  479. VowelStart(w/wu)
  480. EndSwitch
  481. VowelEnding(w/xw, -30)
  482. IF prevPhW(isNasal) THEN
  483. FMT(w/w)
  484. ELSEIF prevPhW(h) THEN
  485. // none, [hw]
  486. ELSE
  487. FMT(w/_w)
  488. ENDIF
  489. ELSE
  490. // no vowel follows
  491. Vowelout len=50
  492. IF prevPh(#i) THEN
  493. FMT(w/iw_)
  494. ENDIF
  495. FMT(w/w_)
  496. ENDIF
  497. endphoneme
  498. phoneme j
  499. liquid palatal starttype #i
  500. lengthmod 7
  501. IF nextPhW(isVowel) THEN
  502. NextVowelStarts
  503. VowelStart(j/j@)
  504. VowelStart(j/ja)
  505. VowelStart(j/je)
  506. VowelStart(j/ji)
  507. VowelStart(j/jo)
  508. VowelStart(j/ju)
  509. EndSwitch
  510. VowelEnding(j/xj, -30)
  511. IF prevPh(isPause) THEN
  512. FMT(j/_j)
  513. ENDIF
  514. ELSE
  515. // no vowel follows
  516. Vowelout len=70
  517. FMT(j/j_)
  518. ENDIF
  519. endphoneme
  520. phoneme ; // linking j, used between (i) vowels and a following vowel
  521. // also to palatalize consonants
  522. liquid palatal
  523. lengthmod 0
  524. IF prevPh(#i) THEN
  525. ipa NULL // linking after i vowel, don't show in ipa
  526. ENDIF
  527. IF nextPh(isNotVowel) THEN
  528. ChangePhoneme(NULL) // this is to ignore this phoneme if not before a vowel
  529. ENDIF
  530. NextVowelStarts
  531. VowelStart(j2/j2@)
  532. VowelStart(j2/j2a)
  533. VowelStart(j2/j2e)
  534. VowelStart(j2/j2i)
  535. VowelStart(j2/j2o)
  536. VowelStart(j2/j2u)
  537. EndSwitch
  538. IF prevPh(#i) THEN
  539. VowelEnding(j2/xj2, -40)
  540. ENDIF
  541. IF prevPh(isPause) THEN
  542. FMT(j2/_j2)
  543. ENDIF
  544. endphoneme
  545. //*******************************************************************
  546. // NASAL CONSONANTS
  547. //*******************************************************************
  548. phoneme m
  549. vcd blb nasal
  550. Vowelout f1=2 f2=1000 -500 -350 f3=-200 80 brk
  551. lengthmod 4
  552. IF KlattSynth THEN
  553. Vowelin f1=0 f2=1000 -50 -200 f3=-200 80
  554. IF nextPh(isPause2) THEN
  555. FMT(klatt/m_)
  556. ENDIF
  557. FMT(klatt/m)
  558. ENDIF
  559. NextVowelStarts
  560. VowelStart(m/m@)
  561. VowelStart(m/ma)
  562. VowelStart(m/me)
  563. VowelStart(m/mi)
  564. VowelStart(m/mo)
  565. VowelStart(m/mu)
  566. EndSwitch
  567. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  568. FMT(m/mj)
  569. ELIF prevPh(isPause) THEN
  570. FMT(m/_m)
  571. ELIF nextPh(isNotVowel) THEN
  572. FMT(m/m_)
  573. ENDIF
  574. endphoneme
  575. phoneme n
  576. vcd alv nasal
  577. Vowelout f1=2 f2=1500 -300 250 f3=-100 80 rms=20 brk
  578. lengthmod 4
  579. IF KlattSynth THEN
  580. Vowelin f1=0 f2=1500 -200 200 f3=0 80
  581. FMT(klatt/n)
  582. ENDIF
  583. NextVowelStarts
  584. VowelStart(n/n@)
  585. VowelStart(n/na)
  586. VowelStart(n/ne)
  587. VowelStart(n/ni)
  588. VowelStart(n/no)
  589. VowelStart(n/nu)
  590. EndSwitch
  591. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  592. FMT(n/nj)
  593. ELIF prevPh(isPause) OR prevPh(n) THEN
  594. FMT(n/_n)
  595. ELIF nextPh(isNotVowel) THEN
  596. FMT(n/n_)
  597. ENDIF
  598. endphoneme
  599. phoneme n.
  600. vcd rfx nasal
  601. ipa ɳ
  602. starttype n endtype n
  603. Vowelin f1=2 f2=1700 -300 300 f3=-500 80 rms=20 colr=2
  604. Vowelout f1=2 f2=1700 -300 300 f3=-500 80 rms=20 brk colr=2
  605. lengthmod 4
  606. IF KlattSynth THEN
  607. FMT(klatt/nr)
  608. ENDIF
  609. NextVowelStarts
  610. VowelStart(n/nr@)
  611. VowelStart(n/nra)
  612. VowelStart(n/nre)
  613. VowelStart(n/nri)
  614. VowelStart(n/nro)
  615. VowelStart(n/nru)
  616. EndSwitch
  617. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  618. FMT(n/nj)
  619. ELIF prevPh(isPause) OR prevPh(n.) THEN
  620. FMT(n/_nr)
  621. ELIF nextPh(isNotVowel) THEN
  622. FMT(n/nr_)
  623. ENDIF
  624. endphoneme
  625. phoneme n^
  626. vcd pal nasal palatal
  627. ipa ɲ
  628. Vowelout f1=3 f2=2500 300 500 f3=100 80 len=45 brk rate
  629. lengthmod 4
  630. IF KlattSynth THEN
  631. VowelStart(klatt/n^@)
  632. FMT(klatt/n^)
  633. ENDIF
  634. NextVowelStarts
  635. VowelStart(n^/n^@)
  636. VowelStart(n^/n^a)
  637. VowelStart(n^/n^e)
  638. VowelStart(n^/n^i)
  639. VowelStart(n^/n^o)
  640. VowelStart(n^/n^u)
  641. EndSwitch
  642. IF prevPh(isPause) THEN
  643. FMT(n^/_n^)
  644. ELIF nextPh(isNotVowel) THEN
  645. IF nextPhW(n^) THEN
  646. Length 75
  647. ELIF prevPhW(n^) THEN
  648. Length 100
  649. ENDIF
  650. FMT(n^/n^_)
  651. ENDIF
  652. endphoneme
  653. phoneme N
  654. vcd vel nasal
  655. Vowelout f1=3 f2=2300 300 400 f3=-200 80 len=40 rms=20 brk
  656. lengthmod 8 // longer than 'n'
  657. IF KlattSynth THEN
  658. Vowelin f1=0 f2=2100 50 300 f3=0 80
  659. IF nextPh(isPause2) THEN
  660. FMT(klatt/nn_)
  661. ENDIF
  662. FMT(klatt/nn)
  663. ENDIF
  664. NextVowelStarts
  665. VowelStart(nn/nn@)
  666. VowelStart(nn/nna)
  667. VowelStart(nn/nne)
  668. VowelStart(nn/nni)
  669. VowelStart(nn/nno)
  670. VowelStart(nn/nnu)
  671. EndSwitch
  672. IF prevPh(#i) THEN
  673. VowelEnding(nn/inn, -40)
  674. ENDIF
  675. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  676. FMT(nn/nnj)
  677. ELIF prevPh(isPause) THEN
  678. FMT(nn/_nn)
  679. ELIF nextPh(isNotVowel) THEN
  680. FMT(nn/nn_)
  681. ENDIF
  682. endphoneme
  683. phoneme ** // TEST flap
  684. liquid alv rhotic
  685. ipa ɾ
  686. lengthmod 3
  687. Vowelout f1=3 f2=1600 -300 300 f3=-300 80 rms=35 len=15
  688. Vowelin f1=2 f2=1600 -300 300 f3=-100 80 len=20
  689. IF prevPh(#i) OR prevPh(#e) THEN
  690. FMT(r3/@tap2)
  691. ENDIF
  692. FMT(r3/@tap)
  693. endphoneme
  694. phoneme * // flap
  695. vcd alv flp rhotic
  696. brkafter
  697. ipa ɾ
  698. lengthmod 3
  699. IF prevPhW(@-) THEN
  700. ipa r // @-* sequence for [r]
  701. ENDIF
  702. IF nextPh(#e) OR nextPh(#i) THEN
  703. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  704. FMT(d/tap1) addWav(r3/rx, 150)
  705. FMT(d/tap1) addWav(r3/rx, 150)
  706. ENDIF
  707. Vowelin f1=2 f2=1500 -300 300 f3=-200 80
  708. IF nextPh(#a) THEN
  709. FMT(d/tap3) addWav(r3/rx, 200)
  710. ENDIF
  711. IF nextPh(r) THEN
  712. FMT(d/dr)
  713. ENDIF
  714. Vowelout f1=3 f2=1500 -400 300 f3=-200 80 rms=35 len=50
  715. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  716. FMT(d/tap3) addWav(r3/rx, 200)
  717. endphoneme
  718. phoneme r. // retroflex
  719. liquid rfx
  720. lengthmod 3
  721. Vowelout f1=3 f2=1400 -400 300 f3=-400 80 rms=35 len=15 colr=2
  722. Vowelin f1=2 f2=1400 -400 300 f3=-400 80 len=20
  723. IF nextPh(isNotVowel) THEN
  724. FMT(r3/@tap_rfx_)
  725. ENDIF
  726. FMT(r3/@tap_rfx)
  727. endphoneme
  728. //*******************************************************************
  729. // VOICED STOPS
  730. //*******************************************************************
  731. phoneme b
  732. vcd blb stop
  733. voicingswitch p
  734. Vowelout f1=2 f2=1000 -500 -300 f3=-300 80 brk
  735. lengthmod 5
  736. IF PreVoicing THEN
  737. FMT(b/xb)
  738. ENDIF
  739. IF KlattSynth THEN
  740. Vowelin f1=1 f2=1000 -500 -300 f3=-300 80
  741. IF nextPh(isPause2) THEN
  742. FMT(klatt/b) addWav(x/b_)
  743. ENDIF
  744. FMT(klatt/b) addWav(x/b)
  745. ENDIF
  746. IF nextPh(isPause2) THEN
  747. FMT(b/b_) addWav(x/b_)
  748. ELIF nextPh(@-) THEN
  749. FMT(b/b@2) addWav(x/b)
  750. ELIF nextPh(#@) THEN
  751. FMT(b/b@) addWav(x/b)
  752. ELIF nextPh(#a) THEN
  753. FMT(b/ba) addWav(x/b)
  754. ELIF nextPh(#e) THEN
  755. FMT(b/be) addWav(x/b)
  756. ELIF nextPh(#i) THEN
  757. FMT(b/bi) addWav(x/b)
  758. ELIF nextPh(#o) THEN
  759. FMT(b/bo) addWav(x/b)
  760. ELIF nextPh(#u) THEN
  761. FMT(b/bu) addWav(x/b)
  762. ENDIF
  763. FMT(b/b) addWav(x/b)
  764. endphoneme
  765. phoneme d
  766. vcd alv stop
  767. voicingswitch t
  768. lengthmod 5
  769. Vowelin f1=1 f2=1700 -300 300 f3=-100 80
  770. Vowelout f1=2 f2=1700 -300 300 f3=-100 80 brk
  771. IF PreVoicing THEN
  772. FMT(d/xd)
  773. ENDIF
  774. IF nextPh(isPause2) THEN
  775. FMT(d/d_) addWav(x/d_)
  776. // ELIF nextPh(r) THEN
  777. // FMT(d/dr) addWav(x/d)
  778. ENDIF
  779. FMT(d/d) addWav(x/d)
  780. endphoneme
  781. phoneme d[
  782. vcd dnt stop
  783. voicingswitch t[
  784. lengthmod 5
  785. Vowelin f1=2 f2=1500 -300 300 f3=-150 80
  786. Vowelout f1=2 f2=1500 -300 300 f3=-150 80
  787. IF PreVoicing THEN
  788. FMT(d/xd)
  789. ENDIF
  790. IF nextPh(isPause2) THEN
  791. FMT(d/d_) addWav(x/d_)
  792. ELIF nextPh(r) THEN
  793. FMT(d/dr) addWav(x/d_dnt, 100)
  794. ENDIF
  795. FMT(d/d) addWav(x/d_dnt, 100)
  796. endphoneme
  797. phoneme dZ
  798. vcd pla afr sibilant
  799. voicingswitch tS
  800. lengthmod 5
  801. Vowelin f1=2 f2=2300 200 400 f3=100 80
  802. Vowelout f1=2 f2=2300 250 300 f3=100 80 brk
  803. IF PreVoicing THEN
  804. FMT(dzh/xdzh)
  805. ENDIF
  806. IF nextPh(isPause2) THEN
  807. FMT(dzh/dzh_) addWav(x/dzh_)
  808. ENDIF
  809. FMT(dzh/dzh) addWav(x/dzh)
  810. endphoneme
  811. phoneme dZ;
  812. vcd pla afr sibilant palatal
  813. voicingswitch tS;
  814. ipa dʑ
  815. lengthmod 5
  816. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  817. Vowelout f1=2 f2=2700 400 600 f3=300 80
  818. IF PreVoicing THEN
  819. FMT(dzh/xdzh)
  820. ENDIF
  821. IF KlattSynth THEN
  822. IF nextPh(isPause2) THEN
  823. FMT(dzh/dzh_) addWav(x/dzh_)
  824. ENDIF
  825. FMT(dzh/dzh) addWav(x/dz_pzd)
  826. ENDIF
  827. IF nextPh(isPause2) THEN
  828. FMT(dzh/dzh_) addWav(x/dzh_)
  829. ENDIF
  830. FMT(dzh/dzh) addWav(x/dz_pzd)
  831. endphoneme
  832. phoneme J
  833. vcd pal afr sibilant palatal
  834. voicingswitch c
  835. lengthmod 5
  836. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  837. Vowelout f1=2 f2=2700 400 600 f3=300 80 colr=1
  838. IF PreVoicing THEN
  839. FMT(dzh/xdz_pzd)
  840. ENDIF
  841. IF KlattSynth THEN
  842. IF nextPh(isPause2) THEN
  843. FMT(klatt/dz_pzd_) addWav(x/dzh, 35)
  844. ENDIF
  845. FMT(klatt/dz_pzd) addWav(x/dzh, 45)
  846. ENDIF
  847. IF nextPh(isPause2) THEN
  848. FMT(dzh/dz_pzd_) addWav(x/dzh, 35)
  849. ENDIF
  850. FMT(dzh/dz_pzd) addWav(x/dzh, 45)
  851. endphoneme
  852. phoneme g
  853. vcd vel stop
  854. voicingswitch k
  855. lengthmod 5
  856. Vowelin f1=2 f2=2300 200 300 f3=-300 80
  857. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  858. IF PreVoicing THEN
  859. FMT(g/xg)
  860. ENDIF
  861. IF nextPh(isPause2) THEN
  862. FMT(g/g_) addWav(x/g_)
  863. ENDIF
  864. FMT(g/g) addWav(x/g2, 150)
  865. endphoneme
  866. //*******************************************************************
  867. // VOICED fricatives
  868. //*******************************************************************
  869. phoneme B
  870. vcd blb frc
  871. voicingswitch f
  872. lengthmod 6
  873. Vowelin f1=2 f2=1000 -300 -200 f3=-100 100
  874. Vowelout f1=2 f2=1000 -500 -300 f3=-100 60 len=50
  875. IF KlattSynth THEN
  876. IF nextPh(isPause2) THEN
  877. FMT(klatt/v_) addWav(vocw/v)
  878. ENDIF
  879. FMT(klatt/bh) addWav(vocw/v)
  880. ENDIF
  881. IF nextPh(isPause2) THEN
  882. FMT(voc/v_) addWav(vocw/v)
  883. ENDIF
  884. FMT(voc/bh) addWav(vocw/v)
  885. endphoneme
  886. phoneme v
  887. vcd lbd frc
  888. voicingswitch f
  889. lengthmod 6
  890. Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
  891. Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
  892. IF KlattSynth THEN
  893. Vowelout f1=1 f2=1000 -500 -300 f3=-300 60 len=50 brk
  894. IF nextPh(isPause2) THEN
  895. FMT(klatt/v_) addWav(vocw/v)
  896. ENDIF
  897. FMT(klatt/v) addWav(vocw/v, 150)
  898. ENDIF
  899. IF nextPh(isPause2) THEN
  900. FMT(voc/v_) addWav(vocw/v)
  901. ENDIF
  902. IF thisPh(isWordStart) AND nextPhW(isLiquid) THEN
  903. Length 70
  904. ENDIF
  905. FMT(voc/v) addWav(vocw/v)
  906. endphoneme
  907. phoneme v# // approximant, not fricative
  908. vcd lbd frc
  909. ipa ʋ
  910. lengthmod 6
  911. voicingswitch f
  912. Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
  913. Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
  914. IF nextPh(isPause2) THEN
  915. FMT(voc/v#_)
  916. ENDIF
  917. FMT(voc/v#)
  918. endphoneme
  919. phoneme D
  920. vcd dnt frc
  921. voicingswitch T
  922. lengthmod 6
  923. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  924. IF KlattSynth THEN
  925. Vowelin f1=0 f2=1290 -300 300 f3=0 0
  926. ENDIF
  927. IF nextPh(isPause2) THEN
  928. FMT(voc/dh_) addWav(vocw/dh)
  929. ENDIF
  930. FMT(voc/dh) addWav(vocw/dh)
  931. endphoneme
  932. phoneme z
  933. vcd alv frc sibilant
  934. voicingswitch s
  935. lengthmod 6
  936. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  937. IF KlattSynth THEN
  938. Vowelin f1=0 f2=1390 -300 300 f3=0 0
  939. Vowelout f1=1 f2=1390 -300 300 f3=-100 60 len=50 brk
  940. ENDIF
  941. IF nextPh(isPause2) THEN
  942. FMT(voc/z_) addWav(ufric/s_, 70)
  943. ENDIF
  944. FMT(voc/z) addWav(ufric/s_, 85)
  945. endphoneme
  946. phoneme Z
  947. vcd pla frc sibilant
  948. voicingswitch S
  949. lengthmod 6
  950. Vowelin f1=0 f2=2000 0 300 f3=-200 80
  951. Vowelout f1=2 f2=2000 0 300 f3=-200 80 brk
  952. IF KlattSynth THEN
  953. IF nextPh(isPause2) THEN
  954. FMT(klatt/zh_, 60) addWav(vocw/zh, 70)
  955. ENDIF
  956. FMT(klatt/zh) addWav(vocw/zh, 130)
  957. ENDIF
  958. IF nextPh(isPause2) THEN
  959. FMT(voc/zh_, 60) addWav(vocw/zh, 70)
  960. ENDIF
  961. FMT(voc/zh) addWav(vocw/zh, 130)
  962. endphoneme
  963. phoneme z.
  964. vcd pla frc sibilant
  965. ipa ʐ
  966. voicingswitch s.
  967. lengthmod 6
  968. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  969. Vowelout f1=2 f2=1800 -100 300 f3=-300 80 brk
  970. IF KlattSynth THEN
  971. IF nextPh(isPause2) THEN
  972. FMT(klatt/zh_) addWav(vocw/zh_rfx)
  973. ENDIF
  974. FMT(klatt/zh) addWav(vocw/zh_rfx)
  975. ENDIF
  976. IF nextPh(isPause2) THEN
  977. FMT(voc/zh_) addWav(vocw/zh_rfx)
  978. ENDIF
  979. FMT(voc/zh) addWav(vocw/zh_rfx)
  980. endphoneme
  981. phoneme z;
  982. vcd pal frc sibilant palatal
  983. ipa ʑ
  984. voicingswitch s;
  985. lengthmod 6
  986. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  987. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  988. IF nextPh(isPause2) THEN
  989. FMT(voc/z_pzd_) addWav(ufric/s_pzd_, 80)
  990. ENDIF
  991. FMT(voc/z_pzd) addWav(ufric/s_pzd, 80)
  992. endphoneme
  993. phoneme Z;
  994. vcd pal frc sibilant palatal
  995. voicingswitch S;
  996. ipa ʑ
  997. lengthmod 6
  998. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  999. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  1000. IF nextPh(isPause2) THEN
  1001. FMT(voc/z_pzd_) addWav(ufric/sh_pzd_)
  1002. ENDIF
  1003. FMT(voc/z_pzd) addWav(ufric/sh_pzd, 80)
  1004. endphoneme
  1005. phoneme J^ // palatal fricative (Kirshenbaum C<vcd>)
  1006. vcd pal frc palatal
  1007. ipa ʝ
  1008. voicingswitch C
  1009. lengthmod 6
  1010. Vowelin f1=1 f2=2700 400 600 f3=200 70
  1011. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=100
  1012. FMT(voc/j) addWav(ufric/ch, 25)
  1013. endphoneme
  1014. phoneme Q
  1015. vcd vel frc
  1016. voicingswitch x
  1017. lengthmod 6
  1018. Vowelin f1=2 f2=2300 200 400 f3=-100 80
  1019. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  1020. IF KlattSynth THEN
  1021. IF nextPh(isPause2) THEN
  1022. FMT(klatt/qqh_) addWav(vocw/Q_)
  1023. ENDIF
  1024. FMT(klatt/qqh) addWav(vocw/Q)
  1025. ENDIF
  1026. IF nextPh(isPause2) THEN
  1027. FMT(voc/Q_) addWav(vocw/Q_)
  1028. ENDIF
  1029. FMT(voc/Q) addWav(vocw/Q)
  1030. endphoneme
  1031. phoneme Q^
  1032. vcd vel frc
  1033. lengthmod 6
  1034. Vowelin f1=2 f2=2700 400 600 f3=200 80
  1035. Vowelout f1=2 f2=2700 40 600 f3=200 80 brk
  1036. IF nextPh(isPause2) THEN
  1037. FMT(voc/Q_) addWav(vocw/Q_)
  1038. ENDIF
  1039. FMT(voc/Q) addWav(vocw/Q)
  1040. endphoneme
  1041. phoneme Q"
  1042. vcd uvl frc
  1043. ipa ʁ
  1044. lengthmod 6
  1045. IF nextPh(isPause2) THEN
  1046. FMT(voc/Q_ulv) addWav(ufric/xx, 60)
  1047. ENDIF
  1048. FMT(voc/Q_ulv) addWav(ufric/xx, 80)
  1049. endphoneme
  1050. //*******************************************************************
  1051. // UNVOICED STOPS
  1052. //*******************************************************************
  1053. phoneme p
  1054. vls blb stop
  1055. voicingswitch b
  1056. lengthmod 2
  1057. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  1058. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  1059. IF nextPh(isPause2) THEN
  1060. WAV(ustop/p_)
  1061. ELIF nextPh(r) THEN
  1062. WAV(ustop/pr, 70)
  1063. ELIF nextPh(R) OR nextPh(R2) THEN
  1064. WAV(ustop/pr)
  1065. ELIF nextPh(@-) THEN
  1066. WAV(ustop/p_unasp)
  1067. ELIF nextPh(l) THEN
  1068. WAV(ustop/pl)
  1069. ENDIF
  1070. WAV(ustop/p)
  1071. endphoneme
  1072. phoneme t
  1073. vls alv stop
  1074. voicingswitch d
  1075. lengthmod 2
  1076. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  1077. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  1078. IF nextPh(isPause2) THEN
  1079. WAV(ustop/t_)
  1080. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  1081. WAV(ustop/tr)
  1082. ELIF nextPh(@-) THEN
  1083. WAV(ustop/t_dnt, 50)
  1084. ENDIF
  1085. WAV(ustop/t, 90)
  1086. endphoneme
  1087. phoneme t[ // dental variant of /t/
  1088. vls dnt stop
  1089. voicingswitch d[
  1090. lengthmod 2
  1091. Vowelin f1=1 f2=1500 -250 250 f3=-100 80 amp=16
  1092. Vowelout f1=0 f2=1500 -300 250 f3=-100 80 rms=20
  1093. IF nextPh(isPause2) THEN
  1094. WAV(ustop/t_dnt, 35)
  1095. ENDIF
  1096. WAV(ustop/t_hi, 70)
  1097. endphoneme
  1098. phoneme tS
  1099. vls pla afr sibilant
  1100. voicingswitch dZ
  1101. lengthmod 2
  1102. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  1103. IF nextPh(isPause2) THEN
  1104. WAV(ustop/tsh_)
  1105. ENDIF
  1106. WAV(ustop/tsh)
  1107. endphoneme
  1108. phoneme tS;
  1109. vls pal afr sibilant palatal
  1110. voicingswitch dZ;
  1111. ipa tɕ
  1112. lengthmod 2
  1113. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  1114. IF nextPh(isPause2) THEN
  1115. WAV(ustop/ts_pzd)
  1116. ENDIF
  1117. WAV(ustop/ts_pzd)
  1118. endphoneme
  1119. phoneme c
  1120. vls pal stop palatal
  1121. voicingswitch J
  1122. lengthmod 2
  1123. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  1124. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=50 colr=1
  1125. IF nextPh(isPause2) THEN
  1126. WAV(ustop/t_pzd, 30)
  1127. ENDIF
  1128. WAV(ustop/c, 150)
  1129. endphoneme
  1130. phoneme k
  1131. vls vel stop
  1132. voicingswitch g
  1133. lengthmod 2
  1134. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  1135. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  1136. IF KlattSynth THEN
  1137. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  1138. ENDIF
  1139. IF nextPh(isPause2) THEN
  1140. WAV(ustop/k_)
  1141. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  1142. WAV(ustop/kr)
  1143. ELIF nextPh(#i) OR nextPh(;) THEN
  1144. WAV(ustop/ki)
  1145. ELIF nextPh(l) THEN
  1146. WAV(ustop/kl)
  1147. ELIF nextPh(@-) THEN
  1148. WAV(ustop/k_unasp, 70)
  1149. ENDIF
  1150. WAV(ustop/k)
  1151. endphoneme
  1152. phoneme q
  1153. vls uvl stop
  1154. lengthmod 2
  1155. Vowelin f1=1 f2=1700 0 200 f3=-300 80 gpaus f4 rms=30
  1156. Vowelout f1=1 f2=1700 -100 200 f3=-300 80 f4 rms=35
  1157. IF nextPh(isPause2) THEN
  1158. WAV(ustop/q, 40)
  1159. ELIF nextPh(#u) THEN
  1160. WAV(ustop/q_u, 80)
  1161. ENDIF
  1162. WAV(ustop/q, 48)
  1163. endphoneme
  1164. //*******************************************************************
  1165. // UNVOICED fricatives
  1166. //*******************************************************************
  1167. phoneme f
  1168. vls lbd frc
  1169. voicingswitch v
  1170. lengthmod 3
  1171. Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
  1172. IF nextPh(isPause) THEN
  1173. WAV(ufric/f_)
  1174. ENDIF
  1175. WAV(ufric/f)
  1176. endphoneme
  1177. phoneme T
  1178. vls dnt frc
  1179. voicingswitch D
  1180. lengthmod 3
  1181. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  1182. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  1183. IF nextPh(isPause) THEN
  1184. WAV(ufric/th_)
  1185. ENDIF
  1186. WAV(ufric/th)
  1187. endphoneme
  1188. phoneme s
  1189. vls alv frc sibilant
  1190. voicingswitch z
  1191. lengthmod 3
  1192. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  1193. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  1194. IF nextPh(isPause) THEN
  1195. WAV(ufric/s_)
  1196. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  1197. WAV(ufric/s!)
  1198. ENDIF
  1199. WAV(ufric/s)
  1200. endphoneme
  1201. phoneme S
  1202. vls pla frc sibilant
  1203. voicingswitch Z
  1204. lengthmod 3
  1205. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  1206. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  1207. IF nextPh(isPause) THEN
  1208. WAV(ufric/sh_)
  1209. ENDIF
  1210. WAV(ufric/sh)
  1211. endphoneme
  1212. phoneme s.
  1213. vls pla frc sibilant
  1214. ipa ʂ
  1215. voicingswitch z.
  1216. lengthmod 3
  1217. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  1218. Vowelout f1=0 f2=1800 -100 300 f3=-300 80
  1219. IF nextPh(isPause) THEN
  1220. WAV(ufric/sh_rfx, 60)
  1221. ENDIF
  1222. WAV(ufric/sh_rfx, 90)
  1223. endphoneme
  1224. phoneme s;
  1225. vls pal frc sibilant palatal
  1226. ipa ʂ
  1227. voicingswitch z;
  1228. lengthmod 3
  1229. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  1230. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate len=70
  1231. IF nextPh(isPause) THEN
  1232. WAV(ufric/s_pzd_)
  1233. ENDIF
  1234. WAV(ufric/s_pzd)
  1235. endphoneme
  1236. phoneme S;
  1237. vls pal frc sibilant palatal
  1238. voicingswitch Z;
  1239. ipa ɕ
  1240. lengthmod 3
  1241. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  1242. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate
  1243. IF nextPh(isPause) THEN
  1244. WAV(ufric/sh_pzd_)
  1245. ENDIF
  1246. WAV(ufric/sh_pzd)
  1247. endphoneme
  1248. phoneme l# // Lateral fricative (eg. Welsh "ll")
  1249. vls alv frc
  1250. ipa ɬ
  1251. lengthmod 3
  1252. NextVowelStarts
  1253. VowelStart(l/l@)
  1254. VowelStart(l/la)
  1255. VowelStart(l/le)
  1256. VowelStart(l/li, -10)
  1257. VowelStart(l/lo)
  1258. VowelStart(l/lu)
  1259. EndSwitch
  1260. IF prevPh(isVowel) THEN
  1261. VowelEnding(l/xl, -40)
  1262. ENDIF
  1263. WAV(ufric/l#, 60)
  1264. endphoneme
  1265. phoneme C
  1266. vls pal frc palatal
  1267. lengthmod 3
  1268. Vowelin f1=0 f2=2700 400 600 f3=200 70
  1269. Vowelout f1=0 f2=2700 400 600 f3=200 70 rms=20
  1270. IF nextPh(isPause) THEN
  1271. WAV(ufric/ch_)
  1272. ENDIF
  1273. WAV(ufric/ch)
  1274. endphoneme
  1275. phoneme x
  1276. vls vel frc
  1277. voicingswitch Q
  1278. lengthmod 3
  1279. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  1280. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  1281. IF nextPh(isPause) THEN
  1282. WAV(ufric/x_, 60)
  1283. ENDIF
  1284. WAV(ufric/x_hr, 20)
  1285. endphoneme
  1286. phoneme X
  1287. vls uvl frc
  1288. voicingswitch Q"
  1289. lengthmod 3
  1290. IF nextPh(isPause) THEN
  1291. WAV(ufric/xx, 70)
  1292. ENDIF
  1293. WAV(ufric/xx,80)
  1294. endphoneme
  1295. phoneme h
  1296. vls glt apr
  1297. lengthmod 3
  1298. ipa h
  1299. IF nextPh(#@) THEN
  1300. WAV(h/h@)
  1301. ELIF nextPh(#a) THEN
  1302. WAV(h/ha)
  1303. ELIF nextPh(#e) THEN
  1304. WAV(h/he)
  1305. ELIF nextPh(#i) THEN
  1306. WAV(h/hi)
  1307. ELIF nextPh(#o) THEN
  1308. WAV(h/ho)
  1309. ELIF nextPh(#u) THEN
  1310. WAV(h/hu)
  1311. ENDIF
  1312. WAV(h/h_, 70) // no vowel following
  1313. endphoneme
  1314. //*******************************************************************
  1315. // ADDITIONAL PHONEME TABLES
  1316. //*******************************************************************
  1317. phonemetable consonants base
  1318. include ph_consonants
  1319. phonemetable base2 base
  1320. include ph_base2
  1321. phonemetable en base
  1322. include ph_english
  1323. phonemetable en-n en
  1324. include ph_english_n
  1325. phonemetable en-us en
  1326. include ph_english_us
  1327. phonemetable en-sc en
  1328. include ph_english_sc
  1329. phonemetable en-rp en
  1330. include ph_english_rp
  1331. phonemetable en-wm en
  1332. include ph_english_wm
  1333. phonemetable en-wi en
  1334. include ph_english_wi
  1335. phonemetable af base
  1336. include ph_afrikaans
  1337. phonemetable cy base
  1338. include ph_welsh
  1339. phonemetable ga base
  1340. include ph_irish
  1341. phonemetable de base
  1342. include ph_german
  1343. phonemetable eo base
  1344. include ph_esperanto
  1345. phonemetable ia eo
  1346. include ph_interlingua
  1347. phonemetable jbo eo
  1348. include ph_lojban
  1349. phonemetable nci base2
  1350. include ph_nahuatl
  1351. phonemetable fi base
  1352. include ph_finnish
  1353. phonemetable et base
  1354. include ph_estonian
  1355. phonemetable fr base
  1356. include ph_french
  1357. phonemetable fr-ca fr
  1358. include ph_french_ca
  1359. phonemetable nl base
  1360. include ph_dutch
  1361. phonemetable hi_base base
  1362. include ph_hindi_base
  1363. phonemetable hi hi_base
  1364. include ph_hindi
  1365. phonemetable bn hi_base
  1366. include ph_bengali
  1367. phonemetable ne hi_base
  1368. include ph_nepali
  1369. phonemetable ur hi_base
  1370. include ph_urdu
  1371. phonemetable pa hi_base
  1372. include ph_punjabi
  1373. phonemetable ta hi_base
  1374. include ph_tamil
  1375. phonemetable kn hi_base
  1376. include ph_kannada
  1377. phonemetable ml hi_base
  1378. include ph_malayalam
  1379. phonemetable gu hi_base
  1380. include ph_gujarati
  1381. phonemetable mr hi_base
  1382. include ph_marathi
  1383. phonemetable hu base
  1384. include ph_hungarian
  1385. phonemetable lt base
  1386. include ph_lithuanian
  1387. phonemetable lv base
  1388. include ph_latvian
  1389. phonemetable pl base
  1390. include ph_polish
  1391. phonemetable sk pl
  1392. include ph_slovak
  1393. phonemetable cs sk
  1394. include ph_czech
  1395. phonemetable hr sk
  1396. include ph_croatian
  1397. phonemetable mk hr
  1398. include ph_macedonian
  1399. phonemetable sr hr
  1400. include ph_serbian
  1401. phonemetable ru base
  1402. include ph_russian
  1403. phonemetable bg pl
  1404. include ph_bulgarian
  1405. phonemetable it base2
  1406. include ph_italian
  1407. phonemetable la base
  1408. include ph_latin
  1409. phonemetable es base2
  1410. include ph_spanish
  1411. phonemetable es-la es
  1412. include ph_spanish_la
  1413. phonemetable ca es
  1414. include ph_catalan
  1415. phonemetable an es
  1416. include ph_aragon
  1417. phonemetable eu base2
  1418. include ph_basque
  1419. phonemetable pt base2
  1420. include ph_pt_brazil
  1421. phonemetable pt-pt pt
  1422. include ph_portugal
  1423. phonemetable ro base2
  1424. include ph_romanian
  1425. phonemetable el base2
  1426. include ph_greek
  1427. phonemetable grc base2
  1428. include ph_greek_ancient
  1429. phonemetable sv base
  1430. include ph_swedish
  1431. phonemetable no base
  1432. include ph_norwegian
  1433. phonemetable is base
  1434. include ph_icelandic
  1435. phonemetable vi base
  1436. include ph_vietnam
  1437. phonemetable vi-hue vi
  1438. include ph_vietnam_hue
  1439. phonemetable vi-sgn vi
  1440. include ph_vietnam_sgn
  1441. phonemetable zhy base
  1442. include ph_zh_yue
  1443. phonemetable zh base
  1444. include ph_zh
  1445. phonemetable sw base
  1446. include ph_swahili
  1447. phonemetable tr base2
  1448. include ph_turkish
  1449. phonemetable ku base2
  1450. include ph_kurdish
  1451. phonemetable id base2
  1452. include ph_indonesian
  1453. phonemetable sq base
  1454. include ph_albanian
  1455. phonemetable hy base
  1456. include ph_armenian
  1457. phonemetable da base
  1458. include ph_danish
  1459. phonemetable ka base
  1460. include ph_georgian
  1461. phonemetable fa base
  1462. include ph_farsi
  1463. phonemetable ar base
  1464. include ph_arabic
  1465. //**************************************************************************************
  1466. // The following lines are experimental, for future additions.
  1467. // These langauges are not in a usable state.
  1468. // These lines can be deleted.
  1469. phonemetable rw base2
  1470. include ph_kinyarwanda
  1471. //phonemetable mn base
  1472. //include ph_mongolian
  1473. phonemetable prs base
  1474. include ph_dari
  1475. phonemetable sl pl
  1476. include ph_slovenian
  1477. phonemetable gd base
  1478. include ph_s_gaelic
  1479. phonemetable nso base
  1480. include ph_northern-sotho
  1481. phonemetable ht fr
  1482. include ph_haitian
  1483. phonemetable az tr
  1484. include ph_azerbaijani
  1485. phonemetable ak base
  1486. include ph_akan
  1487. phonemetable am base
  1488. include ph_amhari
  1489. phonemetable wo base
  1490. include ph_wolof
  1491. phonemetable dv hi_base
  1492. include ph_divehi
  1493. phonemetable te hi_base
  1494. include ph_telugu
  1495. phonemetable si hi_base
  1496. include ph_sinhala
  1497. phonemetable as bn
  1498. include ph_assamese
  1499. phonemetable or bn
  1500. include ph_oriya
  1501. phonemetable mni bn
  1502. include ph_manipuri
  1503. phonemetable tn base
  1504. include ph_setswana
  1505. phonemetable mt base
  1506. include ph_maltese
  1507. phonemetable bo hi
  1508. include ph_tibetan
  1509. phonemetable kk base
  1510. include ph_kazakh
  1511. phonemetable tt base
  1512. include ph_tatar
  1513. phonemetable ko base
  1514. include ph_korean
  1515. phonemetable kl base
  1516. include ph_greenlandic
  1517. //phonemetable en-test base
  1518. //include ph_english_test