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

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