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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967
  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. vcd blb nas
  556. Vowelout f1=2 f2=1000 -500 -350 f3=-200 80 brk
  557. lengthmod 4
  558. IF KlattSynth THEN
  559. Vowelin f1=0 f2=1000 -50 -200 f3=-200 80
  560. IF nextPh(isPause2) THEN
  561. FMT(klatt/m_)
  562. ENDIF
  563. FMT(klatt/m)
  564. ENDIF
  565. NextVowelStarts
  566. VowelStart(m/m@)
  567. VowelStart(m/ma)
  568. VowelStart(m/me)
  569. VowelStart(m/mi)
  570. VowelStart(m/mo)
  571. VowelStart(m/mu)
  572. EndSwitch
  573. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  574. FMT(m/mj)
  575. ELIF prevPh(isPause) THEN
  576. FMT(m/_m)
  577. ELIF nextPh(isNotVowel) THEN
  578. FMT(m/m_)
  579. ENDIF
  580. endphoneme
  581. phoneme n
  582. import_phoneme ipa/n
  583. endphoneme
  584. phoneme n.
  585. vcd rfx nas
  586. ipa ɳ
  587. starttype n endtype n
  588. Vowelin f1=2 f2=1700 -300 300 f3=-500 80 rms=20 colr=2
  589. Vowelout f1=2 f2=1700 -300 300 f3=-500 80 rms=20 brk colr=2
  590. lengthmod 4
  591. IF KlattSynth THEN
  592. FMT(klatt/nr)
  593. ENDIF
  594. NextVowelStarts
  595. VowelStart(n/nr@)
  596. VowelStart(n/nra)
  597. VowelStart(n/nre)
  598. VowelStart(n/nri)
  599. VowelStart(n/nro)
  600. VowelStart(n/nru)
  601. EndSwitch
  602. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  603. FMT(n/nj)
  604. ELIF prevPh(isPause) OR prevPh(n.) THEN
  605. FMT(n/_nr)
  606. ELIF nextPh(isNotVowel) THEN
  607. FMT(n/nr_)
  608. ENDIF
  609. endphoneme
  610. phoneme n^ // Spanish **ñ**
  611. vcd pal nas pzd
  612. ipa ɲ
  613. Vowelout f1=3 f2=2500 300 500 f3=100 80 len=45 brk rate
  614. lengthmod 4
  615. IF KlattSynth THEN
  616. VowelStart(klatt/n^@)
  617. FMT(klatt/n^)
  618. ENDIF
  619. NextVowelStarts
  620. VowelStart(n^/n^@)
  621. VowelStart(n^/n^a)
  622. VowelStart(n^/n^e)
  623. VowelStart(n^/n^i)
  624. VowelStart(n^/n^o)
  625. VowelStart(n^/n^u)
  626. EndSwitch
  627. IF prevPh(isPause) THEN
  628. FMT(n^/_n^)
  629. ELIF nextPh(isNotVowel) THEN
  630. IF nextPhW(n^) THEN
  631. length 75
  632. ELIF prevPhW(n^) THEN
  633. length 100
  634. ENDIF
  635. FMT(n^/n^_)
  636. ENDIF
  637. endphoneme
  638. phoneme N // si**ng**
  639. vcd vel nas
  640. Vowelout f1=3 f2=2300 300 400 f3=-200 80 len=40 rms=20 brk
  641. lengthmod 8 // longer than 'n'
  642. IF KlattSynth THEN
  643. Vowelin f1=0 f2=2100 50 300 f3=0 80
  644. IF nextPh(isPause2) THEN
  645. FMT(klatt/nn_)
  646. ENDIF
  647. FMT(klatt/nn)
  648. ENDIF
  649. NextVowelStarts
  650. VowelStart(nn/nn@)
  651. VowelStart(nn/nna)
  652. VowelStart(nn/nne)
  653. VowelStart(nn/nni)
  654. VowelStart(nn/nno)
  655. VowelStart(nn/nnu)
  656. EndSwitch
  657. IF prevPh(#i) THEN
  658. VowelEnding(nn/inn, -40)
  659. ENDIF
  660. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  661. FMT(nn/nnj)
  662. ELIF prevPh(isPause) THEN
  663. FMT(nn/_nn)
  664. ELIF nextPh(isNotVowel) THEN
  665. FMT(nn/nn_)
  666. ENDIF
  667. endphoneme
  668. phoneme ** // TEST flap
  669. liquid alv rhotic
  670. ipa ɾ
  671. lengthmod 3
  672. Vowelout f1=3 f2=1600 -300 300 f3=-300 80 rms=35 len=15
  673. Vowelin f1=2 f2=1600 -300 300 f3=-100 80 len=20
  674. IF prevPh(#i) OR prevPh(#e) THEN
  675. FMT(r3/@tap2)
  676. ENDIF
  677. FMT(r3/@tap)
  678. endphoneme
  679. phoneme * // flap
  680. vcd alv flp rhotic
  681. brkafter
  682. ipa ɾ
  683. lengthmod 3
  684. IF prevPhW(@-) THEN
  685. ipa r // @-* sequence for [r]
  686. ENDIF
  687. IF nextPh(#e) OR nextPh(#i) THEN
  688. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  689. FMT(d/tap1) addWav(r3/rx, 150)
  690. FMT(d/tap1) addWav(r3/rx, 150)
  691. ENDIF
  692. Vowelin f1=2 f2=1500 -300 300 f3=-200 80
  693. IF nextPh(#a) THEN
  694. FMT(d/tap3) addWav(r3/rx, 200)
  695. ENDIF
  696. IF nextPh(r) THEN
  697. FMT(d/dr)
  698. ENDIF
  699. Vowelout f1=3 f2=1500 -400 300 f3=-200 80 rms=35 len=50
  700. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  701. FMT(d/tap3) addWav(r3/rx, 200)
  702. endphoneme
  703. phoneme r. // retroflex
  704. liquid rfx
  705. lengthmod 3
  706. Vowelout f1=3 f2=1400 -400 300 f3=-400 80 rms=35 len=15 colr=2
  707. Vowelin f1=2 f2=1400 -400 300 f3=-400 80 len=20
  708. IF nextPh(isNotVowel) THEN
  709. FMT(r3/@tap_rfx_)
  710. ENDIF
  711. FMT(r3/@tap_rfx)
  712. endphoneme
  713. //*******************************************************************
  714. // VOICED STOPS
  715. //*******************************************************************
  716. phoneme b
  717. vcd blb stp
  718. voicingswitch p
  719. Vowelout f1=2 f2=1000 -500 -300 f3=-300 80 brk
  720. lengthmod 5
  721. IF PreVoicing THEN
  722. FMT(b/xb)
  723. ENDIF
  724. IF KlattSynth THEN
  725. Vowelin f1=1 f2=1000 -500 -300 f3=-300 80
  726. IF nextPh(isPause2) THEN
  727. FMT(klatt/b) addWav(x/b_)
  728. ENDIF
  729. FMT(klatt/b) addWav(x/b)
  730. ENDIF
  731. IF nextPh(isPause2) THEN
  732. FMT(b/b_) addWav(x/b_)
  733. ELIF nextPh(@-) THEN
  734. FMT(b/b@2) addWav(x/b)
  735. ELIF nextPh(#@) THEN
  736. FMT(b/b@) addWav(x/b)
  737. ELIF nextPh(#a) THEN
  738. FMT(b/ba) addWav(x/b)
  739. ELIF nextPh(#e) THEN
  740. FMT(b/be) addWav(x/b)
  741. ELIF nextPh(#i) THEN
  742. FMT(b/bi) addWav(x/b)
  743. ELIF nextPh(#o) THEN
  744. FMT(b/bo) addWav(x/b)
  745. ELIF nextPh(#u) THEN
  746. FMT(b/bu) addWav(x/b)
  747. ENDIF
  748. FMT(b/b) addWav(x/b)
  749. endphoneme
  750. phoneme d
  751. vcd alv stp
  752. voicingswitch t
  753. lengthmod 5
  754. Vowelin f1=1 f2=1700 -300 300 f3=-100 80
  755. Vowelout f1=2 f2=1700 -300 300 f3=-100 80 brk
  756. IF PreVoicing THEN
  757. FMT(d/xd)
  758. ENDIF
  759. IF nextPh(isPause2) THEN
  760. FMT(d/d_) addWav(x/d_)
  761. // ELIF nextPh(r) THEN
  762. // FMT(d/dr) addWav(x/d)
  763. ENDIF
  764. FMT(d/d) addWav(x/d)
  765. endphoneme
  766. phoneme d[
  767. vcd dnt stp
  768. voicingswitch t[
  769. lengthmod 5
  770. Vowelin f1=2 f2=1500 -300 300 f3=-150 80
  771. Vowelout f1=2 f2=1500 -300 300 f3=-150 80
  772. IF PreVoicing THEN
  773. FMT(d/xd)
  774. ENDIF
  775. IF nextPh(isPause2) THEN
  776. FMT(d/d_) addWav(x/d_)
  777. ELIF nextPh(r) THEN
  778. FMT(d/dr) addWav(x/d_dnt, 100)
  779. ENDIF
  780. FMT(d/d) addWav(x/d_dnt, 100)
  781. endphoneme
  782. phoneme dZ // **j**udge
  783. vcd pla afr sib
  784. voicingswitch tS
  785. lengthmod 5
  786. Vowelin f1=2 f2=2300 200 400 f3=100 80
  787. Vowelout f1=2 f2=2300 250 300 f3=100 80 brk
  788. IF PreVoicing THEN
  789. FMT(dzh/xdzh)
  790. ENDIF
  791. IF nextPh(isPause2) THEN
  792. FMT(dzh/dzh_) addWav(x/dzh_)
  793. ENDIF
  794. FMT(dzh/dzh) addWav(x/dzh)
  795. endphoneme
  796. phoneme dZ;
  797. vcd alp sib afr
  798. voicingswitch tS;
  799. ipa dʑ
  800. lengthmod 5
  801. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  802. Vowelout f1=2 f2=2700 400 600 f3=300 80
  803. IF PreVoicing THEN
  804. FMT(dzh/xdzh)
  805. ENDIF
  806. IF KlattSynth THEN
  807. IF nextPh(isPause2) THEN
  808. FMT(dzh/dzh_) addWav(x/dzh_)
  809. ENDIF
  810. FMT(dzh/dzh) addWav(x/dz_pzd)
  811. ENDIF
  812. IF nextPh(isPause2) THEN
  813. FMT(dzh/dzh_) addWav(x/dzh_)
  814. ENDIF
  815. FMT(dzh/dzh) addWav(x/dz_pzd)
  816. endphoneme
  817. phoneme J
  818. vcd pal afr sib pzd
  819. voicingswitch c
  820. lengthmod 5
  821. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  822. Vowelout f1=2 f2=2700 400 600 f3=300 80 colr=1
  823. IF PreVoicing THEN
  824. FMT(dzh/xdz_pzd)
  825. ENDIF
  826. IF KlattSynth THEN
  827. IF nextPh(isPause2) THEN
  828. FMT(klatt/dz_pzd_) addWav(x/dzh, 35)
  829. ENDIF
  830. FMT(klatt/dz_pzd) addWav(x/dzh, 45)
  831. ENDIF
  832. IF nextPh(isPause2) THEN
  833. FMT(dzh/dz_pzd_) addWav(x/dzh, 35)
  834. ENDIF
  835. FMT(dzh/dz_pzd) addWav(x/dzh, 45)
  836. endphoneme
  837. phoneme g
  838. vcd vel stp
  839. voicingswitch k
  840. lengthmod 5
  841. Vowelin f1=2 f2=2300 200 300 f3=-300 80
  842. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  843. IF PreVoicing THEN
  844. FMT(g/xg)
  845. ENDIF
  846. IF nextPh(isPause2) THEN
  847. FMT(g/g_) addWav(x/g_)
  848. ENDIF
  849. FMT(g/g) addWav(x/g2, 150)
  850. endphoneme
  851. //*******************************************************************
  852. // VOICED fricatives
  853. //*******************************************************************
  854. phoneme B
  855. vcd blb frc
  856. voicingswitch f
  857. lengthmod 6
  858. Vowelin f1=2 f2=1000 -300 -200 f3=-100 100
  859. Vowelout f1=2 f2=1000 -500 -300 f3=-100 60 len=50
  860. IF KlattSynth THEN
  861. IF nextPh(isPause2) THEN
  862. FMT(klatt/v_) addWav(vocw/v)
  863. ENDIF
  864. FMT(klatt/bh) addWav(vocw/v)
  865. ENDIF
  866. IF nextPh(isPause2) THEN
  867. FMT(voc/v_) addWav(vocw/v)
  868. ENDIF
  869. FMT(voc/bh) addWav(vocw/v)
  870. endphoneme
  871. phoneme v
  872. vcd lbd frc
  873. voicingswitch f
  874. lengthmod 6
  875. Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
  876. Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
  877. IF KlattSynth THEN
  878. Vowelout f1=1 f2=1000 -500 -300 f3=-300 60 len=50 brk
  879. IF nextPh(isPause2) THEN
  880. FMT(klatt/v_) addWav(vocw/v)
  881. ENDIF
  882. FMT(klatt/v) addWav(vocw/v, 150)
  883. ENDIF
  884. IF nextPh(isPause2) THEN
  885. FMT(voc/v_) addWav(vocw/v)
  886. ENDIF
  887. IF thisPh(isWordStart) AND nextPhW(isLiquid) THEN
  888. length 70
  889. ENDIF
  890. FMT(voc/v) addWav(vocw/v)
  891. endphoneme
  892. phoneme v# // approximant, not fricative
  893. vcd lbd frc
  894. ipa ʋ
  895. lengthmod 6
  896. voicingswitch f
  897. Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
  898. Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
  899. IF nextPh(isPause2) THEN
  900. FMT(voc/v#_)
  901. ENDIF
  902. FMT(voc/v#)
  903. endphoneme
  904. phoneme D // **th**is
  905. vcd dnt frc
  906. voicingswitch T
  907. lengthmod 6
  908. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  909. IF KlattSynth THEN
  910. Vowelin f1=0 f2=1290 -300 300 f3=0 0
  911. ENDIF
  912. IF nextPh(isPause2) THEN
  913. FMT(voc/dh_) addWav(vocw/dh)
  914. ENDIF
  915. FMT(voc/dh) addWav(vocw/dh)
  916. endphoneme
  917. phoneme z
  918. vcd alv frc sib
  919. voicingswitch s
  920. lengthmod 6
  921. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  922. IF KlattSynth THEN
  923. Vowelin f1=0 f2=1390 -300 300 f3=0 0
  924. Vowelout f1=1 f2=1390 -300 300 f3=-100 60 len=50 brk
  925. ENDIF
  926. IF nextPh(isPause2) THEN
  927. FMT(voc/z_) addWav(ufric/s_, 70)
  928. ENDIF
  929. FMT(voc/z) addWav(ufric/s_, 85)
  930. endphoneme
  931. phoneme Z // plea**s**ure
  932. vcd pla frc sib
  933. voicingswitch S
  934. lengthmod 6
  935. Vowelin f1=0 f2=2000 0 300 f3=-200 80
  936. Vowelout f1=2 f2=2000 0 300 f3=-200 80 brk
  937. IF KlattSynth THEN
  938. IF nextPh(isPause2) THEN
  939. FMT(klatt/zh_, 60) addWav(vocw/zh, 70)
  940. ENDIF
  941. FMT(klatt/zh) addWav(vocw/zh, 130)
  942. ENDIF
  943. IF nextPh(isPause2) THEN
  944. FMT(voc/zh_, 60) addWav(vocw/zh, 70)
  945. ENDIF
  946. FMT(voc/zh) addWav(vocw/zh, 130)
  947. endphoneme
  948. phoneme z.
  949. vcd pla frc sib
  950. ipa ʐ
  951. voicingswitch s.
  952. lengthmod 6
  953. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  954. Vowelout f1=2 f2=1800 -100 300 f3=-300 80 brk
  955. IF KlattSynth THEN
  956. IF nextPh(isPause2) THEN
  957. FMT(klatt/zh_) addWav(vocw/zh_rfx)
  958. ENDIF
  959. FMT(klatt/zh) addWav(vocw/zh_rfx)
  960. ENDIF
  961. IF nextPh(isPause2) THEN
  962. FMT(voc/zh_) addWav(vocw/zh_rfx)
  963. ENDIF
  964. FMT(voc/zh) addWav(vocw/zh_rfx)
  965. endphoneme
  966. phoneme z;
  967. vcd alp sib frc
  968. ipa ʑ
  969. voicingswitch s;
  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/s_pzd_, 80)
  975. ENDIF
  976. FMT(voc/z_pzd) addWav(ufric/s_pzd, 80)
  977. endphoneme
  978. phoneme Z;
  979. vcd alp sib frc
  980. voicingswitch S;
  981. ipa ʑ
  982. lengthmod 6
  983. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  984. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  985. IF nextPh(isPause2) THEN
  986. FMT(voc/z_pzd_) addWav(ufric/sh_pzd_)
  987. ENDIF
  988. FMT(voc/z_pzd) addWav(ufric/sh_pzd, 80)
  989. endphoneme
  990. phoneme J^ // palatal fricative (Kirshenbaum C<vcd>)
  991. vcd pal frc pzd
  992. ipa ʝ
  993. voicingswitch C
  994. lengthmod 6
  995. Vowelin f1=1 f2=2700 400 600 f3=200 70
  996. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=100
  997. FMT(voc/j) addWav(ufric/ch, 25)
  998. endphoneme
  999. phoneme Q
  1000. vcd vel frc
  1001. voicingswitch x
  1002. lengthmod 6
  1003. Vowelin f1=2 f2=2300 200 400 f3=-100 80
  1004. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  1005. IF KlattSynth THEN
  1006. IF nextPh(isPause2) THEN
  1007. FMT(klatt/qqh_) addWav(vocw/Q_)
  1008. ENDIF
  1009. FMT(klatt/qqh) addWav(vocw/Q)
  1010. ENDIF
  1011. IF nextPh(isPause2) THEN
  1012. FMT(voc/Q_) addWav(vocw/Q_)
  1013. ENDIF
  1014. FMT(voc/Q) addWav(vocw/Q)
  1015. endphoneme
  1016. phoneme Q^
  1017. vcd vel frc
  1018. lengthmod 6
  1019. Vowelin f1=2 f2=2700 400 600 f3=200 80
  1020. Vowelout f1=2 f2=2700 40 600 f3=200 80 brk
  1021. IF nextPh(isPause2) THEN
  1022. FMT(voc/Q_) addWav(vocw/Q_)
  1023. ENDIF
  1024. FMT(voc/Q) addWav(vocw/Q)
  1025. endphoneme
  1026. phoneme Q"
  1027. vcd uvl frc
  1028. ipa ʁ
  1029. lengthmod 6
  1030. IF nextPh(isPause2) THEN
  1031. FMT(voc/Q_ulv) addWav(ufric/xx, 60)
  1032. ENDIF
  1033. FMT(voc/Q_ulv) addWav(ufric/xx, 80)
  1034. endphoneme
  1035. //*******************************************************************
  1036. // UNVOICED STOPS
  1037. //*******************************************************************
  1038. phoneme p
  1039. vls blb stp
  1040. voicingswitch b
  1041. lengthmod 2
  1042. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  1043. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  1044. IF nextPh(isPause2) THEN
  1045. WAV(ustop/p_)
  1046. ELIF nextPh(r) THEN
  1047. WAV(ustop/pr, 70)
  1048. ELIF nextPh(R) OR nextPh(R2) THEN
  1049. WAV(ustop/pr)
  1050. ELIF nextPh(@-) THEN
  1051. WAV(ustop/p_unasp)
  1052. ELIF nextPh(l) THEN
  1053. WAV(ustop/pl)
  1054. ENDIF
  1055. WAV(ustop/p)
  1056. endphoneme
  1057. phoneme t
  1058. vls alv stp
  1059. voicingswitch d
  1060. lengthmod 2
  1061. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  1062. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  1063. IF nextPh(isPause2) THEN
  1064. WAV(ustop/t_)
  1065. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  1066. WAV(ustop/tr)
  1067. ELIF nextPh(@-) THEN
  1068. WAV(ustop/t_dnt, 50)
  1069. ENDIF
  1070. WAV(ustop/t, 90)
  1071. endphoneme
  1072. phoneme t[ // dental variant of /t/
  1073. vls dnt stp
  1074. voicingswitch d[
  1075. lengthmod 2
  1076. Vowelin f1=1 f2=1500 -250 250 f3=-100 80 amp=16
  1077. Vowelout f1=0 f2=1500 -300 250 f3=-100 80 rms=20
  1078. IF nextPh(isPause2) THEN
  1079. WAV(ustop/t_dnt, 35)
  1080. ENDIF
  1081. WAV(ustop/t_hi, 70)
  1082. endphoneme
  1083. phoneme tS // **ch**urch
  1084. vls pla afr sib
  1085. voicingswitch dZ
  1086. lengthmod 2
  1087. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  1088. IF nextPh(isPause2) THEN
  1089. WAV(ustop/tsh_)
  1090. ENDIF
  1091. WAV(ustop/tsh)
  1092. endphoneme
  1093. phoneme tS;
  1094. vls alp sib afr
  1095. voicingswitch dZ;
  1096. ipa tɕ
  1097. lengthmod 2
  1098. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  1099. IF nextPh(isPause2) THEN
  1100. WAV(ustop/ts_pzd)
  1101. ENDIF
  1102. WAV(ustop/ts_pzd)
  1103. endphoneme
  1104. phoneme c
  1105. vls pal stp pzd
  1106. voicingswitch J
  1107. lengthmod 2
  1108. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  1109. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=50 colr=1
  1110. IF nextPh(isPause2) THEN
  1111. WAV(ustop/t_pzd, 30)
  1112. ENDIF
  1113. WAV(ustop/c, 150)
  1114. endphoneme
  1115. phoneme k
  1116. vls vel stp
  1117. voicingswitch g
  1118. lengthmod 2
  1119. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  1120. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  1121. IF KlattSynth THEN
  1122. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  1123. ENDIF
  1124. IF nextPh(isPause2) THEN
  1125. WAV(ustop/k_)
  1126. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  1127. WAV(ustop/kr)
  1128. ELIF nextPh(#i) OR nextPh(;) THEN
  1129. WAV(ustop/ki)
  1130. ELIF nextPh(l) THEN
  1131. WAV(ustop/kl)
  1132. ELIF nextPh(@-) THEN
  1133. WAV(ustop/k_unasp, 70)
  1134. ENDIF
  1135. WAV(ustop/k)
  1136. endphoneme
  1137. phoneme q
  1138. vls uvl stp
  1139. lengthmod 2
  1140. Vowelin f1=1 f2=1700 0 200 f3=-300 80 gpaus f4 rms=30
  1141. Vowelout f1=1 f2=1700 -100 200 f3=-300 80 f4 rms=35
  1142. IF nextPh(isPause2) THEN
  1143. WAV(ustop/q, 40)
  1144. ELIF nextPh(#u) THEN
  1145. WAV(ustop/q_u, 80)
  1146. ENDIF
  1147. WAV(ustop/q, 48)
  1148. endphoneme
  1149. //*******************************************************************
  1150. // UNVOICED fricatives
  1151. //*******************************************************************
  1152. phoneme f
  1153. vls lbd frc
  1154. voicingswitch v
  1155. lengthmod 3
  1156. Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
  1157. IF nextPh(isPause) THEN
  1158. WAV(ufric/f_)
  1159. ENDIF
  1160. WAV(ufric/f)
  1161. endphoneme
  1162. phoneme T // **th**in
  1163. vls dnt frc
  1164. voicingswitch D
  1165. lengthmod 3
  1166. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  1167. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  1168. IF nextPh(isPause) THEN
  1169. WAV(ufric/th_)
  1170. ENDIF
  1171. WAV(ufric/th)
  1172. endphoneme
  1173. phoneme s
  1174. vls alv frc sib
  1175. voicingswitch z
  1176. lengthmod 3
  1177. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  1178. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  1179. IF nextPh(isPause) THEN
  1180. WAV(ufric/s_)
  1181. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  1182. WAV(ufric/s!)
  1183. ENDIF
  1184. WAV(ufric/s)
  1185. endphoneme
  1186. phoneme S // **sh**op
  1187. vls pla frc sib
  1188. voicingswitch Z
  1189. lengthmod 3
  1190. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  1191. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  1192. IF nextPh(isPause) THEN
  1193. WAV(ufric/sh_)
  1194. ENDIF
  1195. WAV(ufric/sh)
  1196. endphoneme
  1197. phoneme s.
  1198. vls pla frc sib
  1199. ipa ʂ
  1200. voicingswitch z.
  1201. lengthmod 3
  1202. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  1203. Vowelout f1=0 f2=1800 -100 300 f3=-300 80
  1204. IF nextPh(isPause) THEN
  1205. WAV(ufric/sh_rfx, 60)
  1206. ENDIF
  1207. WAV(ufric/sh_rfx, 90)
  1208. endphoneme
  1209. phoneme s;
  1210. vls pal frc sib pzd
  1211. ipa ʂ
  1212. voicingswitch z;
  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 len=70
  1216. IF nextPh(isPause) THEN
  1217. WAV(ufric/s_pzd_)
  1218. ENDIF
  1219. WAV(ufric/s_pzd)
  1220. endphoneme
  1221. phoneme S;
  1222. vls alp sib frc
  1223. voicingswitch Z;
  1224. ipa ɕ
  1225. lengthmod 3
  1226. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  1227. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate
  1228. IF nextPh(isPause) THEN
  1229. WAV(ufric/sh_pzd_)
  1230. ENDIF
  1231. WAV(ufric/sh_pzd)
  1232. endphoneme
  1233. phoneme l# // Lateral fricative (eg. Welsh "ll")
  1234. vls alv frc
  1235. ipa ɬ
  1236. lengthmod 3
  1237. NextVowelStarts
  1238. VowelStart(l/l@)
  1239. VowelStart(l/la)
  1240. VowelStart(l/le)
  1241. VowelStart(l/li, -10)
  1242. VowelStart(l/lo)
  1243. VowelStart(l/lu)
  1244. EndSwitch
  1245. IF prevPh(isVowel) THEN
  1246. VowelEnding(l/xl, -40)
  1247. ENDIF
  1248. WAV(ufric/l#, 60)
  1249. endphoneme
  1250. phoneme C // German i**ch**
  1251. vls pal frc
  1252. lengthmod 3
  1253. Vowelin f1=0 f2=2700 400 600 f3=200 70
  1254. Vowelout f1=0 f2=2700 400 600 f3=200 70 rms=20
  1255. IF nextPh(isPause) THEN
  1256. WAV(ufric/ch_)
  1257. ENDIF
  1258. WAV(ufric/ch)
  1259. endphoneme
  1260. phoneme x // German bu**ch**
  1261. vls vel frc
  1262. voicingswitch Q
  1263. lengthmod 3
  1264. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  1265. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  1266. IF nextPh(isPause) THEN
  1267. WAV(ufric/x_, 60)
  1268. ENDIF
  1269. WAV(ufric/x_hr, 20)
  1270. endphoneme
  1271. phoneme X
  1272. vls uvl frc
  1273. voicingswitch Q"
  1274. lengthmod 3
  1275. IF nextPh(isPause) THEN
  1276. WAV(ufric/xx, 70)
  1277. ENDIF
  1278. WAV(ufric/xx,80)
  1279. endphoneme
  1280. phoneme h
  1281. vls glt apr
  1282. lengthmod 3
  1283. ipa h
  1284. IF nextPh(#@) THEN
  1285. WAV(h/h@)
  1286. ELIF nextPh(#a) THEN
  1287. WAV(h/ha)
  1288. ELIF nextPh(#e) THEN
  1289. WAV(h/he)
  1290. ELIF nextPh(#i) THEN
  1291. WAV(h/hi)
  1292. ELIF nextPh(#o) THEN
  1293. WAV(h/ho)
  1294. ELIF nextPh(#u) THEN
  1295. WAV(h/hu)
  1296. ENDIF
  1297. WAV(h/h_, 70) // no vowel following
  1298. endphoneme
  1299. //*******************************************************************
  1300. // ADDITIONAL PHONEME TABLES
  1301. //*******************************************************************
  1302. phonemetable jp base1
  1303. include ph_japanese
  1304. phonemetable consonants base1
  1305. include ph_consonants
  1306. phonemetable base2 base1
  1307. include ph_base2
  1308. phonemetable en base1
  1309. include ph_english
  1310. phonemetable en-n en
  1311. include ph_english_n
  1312. phonemetable en-us en
  1313. include ph_english_us
  1314. phonemetable en-sc en
  1315. include ph_english_sc
  1316. phonemetable en-rp en
  1317. include ph_english_rp
  1318. phonemetable en-wm en
  1319. include ph_english_wm
  1320. phonemetable en-wi en
  1321. include ph_english_wi
  1322. phonemetable af base1
  1323. include ph_afrikaans
  1324. phonemetable cy base1
  1325. include ph_welsh
  1326. phonemetable ga base1
  1327. include ph_irish
  1328. phonemetable de base1
  1329. include ph_german
  1330. phonemetable eo base1
  1331. include ph_esperanto
  1332. phonemetable ia eo
  1333. include ph_interlingua
  1334. phonemetable jbo eo
  1335. include ph_lojban
  1336. phonemetable nci base2
  1337. include ph_nahuatl
  1338. phonemetable fi base1
  1339. include ph_finnish
  1340. phonemetable et base1
  1341. include ph_estonian
  1342. phonemetable fr base1
  1343. include ph_french
  1344. phonemetable fr-ca fr
  1345. include ph_french_ca
  1346. phonemetable nl base1
  1347. include ph_dutch
  1348. phonemetable hi_base base1
  1349. include ph_hindi_base
  1350. phonemetable hi hi_base
  1351. include ph_hindi
  1352. phonemetable bn hi_base
  1353. include ph_bengali
  1354. phonemetable ne hi_base
  1355. include ph_nepali
  1356. phonemetable ur hi_base
  1357. include ph_urdu
  1358. phonemetable pa hi_base
  1359. include ph_punjabi
  1360. phonemetable ta hi_base
  1361. include ph_tamil
  1362. phonemetable kn hi_base
  1363. include ph_kannada
  1364. phonemetable ml hi_base
  1365. include ph_malayalam
  1366. phonemetable gu hi_base
  1367. include ph_gujarati
  1368. phonemetable mr hi_base
  1369. include ph_marathi
  1370. phonemetable hu base1
  1371. include ph_hungarian
  1372. phonemetable lt base1
  1373. include ph_lithuanian
  1374. phonemetable lv base1
  1375. include ph_latvian
  1376. phonemetable pl base1
  1377. include ph_polish
  1378. phonemetable sk pl
  1379. include ph_slovak
  1380. phonemetable cs sk
  1381. include ph_czech
  1382. phonemetable hr sk
  1383. include ph_croatian
  1384. phonemetable mk hr
  1385. include ph_macedonian
  1386. phonemetable sr hr
  1387. include ph_serbian
  1388. phonemetable ru base1
  1389. include ph_russian
  1390. phonemetable bg pl
  1391. include ph_bulgarian
  1392. phonemetable it base2
  1393. include ph_italian
  1394. phonemetable la base1
  1395. include ph_latin
  1396. phonemetable es base2
  1397. include ph_spanish
  1398. phonemetable es-la es
  1399. include ph_spanish_la
  1400. phonemetable ca es
  1401. include ph_catalan
  1402. phonemetable an es
  1403. include ph_aragon
  1404. phonemetable eu base2
  1405. include ph_basque
  1406. phonemetable pt base2
  1407. include ph_pt_brazil
  1408. phonemetable pt-pt pt
  1409. include ph_portugal
  1410. phonemetable ro base2
  1411. include ph_romanian
  1412. phonemetable el base2
  1413. include ph_greek
  1414. phonemetable grc base2
  1415. include ph_greek_ancient
  1416. phonemetable sv base1
  1417. include ph_swedish
  1418. phonemetable no base1
  1419. include ph_norwegian
  1420. phonemetable is base1
  1421. include ph_icelandic
  1422. phonemetable vi base1
  1423. include ph_vietnam
  1424. phonemetable vi-hue vi
  1425. include ph_vietnam_hue
  1426. phonemetable vi-sgn vi
  1427. include ph_vietnam_sgn
  1428. phonemetable zhy base1
  1429. include ph_zh_yue
  1430. phonemetable zh base1
  1431. include ph_zh
  1432. phonemetable sw base1
  1433. include ph_swahili
  1434. phonemetable tr base2
  1435. include ph_turkish
  1436. phonemetable ku base2
  1437. include ph_kurdish
  1438. phonemetable id base2
  1439. include ph_indonesian
  1440. phonemetable sq base1
  1441. include ph_albanian
  1442. phonemetable hy base1
  1443. include ph_armenian
  1444. phonemetable da base1
  1445. include ph_danish
  1446. phonemetable ka base1
  1447. include ph_georgian
  1448. phonemetable fa base1
  1449. include ph_farsi
  1450. phonemetable ar base1
  1451. include ph_arabic
  1452. phonemetable rw base2
  1453. include ph_kinyarwanda
  1454. phonemetable prs base1
  1455. include ph_dari
  1456. phonemetable sl pl
  1457. include ph_slovenian
  1458. phonemetable gd base1
  1459. include ph_s_gaelic
  1460. phonemetable nso base1
  1461. include ph_northern-sotho
  1462. phonemetable ht fr
  1463. include ph_haitian
  1464. phonemetable az tr
  1465. include ph_azerbaijani
  1466. phonemetable ak base1
  1467. include ph_akan
  1468. phonemetable am base1
  1469. include ph_amhari
  1470. phonemetable wo base1
  1471. include ph_wolof
  1472. phonemetable dv hi_base
  1473. include ph_divehi
  1474. phonemetable te hi_base
  1475. include ph_telugu
  1476. phonemetable si hi_base
  1477. include ph_sinhala
  1478. phonemetable as bn
  1479. include ph_assamese
  1480. phonemetable or bn
  1481. include ph_oriya
  1482. phonemetable mni bn
  1483. include ph_manipuri
  1484. phonemetable tn base1
  1485. include ph_setswana
  1486. phonemetable mt base1
  1487. include ph_maltese
  1488. phonemetable bo hi
  1489. include ph_tibetan
  1490. phonemetable kk base1
  1491. include ph_kazakh
  1492. phonemetable tt base1
  1493. include ph_tatar
  1494. phonemetable ko base1
  1495. include ph_korean
  1496. phonemetable kl base1
  1497. include ph_greenlandic
  1498. phonemetable om base1
  1499. include ph_oromo
  1500. phonemetable my base1
  1501. include ph_burmese
  1502. phonemetable gn base1
  1503. include ph_guarani
  1504. phonemetable ky base1
  1505. include ph_kyrgyz