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

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