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

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