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

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