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

phonemes 33KB

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