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

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