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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547
  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. import_phoneme ipa/r\\
  238. endphoneme
  239. phoneme r/ // used for [r] when not preceding a vowel
  240. import_phoneme ipa/r\\
  241. endphoneme
  242. phoneme R
  243. liquid trl
  244. lengthmod 6
  245. ipa r
  246. IF nextPhW(R2) THEN
  247. ipa NULL
  248. ENDIF
  249. Vowelin f1=0 f2=1600 -300 300 f3=-200 80
  250. Vowelout f1=2 f2=1600 -300 300 f3=-200 80 brk
  251. FMT(r3/r_trill2) addWav(r3/r_trill2.wav, 65)
  252. endphoneme
  253. phoneme R2 // this is [R] from Slovak/Czech
  254. liquid trl
  255. lengthmod 6
  256. ipa r
  257. Vowelin f1=0 f2=1700 -300 300 f3=-300 80
  258. Vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
  259. FMT(r3/r_trill) addWav(r3/r_trill.wav, 50)
  260. endphoneme
  261. phoneme R3 // Afrikaans
  262. liquid trl
  263. lengthmod 6
  264. length 60
  265. ipa r
  266. Vowelin f1=2 f2=2700 -300 -200 f3=-1300 80
  267. Vowelout f1=2 f2=1700 -300 -200 f3=-1300 80
  268. // vowel modifier is the same as for [r]
  269. NextVowelStarts
  270. VowelStart(r/r@, -15)
  271. VowelStart(r/ra, -15)
  272. VowelStart(r/re, -15)
  273. VowelStart(r/ri, -15)
  274. VowelStart(r/ro, -15)
  275. VowelStart(r/ru, -15)
  276. EndSwitch
  277. IF prevPh(isVowel) THEN
  278. VowelEnding(r/xr, -50)
  279. ENDIF
  280. FMT(r3/r_trill) addWav(r3/r_trill3.wav)
  281. endphoneme
  282. phoneme r" // uvular trill
  283. vcd uvl frc
  284. ipa ʀ
  285. lengthmod 6
  286. IF nextPh(isNotVowel) THEN
  287. FMT(r3/r_uvl) addWav(r3/r_uvl.wav, 50)
  288. ENDIF
  289. FMT(r3/r_uvl) addWav(r3/r_uvl.wav, 75)
  290. endphoneme
  291. procedure vowelstart_l
  292. NextVowelStarts
  293. VowelStart(l/l@)
  294. VowelStart(l/la)
  295. VowelStart(l/le)
  296. VowelStart(l/li, -10)
  297. VowelStart(l/lo)
  298. VowelStart(l/lu)
  299. EndSwitch
  300. endprocedure
  301. phoneme l
  302. liquid
  303. lengthmod 7
  304. IF nextPh(isNotVowel) THEN
  305. ChangePhoneme(l/)
  306. ENDIF
  307. IF nextPh(isNotVowel) THEN
  308. // in case the next phoneme is no longer a vowel, in pass=2
  309. PrevVowelEndings
  310. VowelEnding(l/L1_@L, -60)
  311. VowelEnding(l/L1_aL, -40)
  312. VowelEnding(l/L1_eL, -30)
  313. VowelEnding(l/L1_iL, -30)
  314. VowelEnding(l/L1_oL, -40)
  315. VowelEnding(l/L1_uL, -40)
  316. EndSwitch
  317. FMT(l/l_)
  318. RETURN
  319. ENDIF
  320. CALL vowelstart_l
  321. IF prevPh(#@) THEN
  322. VowelEnding(l/xl, -50)
  323. ELIF prevPh(isVowel) THEN
  324. VowelEnding(l/xl, -40)
  325. ENDIF
  326. IF prevPh(isPause) THEN
  327. FMT(l/_l)
  328. ENDIF
  329. IF prevPh(t) THEN
  330. FMT(l/tl)
  331. ENDIF
  332. IF prevPh(l/) THEN
  333. FMT(l/l_long) // double l, make it longer
  334. ENDIF
  335. FMT(l/l)
  336. endphoneme
  337. phoneme l/ // used for [l] when not before a vowel
  338. liquid
  339. lengthmod 7
  340. IF nextPh(isVowel) THEN
  341. ChangePhoneme(l)
  342. ENDIF
  343. PrevVowelEndings
  344. VowelEnding(l/L1_@L, -60)
  345. VowelEnding(l/L1_aL, -40)
  346. VowelEnding(l/L1_eL, -30)
  347. VowelEnding(l/L1_iL, -30)
  348. VowelEnding(l/L1_oL, -40)
  349. VowelEnding(l/L1_uL, -40)
  350. EndSwitch
  351. // we need to replace these with new FMT sequeces for jl and wl
  352. IF prevPhW(j) THEN
  353. FMT(l/L1_eL)
  354. ENDIF
  355. IF prevPhW(w) THEN
  356. FMT(l/L1_eL)
  357. ENDIF
  358. FMT(l/l_)
  359. endphoneme
  360. phoneme l/2 // 'dark' [l] after a vowel
  361. liquid
  362. lengthmod 7
  363. IF nextPh(isVowel) THEN
  364. ChangePhoneme(l)
  365. ENDIF
  366. CALL vowelstart_l
  367. IF prevPhW(j) THEN
  368. FMT(l/L2_eL)
  369. ENDIF
  370. IF prevPhW(w) THEN
  371. FMT(l/L2_uL)
  372. ENDIF
  373. PrevVowelEndings
  374. VowelEnding(l/L2_@L, -60)
  375. VowelEnding(l/L2_aL, -50)
  376. VowelEnding(l/L2_eL, -40)
  377. VowelEnding(l/L2_iL, -30)
  378. VowelEnding(l/L2_oL, -50)
  379. VowelEnding(l/L2_uL, -40)
  380. EndSwitch
  381. endphoneme
  382. phoneme l/3 // Replacement for [l/]
  383. liquid
  384. lengthmod 7
  385. IF nextPh(isVowel) THEN
  386. ChangePhoneme(l)
  387. ENDIF
  388. PrevVowelEndings
  389. VowelEnding(l/l_@)
  390. VowelEnding(l/l_a)
  391. VowelEnding(l/l_e)
  392. VowelEnding(l/l_i)
  393. VowelEnding(l/l_o)
  394. VowelEnding(l/l_u, -20)
  395. EndSwitch
  396. // IF nextPh(isLiquid) THEN
  397. // FMT(l/_l)
  398. // ENDIF
  399. FMT(l/l_)
  400. endphoneme
  401. phoneme l^ // palatal l, e.g. Italian **g**li
  402. liquid
  403. ipa ʎ
  404. lengthmod 7
  405. Vowelout len=60 lenadd rate
  406. length 100
  407. NextVowelStarts
  408. VowelStart(l^/j2@)
  409. VowelStart(l^/j2a)
  410. VowelStart(l^/j2e)
  411. VowelStart(l^/j2i)
  412. VowelStart(l^/j2o)
  413. VowelStart(l^/j2u)
  414. EndSwitch
  415. IF prevPh(isPause) THEN
  416. FMT(l^/_l^)
  417. ENDIF
  418. FMT(l^/l^)
  419. endphoneme
  420. phoneme l.
  421. liquid rfx
  422. ipa ɭ
  423. lengthmod 7
  424. FMT(l^/l_rfx)
  425. endphoneme
  426. phoneme L/
  427. import_phoneme base1/l/2
  428. endphoneme
  429. phoneme L // velar L
  430. liquid
  431. lengthmod 7
  432. IF nextPh(isNotVowel) THEN
  433. ChangePhoneme(L/) // use 'dark' [l] after a vowel
  434. ENDIF
  435. VowelEnding(ll/xll, -40)
  436. IF prevPh(isPause) THEN
  437. FMT(ll/_ll)
  438. ENDIF
  439. FMT(ll/ll)
  440. endphoneme
  441. phoneme w
  442. import_phoneme ipa/w
  443. endphoneme
  444. phoneme j // **y**es
  445. import_phoneme ipa/j
  446. endphoneme
  447. phoneme ; // linking j, used between (i) vowels and a following vowel
  448. // also to palatalize consonants
  449. liquid pzd
  450. lengthmod 0
  451. IF prevPh(#i) THEN
  452. ipa NULL // linking after i vowel, don't show in ipa
  453. ENDIF
  454. IF nextPh(isNotVowel) THEN
  455. ChangePhoneme(NULL) // this is to ignore this phoneme if not before a vowel
  456. ENDIF
  457. NextVowelStarts
  458. VowelStart(j2/j2@)
  459. VowelStart(j2/j2a)
  460. VowelStart(j2/j2e)
  461. VowelStart(j2/j2i)
  462. VowelStart(j2/j2o)
  463. VowelStart(j2/j2u)
  464. EndSwitch
  465. IF prevPh(#i) THEN
  466. VowelEnding(j2/xj2, -40)
  467. ENDIF
  468. IF prevPh(isPause) THEN
  469. FMT(j2/_j2)
  470. ENDIF
  471. endphoneme
  472. //*******************************************************************
  473. // NASAL CONSONANTS
  474. //*******************************************************************
  475. phoneme m
  476. import_phoneme ipa/m
  477. endphoneme
  478. phoneme n
  479. import_phoneme ipa/n
  480. endphoneme
  481. phoneme n.
  482. import_phoneme ipa/n`
  483. endphoneme
  484. phoneme n^ // Spanish **ñ**
  485. import_phoneme ipa/J
  486. endphoneme
  487. phoneme N // si**ng**
  488. import_phoneme ipa/N
  489. endphoneme
  490. phoneme ** // TEST flap
  491. liquid alv rhotic
  492. ipa ɾ
  493. lengthmod 3
  494. Vowelout f1=3 f2=1600 -300 300 f3=-300 80 rms=35 len=15
  495. Vowelin f1=2 f2=1600 -300 300 f3=-100 80 len=20
  496. IF prevPh(#i) OR prevPh(#e) THEN
  497. FMT(r3/@tap2)
  498. ENDIF
  499. FMT(r3/@tap)
  500. endphoneme
  501. phoneme * // flap
  502. vcd alv flp rhotic
  503. brkafter
  504. ipa ɾ
  505. lengthmod 3
  506. IF prevPhW(@-) THEN
  507. ipa r // @-* sequence for [r]
  508. ENDIF
  509. IF nextPh(#e) OR nextPh(#i) THEN
  510. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  511. FMT(d/tap1) addWav(r3/rx, 150)
  512. FMT(d/tap1) addWav(r3/rx, 150)
  513. ENDIF
  514. Vowelin f1=2 f2=1500 -300 300 f3=-200 80
  515. IF nextPh(#a) THEN
  516. FMT(d/tap3) addWav(r3/rx, 200)
  517. ENDIF
  518. IF nextPh(r) THEN
  519. FMT(d/dr)
  520. ENDIF
  521. Vowelout f1=3 f2=1500 -400 300 f3=-200 80 rms=35 len=50
  522. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  523. FMT(d/tap3) addWav(r3/rx, 200)
  524. endphoneme
  525. phoneme r. // retroflex
  526. liquid rfx
  527. lengthmod 3
  528. Vowelout f1=3 f2=1400 -400 300 f3=-400 80 rms=35 len=15 colr=2
  529. Vowelin f1=2 f2=1400 -400 300 f3=-400 80 len=20
  530. IF nextPh(isNotVowel) THEN
  531. FMT(r3/@tap_rfx_)
  532. ENDIF
  533. FMT(r3/@tap_rfx)
  534. endphoneme
  535. //*******************************************************************
  536. // VOICED STOPS
  537. //*******************************************************************
  538. phoneme b
  539. import_phoneme ipa/b
  540. voicingswitch p
  541. endphoneme
  542. phoneme d
  543. import_phoneme ipa/d
  544. voicingswitch t
  545. endphoneme
  546. phoneme d[
  547. import_phoneme ipa/d_d
  548. voicingswitch t[
  549. endphoneme
  550. phoneme dZ // **j**udge
  551. import_phoneme ipa/dZ\)
  552. voicingswitch tS
  553. endphoneme
  554. phoneme dZ;
  555. import_phoneme ipa/dz\\\)
  556. voicingswitch tS;
  557. endphoneme
  558. phoneme J
  559. import_phoneme ipa/J\\
  560. voicingswitch c
  561. endphoneme
  562. phoneme g
  563. import_phoneme ipa/g
  564. voicingswitch k
  565. endphoneme
  566. //*******************************************************************
  567. // VOICED fricatives
  568. //*******************************************************************
  569. phoneme B
  570. import_phoneme ipa/B
  571. voicingswitch f
  572. endphoneme
  573. phoneme v
  574. import_phoneme ipa/v
  575. voicingswitch f
  576. endphoneme
  577. phoneme v#
  578. import_phoneme ipa/P
  579. voicingswitch f
  580. endphoneme
  581. phoneme D // **th**is
  582. vcd dnt frc
  583. voicingswitch T
  584. lengthmod 6
  585. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  586. IF KlattSynth THEN
  587. Vowelin f1=0 f2=1290 -300 300 f3=0 0
  588. ENDIF
  589. IF nextPh(isPause2) THEN
  590. FMT(voc/dh_) addWav(vocw/dh)
  591. ENDIF
  592. FMT(voc/dh) addWav(vocw/dh)
  593. endphoneme
  594. phoneme z
  595. vcd alv frc sib
  596. voicingswitch s
  597. lengthmod 6
  598. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  599. IF KlattSynth THEN
  600. Vowelin f1=0 f2=1390 -300 300 f3=0 0
  601. Vowelout f1=1 f2=1390 -300 300 f3=-100 60 len=50 brk
  602. ENDIF
  603. IF nextPh(isPause2) THEN
  604. FMT(voc/z_) addWav(ufric/s_, 70)
  605. ENDIF
  606. FMT(voc/z) addWav(ufric/s_, 85)
  607. endphoneme
  608. phoneme Z // plea**s**ure
  609. vcd pla frc sib
  610. voicingswitch S
  611. lengthmod 6
  612. Vowelin f1=0 f2=2000 0 300 f3=-200 80
  613. Vowelout f1=2 f2=2000 0 300 f3=-200 80 brk
  614. IF KlattSynth THEN
  615. IF nextPh(isPause2) THEN
  616. FMT(klatt/zh_, 60) addWav(vocw/zh, 70)
  617. ENDIF
  618. FMT(klatt/zh) addWav(vocw/zh, 130)
  619. ENDIF
  620. IF nextPh(isPause2) THEN
  621. FMT(voc/zh_, 60) addWav(vocw/zh, 70)
  622. ENDIF
  623. FMT(voc/zh) addWav(vocw/zh, 130)
  624. endphoneme
  625. phoneme z.
  626. vcd pla frc sib
  627. ipa ʐ
  628. voicingswitch s.
  629. lengthmod 6
  630. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  631. Vowelout f1=2 f2=1800 -100 300 f3=-300 80 brk
  632. IF KlattSynth THEN
  633. IF nextPh(isPause2) THEN
  634. FMT(klatt/zh_) addWav(vocw/zh_rfx)
  635. ENDIF
  636. FMT(klatt/zh) addWav(vocw/zh_rfx)
  637. ENDIF
  638. IF nextPh(isPause2) THEN
  639. FMT(voc/zh_) addWav(vocw/zh_rfx)
  640. ENDIF
  641. FMT(voc/zh) addWav(vocw/zh_rfx)
  642. endphoneme
  643. phoneme z;
  644. vcd alp sib frc
  645. ipa ʑ
  646. voicingswitch s;
  647. lengthmod 6
  648. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  649. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  650. IF nextPh(isPause2) THEN
  651. FMT(voc/z_pzd_) addWav(ufric/s_pzd_, 80)
  652. ENDIF
  653. FMT(voc/z_pzd) addWav(ufric/s_pzd, 80)
  654. endphoneme
  655. phoneme Z;
  656. vcd alp sib frc
  657. voicingswitch S;
  658. ipa ʑ
  659. lengthmod 6
  660. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  661. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  662. IF nextPh(isPause2) THEN
  663. FMT(voc/z_pzd_) addWav(ufric/sh_pzd_)
  664. ENDIF
  665. FMT(voc/z_pzd) addWav(ufric/sh_pzd, 80)
  666. endphoneme
  667. phoneme J^ // palatal fricative (Kirshenbaum C<vcd>)
  668. vcd pal frc pzd
  669. ipa ʝ
  670. voicingswitch C
  671. lengthmod 6
  672. Vowelin f1=1 f2=2700 400 600 f3=200 70
  673. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=100
  674. FMT(voc/j) addWav(ufric/ch, 25)
  675. endphoneme
  676. phoneme Q
  677. vcd vel frc
  678. voicingswitch x
  679. lengthmod 6
  680. Vowelin f1=2 f2=2300 200 400 f3=-100 80
  681. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  682. IF KlattSynth THEN
  683. IF nextPh(isPause2) THEN
  684. FMT(klatt/qqh_) addWav(vocw/Q_)
  685. ENDIF
  686. FMT(klatt/qqh) addWav(vocw/Q)
  687. ENDIF
  688. IF nextPh(isPause2) THEN
  689. FMT(voc/Q_) addWav(vocw/Q_)
  690. ENDIF
  691. FMT(voc/Q) addWav(vocw/Q)
  692. endphoneme
  693. phoneme Q^
  694. vcd vel frc
  695. lengthmod 6
  696. Vowelin f1=2 f2=2700 400 600 f3=200 80
  697. Vowelout f1=2 f2=2700 40 600 f3=200 80 brk
  698. IF nextPh(isPause2) THEN
  699. FMT(voc/Q_) addWav(vocw/Q_)
  700. ENDIF
  701. FMT(voc/Q) addWav(vocw/Q)
  702. endphoneme
  703. phoneme Q"
  704. vcd uvl frc
  705. ipa ʁ
  706. lengthmod 6
  707. IF nextPh(isPause2) THEN
  708. FMT(voc/Q_ulv) addWav(ufric/xx, 60)
  709. ENDIF
  710. FMT(voc/Q_ulv) addWav(ufric/xx, 80)
  711. endphoneme
  712. //*******************************************************************
  713. // UNVOICED STOPS
  714. //*******************************************************************
  715. phoneme p
  716. vls blb stp
  717. voicingswitch b
  718. lengthmod 2
  719. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  720. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  721. IF nextPh(isPause2) THEN
  722. WAV(ustop/p_)
  723. ELIF nextPh(r) THEN
  724. WAV(ustop/pr, 70)
  725. ELIF nextPh(R) OR nextPh(R2) THEN
  726. WAV(ustop/pr)
  727. ELIF nextPh(@-) THEN
  728. WAV(ustop/p_unasp)
  729. ELIF nextPh(l) THEN
  730. WAV(ustop/pl)
  731. ENDIF
  732. WAV(ustop/p)
  733. endphoneme
  734. phoneme t
  735. import_phoneme ipa/t
  736. voicingswitch d
  737. endphoneme
  738. phoneme t[ // dental variant of /t/
  739. import_phoneme ipa/t_d
  740. voicingswitch d[
  741. endphoneme
  742. phoneme tS // **ch**urch
  743. vls pla afr sib
  744. voicingswitch dZ
  745. lengthmod 2
  746. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  747. IF nextPh(isPause2) THEN
  748. WAV(ustop/tsh_)
  749. ENDIF
  750. WAV(ustop/tsh)
  751. endphoneme
  752. phoneme tS;
  753. vls alp sib afr
  754. voicingswitch dZ;
  755. ipa tɕ
  756. lengthmod 2
  757. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  758. IF nextPh(isPause2) THEN
  759. WAV(ustop/ts_pzd)
  760. ENDIF
  761. WAV(ustop/ts_pzd)
  762. endphoneme
  763. phoneme c
  764. vls pal stp pzd
  765. voicingswitch J
  766. lengthmod 2
  767. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  768. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=50 colr=1
  769. IF nextPh(isPause2) THEN
  770. WAV(ustop/t_pzd, 30)
  771. ENDIF
  772. WAV(ustop/c, 150)
  773. endphoneme
  774. phoneme k
  775. vls vel stp
  776. voicingswitch g
  777. lengthmod 2
  778. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  779. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  780. IF KlattSynth THEN
  781. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  782. ENDIF
  783. IF nextPh(isPause2) THEN
  784. WAV(ustop/k_)
  785. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  786. WAV(ustop/kr)
  787. ELIF nextPh(#i) OR nextPh(;) THEN
  788. WAV(ustop/ki)
  789. ELIF nextPh(l) THEN
  790. WAV(ustop/kl)
  791. ELIF nextPh(@-) THEN
  792. WAV(ustop/k_unasp, 70)
  793. ENDIF
  794. WAV(ustop/k)
  795. endphoneme
  796. phoneme q
  797. vls uvl stp
  798. lengthmod 2
  799. Vowelin f1=1 f2=1700 0 200 f3=-300 80 gpaus f4 rms=30
  800. Vowelout f1=1 f2=1700 -100 200 f3=-300 80 f4 rms=35
  801. IF nextPh(isPause2) THEN
  802. WAV(ustop/q, 40)
  803. ELIF nextPh(#u) THEN
  804. WAV(ustop/q_u, 80)
  805. ENDIF
  806. WAV(ustop/q, 48)
  807. endphoneme
  808. //*******************************************************************
  809. // UNVOICED fricatives
  810. //*******************************************************************
  811. phoneme f
  812. vls lbd frc
  813. voicingswitch v
  814. lengthmod 3
  815. Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
  816. IF nextPh(isPause) THEN
  817. WAV(ufric/f_)
  818. ENDIF
  819. WAV(ufric/f)
  820. endphoneme
  821. phoneme T // **th**in
  822. vls dnt frc
  823. voicingswitch D
  824. lengthmod 3
  825. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  826. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  827. IF nextPh(isPause) THEN
  828. WAV(ufric/th_)
  829. ENDIF
  830. WAV(ufric/th)
  831. endphoneme
  832. phoneme s
  833. vls alv frc sib
  834. voicingswitch z
  835. lengthmod 3
  836. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  837. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  838. IF nextPh(isPause) THEN
  839. WAV(ufric/s_)
  840. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  841. WAV(ufric/s!)
  842. ENDIF
  843. WAV(ufric/s)
  844. endphoneme
  845. phoneme S // **sh**op
  846. vls pla frc sib
  847. voicingswitch Z
  848. lengthmod 3
  849. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  850. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  851. IF nextPh(isPause) THEN
  852. WAV(ufric/sh_)
  853. ENDIF
  854. WAV(ufric/sh)
  855. endphoneme
  856. phoneme s.
  857. vls pla frc sib
  858. ipa ʂ
  859. voicingswitch z.
  860. lengthmod 3
  861. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  862. Vowelout f1=0 f2=1800 -100 300 f3=-300 80
  863. IF nextPh(isPause) THEN
  864. WAV(ufric/sh_rfx, 60)
  865. ENDIF
  866. WAV(ufric/sh_rfx, 90)
  867. endphoneme
  868. phoneme s;
  869. vls pal frc sib pzd
  870. ipa ʂ
  871. voicingswitch z;
  872. lengthmod 3
  873. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  874. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate len=70
  875. IF nextPh(isPause) THEN
  876. WAV(ufric/s_pzd_)
  877. ENDIF
  878. WAV(ufric/s_pzd)
  879. endphoneme
  880. phoneme S;
  881. vls alp sib frc
  882. voicingswitch Z;
  883. ipa ɕ
  884. lengthmod 3
  885. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  886. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate
  887. IF nextPh(isPause) THEN
  888. WAV(ufric/sh_pzd_)
  889. ENDIF
  890. WAV(ufric/sh_pzd)
  891. endphoneme
  892. phoneme l# // Lateral fricative (eg. Welsh "ll")
  893. vls alv frc
  894. ipa ɬ
  895. lengthmod 3
  896. NextVowelStarts
  897. VowelStart(l/l@)
  898. VowelStart(l/la)
  899. VowelStart(l/le)
  900. VowelStart(l/li, -10)
  901. VowelStart(l/lo)
  902. VowelStart(l/lu)
  903. EndSwitch
  904. IF prevPh(isVowel) THEN
  905. VowelEnding(l/xl, -40)
  906. ENDIF
  907. WAV(ufric/l#, 60)
  908. endphoneme
  909. phoneme C // German i**ch**
  910. vls pal frc
  911. lengthmod 3
  912. Vowelin f1=0 f2=2700 400 600 f3=200 70
  913. Vowelout f1=0 f2=2700 400 600 f3=200 70 rms=20
  914. IF nextPh(isPause) THEN
  915. WAV(ufric/ch_)
  916. ENDIF
  917. WAV(ufric/ch)
  918. endphoneme
  919. phoneme x // German bu**ch**
  920. vls vel frc
  921. voicingswitch Q
  922. lengthmod 3
  923. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  924. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  925. IF nextPh(isPause) THEN
  926. WAV(ufric/x_, 60)
  927. ENDIF
  928. WAV(ufric/x_hr, 20)
  929. endphoneme
  930. phoneme X
  931. vls uvl frc
  932. voicingswitch Q"
  933. lengthmod 3
  934. IF nextPh(isPause) THEN
  935. WAV(ufric/xx, 70)
  936. ENDIF
  937. WAV(ufric/xx,80)
  938. endphoneme
  939. phoneme h
  940. vls glt apr
  941. lengthmod 3
  942. ipa h
  943. IF nextPh(#@) THEN
  944. WAV(h/h@)
  945. ELIF nextPh(#a) THEN
  946. WAV(h/ha)
  947. ELIF nextPh(#e) THEN
  948. WAV(h/he)
  949. ELIF nextPh(#i) THEN
  950. WAV(h/hi)
  951. ELIF nextPh(#o) THEN
  952. WAV(h/ho)
  953. ELIF nextPh(#u) THEN
  954. WAV(h/hu)
  955. ENDIF
  956. WAV(h/h_, 70) // no vowel following
  957. endphoneme
  958. //*******************************************************************
  959. // ADDITIONAL PHONEME TABLES
  960. //*******************************************************************
  961. phonemetable jp base1
  962. include ph_japanese
  963. phonemetable consonants base1
  964. include ph_consonants
  965. phonemetable base2 base1
  966. include ph_base2
  967. phonemetable en base1
  968. include ph_english
  969. phonemetable en-n en
  970. include ph_english_n
  971. phonemetable en-us en
  972. include ph_english_us
  973. phonemetable en-sc en
  974. include ph_english_sc
  975. phonemetable en-rp en
  976. include ph_english_rp
  977. phonemetable en-wm en
  978. include ph_english_wm
  979. phonemetable en-wi en
  980. include ph_english_wi
  981. phonemetable af base1
  982. include ph_afrikaans
  983. phonemetable cy base1
  984. include ph_welsh
  985. phonemetable ga base1
  986. include ph_irish
  987. phonemetable de base1
  988. include ph_german
  989. phonemetable eo base1
  990. include ph_esperanto
  991. phonemetable ia eo
  992. include ph_interlingua
  993. phonemetable jbo eo
  994. include ph_lojban
  995. phonemetable nci base2
  996. include ph_nahuatl
  997. phonemetable fi base1
  998. include ph_finnish
  999. phonemetable et base1
  1000. include ph_estonian
  1001. phonemetable fr base1
  1002. include ph_french
  1003. phonemetable fr-ca fr
  1004. include ph_french_ca
  1005. phonemetable nl base1
  1006. include ph_dutch
  1007. phonemetable hi_base base1
  1008. include ph_hindi_base
  1009. phonemetable hi hi_base
  1010. include ph_hindi
  1011. phonemetable bn hi_base
  1012. include ph_bengali
  1013. phonemetable ne hi_base
  1014. include ph_nepali
  1015. phonemetable ur hi_base
  1016. include ph_urdu
  1017. phonemetable pa hi_base
  1018. include ph_punjabi
  1019. phonemetable ta hi_base
  1020. include ph_tamil
  1021. phonemetable kn hi_base
  1022. include ph_kannada
  1023. phonemetable ml hi_base
  1024. include ph_malayalam
  1025. phonemetable gu hi_base
  1026. include ph_gujarati
  1027. phonemetable mr hi_base
  1028. include ph_marathi
  1029. phonemetable hu base1
  1030. include ph_hungarian
  1031. phonemetable lt base1
  1032. include ph_lithuanian
  1033. phonemetable lv base1
  1034. include ph_latvian
  1035. phonemetable pl base1
  1036. include ph_polish
  1037. phonemetable sk pl
  1038. include ph_slovak
  1039. phonemetable cs sk
  1040. include ph_czech
  1041. phonemetable hr sk
  1042. include ph_croatian
  1043. phonemetable mk hr
  1044. include ph_macedonian
  1045. phonemetable sr hr
  1046. include ph_serbian
  1047. phonemetable ru base1
  1048. include ph_russian
  1049. phonemetable bg pl
  1050. include ph_bulgarian
  1051. phonemetable it base2
  1052. include ph_italian
  1053. phonemetable la base1
  1054. include ph_latin
  1055. phonemetable es base2
  1056. include ph_spanish
  1057. phonemetable es-la es
  1058. include ph_spanish_la
  1059. phonemetable ca es
  1060. include ph_catalan
  1061. phonemetable an es
  1062. include ph_aragon
  1063. phonemetable eu base2
  1064. include ph_basque
  1065. phonemetable pt base2
  1066. include ph_pt_brazil
  1067. phonemetable pt-pt pt
  1068. include ph_portugal
  1069. phonemetable ro base2
  1070. include ph_romanian
  1071. phonemetable el base2
  1072. include ph_greek
  1073. phonemetable grc base2
  1074. include ph_greek_ancient
  1075. phonemetable sv base1
  1076. include ph_swedish
  1077. phonemetable no base1
  1078. include ph_norwegian
  1079. phonemetable is base1
  1080. include ph_icelandic
  1081. phonemetable vi base1
  1082. include ph_vietnam
  1083. phonemetable vi-hue vi
  1084. include ph_vietnam_hue
  1085. phonemetable vi-sgn vi
  1086. include ph_vietnam_sgn
  1087. phonemetable zhy base1
  1088. include ph_zh_yue
  1089. phonemetable zh base1
  1090. include ph_zh
  1091. phonemetable sw base1
  1092. include ph_swahili
  1093. phonemetable tr base2
  1094. include ph_turkish
  1095. phonemetable ku base2
  1096. include ph_kurdish
  1097. phonemetable id base2
  1098. include ph_indonesian
  1099. phonemetable sq base1
  1100. include ph_albanian
  1101. phonemetable hy base1
  1102. include ph_armenian
  1103. phonemetable da base1
  1104. include ph_danish
  1105. phonemetable ka base1
  1106. include ph_georgian
  1107. phonemetable fa base1
  1108. include ph_farsi
  1109. phonemetable ar base1
  1110. include ph_arabic
  1111. phonemetable rw base2
  1112. include ph_kinyarwanda
  1113. phonemetable prs base1
  1114. include ph_dari
  1115. phonemetable sl pl
  1116. include ph_slovenian
  1117. phonemetable gd base1
  1118. include ph_s_gaelic
  1119. phonemetable nso base1
  1120. include ph_northern-sotho
  1121. phonemetable ht fr
  1122. include ph_haitian
  1123. phonemetable az tr
  1124. include ph_azerbaijani
  1125. phonemetable ak base1
  1126. include ph_akan
  1127. phonemetable am base1
  1128. include ph_amhari
  1129. phonemetable wo base1
  1130. include ph_wolof
  1131. phonemetable dv hi_base
  1132. include ph_divehi
  1133. phonemetable te hi_base
  1134. include ph_telugu
  1135. phonemetable si hi_base
  1136. include ph_sinhala
  1137. phonemetable as bn
  1138. include ph_assamese
  1139. phonemetable or bn
  1140. include ph_oriya
  1141. phonemetable mni bn
  1142. include ph_manipuri
  1143. phonemetable tn base1
  1144. include ph_setswana
  1145. phonemetable mt base1
  1146. include ph_maltese
  1147. phonemetable bo hi
  1148. include ph_tibetan
  1149. phonemetable kk base1
  1150. include ph_kazakh
  1151. phonemetable tt base1
  1152. include ph_tatar
  1153. phonemetable ko base1
  1154. include ph_korean
  1155. phonemetable kl base1
  1156. include ph_greenlandic
  1157. phonemetable om base1
  1158. include ph_oromo
  1159. phonemetable my base1
  1160. include ph_burmese
  1161. phonemetable gn base1
  1162. include ph_guarani
  1163. phonemetable ky base1
  1164. include ph_kyrgyz