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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433
  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. import_phoneme ipa/D
  583. voicingswitch T
  584. endphoneme
  585. phoneme z
  586. import_phoneme ipa/z
  587. voicingswitch s
  588. endphoneme
  589. phoneme Z // plea**s**ure
  590. import_phoneme ipa/Z
  591. voicingswitch S
  592. endphoneme
  593. phoneme z.
  594. import_phoneme ipa/z`
  595. voicingswitch s.
  596. endphoneme
  597. phoneme z;
  598. import_phoneme ipa/z\\
  599. voicingswitch s;
  600. endphoneme
  601. phoneme Z;
  602. import_phoneme ipa/z\\
  603. voicingswitch S;
  604. endphoneme
  605. phoneme J^ // palatal fricative (Kirshenbaum C<vcd>)
  606. import_phoneme ipa/j\\
  607. ipa ʝ
  608. endphoneme
  609. phoneme Q
  610. import_phoneme ipa/G
  611. voicingswitch x
  612. endphoneme
  613. phoneme Q"
  614. vcd uvl frc
  615. ipa ʁ
  616. lengthmod 6
  617. IF nextPh(isPause2) THEN
  618. FMT(voc/Q_ulv) addWav(ufric/xx, 60)
  619. ENDIF
  620. FMT(voc/Q_ulv) addWav(ufric/xx, 80)
  621. endphoneme
  622. //*******************************************************************
  623. // UNVOICED STOPS
  624. //*******************************************************************
  625. phoneme p
  626. vls blb stp
  627. voicingswitch b
  628. lengthmod 2
  629. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  630. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  631. IF nextPh(isPause2) THEN
  632. WAV(ustop/p_)
  633. ELIF nextPh(r) THEN
  634. WAV(ustop/pr, 70)
  635. ELIF nextPh(R) OR nextPh(R2) THEN
  636. WAV(ustop/pr)
  637. ELIF nextPh(@-) THEN
  638. WAV(ustop/p_unasp)
  639. ELIF nextPh(l) THEN
  640. WAV(ustop/pl)
  641. ENDIF
  642. WAV(ustop/p)
  643. endphoneme
  644. phoneme t
  645. import_phoneme ipa/t
  646. voicingswitch d
  647. endphoneme
  648. phoneme t[ // dental variant of /t/
  649. import_phoneme ipa/t_d
  650. voicingswitch d[
  651. endphoneme
  652. phoneme tS // **ch**urch
  653. vls pla afr sib
  654. voicingswitch dZ
  655. lengthmod 2
  656. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  657. IF nextPh(isPause2) THEN
  658. WAV(ustop/tsh_)
  659. ENDIF
  660. WAV(ustop/tsh)
  661. endphoneme
  662. phoneme tS;
  663. vls alp sib afr
  664. voicingswitch dZ;
  665. ipa tɕ
  666. lengthmod 2
  667. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  668. IF nextPh(isPause2) THEN
  669. WAV(ustop/ts_pzd)
  670. ENDIF
  671. WAV(ustop/ts_pzd)
  672. endphoneme
  673. phoneme c
  674. vls pal stp pzd
  675. voicingswitch J
  676. lengthmod 2
  677. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  678. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=50 colr=1
  679. IF nextPh(isPause2) THEN
  680. WAV(ustop/t_pzd, 30)
  681. ENDIF
  682. WAV(ustop/c, 150)
  683. endphoneme
  684. phoneme k
  685. vls vel stp
  686. voicingswitch g
  687. lengthmod 2
  688. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  689. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  690. IF KlattSynth THEN
  691. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  692. ENDIF
  693. IF nextPh(isPause2) THEN
  694. WAV(ustop/k_)
  695. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  696. WAV(ustop/kr)
  697. ELIF nextPh(#i) OR nextPh(;) THEN
  698. WAV(ustop/ki)
  699. ELIF nextPh(l) THEN
  700. WAV(ustop/kl)
  701. ELIF nextPh(@-) THEN
  702. WAV(ustop/k_unasp, 70)
  703. ENDIF
  704. WAV(ustop/k)
  705. endphoneme
  706. phoneme q
  707. vls uvl stp
  708. lengthmod 2
  709. Vowelin f1=1 f2=1700 0 200 f3=-300 80 gpaus f4 rms=30
  710. Vowelout f1=1 f2=1700 -100 200 f3=-300 80 f4 rms=35
  711. IF nextPh(isPause2) THEN
  712. WAV(ustop/q, 40)
  713. ELIF nextPh(#u) THEN
  714. WAV(ustop/q_u, 80)
  715. ENDIF
  716. WAV(ustop/q, 48)
  717. endphoneme
  718. //*******************************************************************
  719. // UNVOICED fricatives
  720. //*******************************************************************
  721. phoneme f
  722. vls lbd frc
  723. voicingswitch v
  724. lengthmod 3
  725. Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
  726. IF nextPh(isPause) THEN
  727. WAV(ufric/f_)
  728. ENDIF
  729. WAV(ufric/f)
  730. endphoneme
  731. phoneme T // **th**in
  732. vls dnt frc
  733. voicingswitch D
  734. lengthmod 3
  735. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  736. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  737. IF nextPh(isPause) THEN
  738. WAV(ufric/th_)
  739. ENDIF
  740. WAV(ufric/th)
  741. endphoneme
  742. phoneme s
  743. vls alv frc sib
  744. voicingswitch z
  745. lengthmod 3
  746. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  747. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  748. IF nextPh(isPause) THEN
  749. WAV(ufric/s_)
  750. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  751. WAV(ufric/s!)
  752. ENDIF
  753. WAV(ufric/s)
  754. endphoneme
  755. phoneme S // **sh**op
  756. vls pla frc sib
  757. voicingswitch Z
  758. lengthmod 3
  759. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  760. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  761. IF nextPh(isPause) THEN
  762. WAV(ufric/sh_)
  763. ENDIF
  764. WAV(ufric/sh)
  765. endphoneme
  766. phoneme s.
  767. vls pla frc sib
  768. ipa ʂ
  769. voicingswitch z.
  770. lengthmod 3
  771. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  772. Vowelout f1=0 f2=1800 -100 300 f3=-300 80
  773. IF nextPh(isPause) THEN
  774. WAV(ufric/sh_rfx, 60)
  775. ENDIF
  776. WAV(ufric/sh_rfx, 90)
  777. endphoneme
  778. phoneme s;
  779. vls pal frc sib pzd
  780. ipa ʂ
  781. voicingswitch z;
  782. lengthmod 3
  783. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  784. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate len=70
  785. IF nextPh(isPause) THEN
  786. WAV(ufric/s_pzd_)
  787. ENDIF
  788. WAV(ufric/s_pzd)
  789. endphoneme
  790. phoneme S;
  791. vls alp sib frc
  792. voicingswitch Z;
  793. ipa ɕ
  794. lengthmod 3
  795. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  796. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate
  797. IF nextPh(isPause) THEN
  798. WAV(ufric/sh_pzd_)
  799. ENDIF
  800. WAV(ufric/sh_pzd)
  801. endphoneme
  802. phoneme l# // Lateral fricative (eg. Welsh "ll")
  803. vls alv frc
  804. ipa ɬ
  805. lengthmod 3
  806. NextVowelStarts
  807. VowelStart(l/l@)
  808. VowelStart(l/la)
  809. VowelStart(l/le)
  810. VowelStart(l/li, -10)
  811. VowelStart(l/lo)
  812. VowelStart(l/lu)
  813. EndSwitch
  814. IF prevPh(isVowel) THEN
  815. VowelEnding(l/xl, -40)
  816. ENDIF
  817. WAV(ufric/l#, 60)
  818. endphoneme
  819. phoneme C // German i**ch**
  820. vls pal frc
  821. lengthmod 3
  822. Vowelin f1=0 f2=2700 400 600 f3=200 70
  823. Vowelout f1=0 f2=2700 400 600 f3=200 70 rms=20
  824. IF nextPh(isPause) THEN
  825. WAV(ufric/ch_)
  826. ENDIF
  827. WAV(ufric/ch)
  828. endphoneme
  829. phoneme x // German bu**ch**
  830. vls vel frc
  831. voicingswitch Q
  832. lengthmod 3
  833. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  834. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  835. IF nextPh(isPause) THEN
  836. WAV(ufric/x_, 60)
  837. ENDIF
  838. WAV(ufric/x_hr, 20)
  839. endphoneme
  840. phoneme X
  841. vls uvl frc
  842. voicingswitch Q"
  843. lengthmod 3
  844. IF nextPh(isPause) THEN
  845. WAV(ufric/xx, 70)
  846. ENDIF
  847. WAV(ufric/xx,80)
  848. endphoneme
  849. phoneme h
  850. vls glt apr
  851. lengthmod 3
  852. ipa h
  853. IF nextPh(#@) THEN
  854. WAV(h/h@)
  855. ELIF nextPh(#a) THEN
  856. WAV(h/ha)
  857. ELIF nextPh(#e) THEN
  858. WAV(h/he)
  859. ELIF nextPh(#i) THEN
  860. WAV(h/hi)
  861. ELIF nextPh(#o) THEN
  862. WAV(h/ho)
  863. ELIF nextPh(#u) THEN
  864. WAV(h/hu)
  865. ENDIF
  866. WAV(h/h_, 70) // no vowel following
  867. endphoneme
  868. //*******************************************************************
  869. // ADDITIONAL PHONEME TABLES
  870. //*******************************************************************
  871. phonemetable jp base1
  872. include ph_japanese
  873. phonemetable consonants base1
  874. include ph_consonants
  875. phonemetable base2 base1
  876. include ph_base2
  877. phonemetable en base1
  878. include ph_english
  879. phonemetable en-n en
  880. include ph_english_n
  881. phonemetable en-us en
  882. include ph_english_us
  883. phonemetable en-sc en
  884. include ph_english_sc
  885. phonemetable en-rp en
  886. include ph_english_rp
  887. phonemetable en-wm en
  888. include ph_english_wm
  889. phonemetable en-wi en
  890. include ph_english_wi
  891. phonemetable af base1
  892. include ph_afrikaans
  893. phonemetable cy base1
  894. include ph_welsh
  895. phonemetable ga base1
  896. include ph_irish
  897. phonemetable de base1
  898. include ph_german
  899. phonemetable eo base1
  900. include ph_esperanto
  901. phonemetable ia eo
  902. include ph_interlingua
  903. phonemetable jbo eo
  904. include ph_lojban
  905. phonemetable nci base2
  906. include ph_nahuatl
  907. phonemetable fi base1
  908. include ph_finnish
  909. phonemetable et base1
  910. include ph_estonian
  911. phonemetable fr base1
  912. include ph_french
  913. phonemetable fr-ca fr
  914. include ph_french_ca
  915. phonemetable nl base1
  916. include ph_dutch
  917. phonemetable hi_base base1
  918. include ph_hindi_base
  919. phonemetable hi hi_base
  920. include ph_hindi
  921. phonemetable bn hi_base
  922. include ph_bengali
  923. phonemetable ne hi_base
  924. include ph_nepali
  925. phonemetable ur hi_base
  926. include ph_urdu
  927. phonemetable pa hi_base
  928. include ph_punjabi
  929. phonemetable ta hi_base
  930. include ph_tamil
  931. phonemetable kn hi_base
  932. include ph_kannada
  933. phonemetable ml hi_base
  934. include ph_malayalam
  935. phonemetable gu hi_base
  936. include ph_gujarati
  937. phonemetable mr hi_base
  938. include ph_marathi
  939. phonemetable hu base1
  940. include ph_hungarian
  941. phonemetable lt base1
  942. include ph_lithuanian
  943. phonemetable lv base1
  944. include ph_latvian
  945. phonemetable pl base1
  946. include ph_polish
  947. phonemetable sk pl
  948. include ph_slovak
  949. phonemetable cs sk
  950. include ph_czech
  951. phonemetable hr sk
  952. include ph_croatian
  953. phonemetable mk hr
  954. include ph_macedonian
  955. phonemetable sr hr
  956. include ph_serbian
  957. phonemetable ru base1
  958. include ph_russian
  959. phonemetable bg pl
  960. include ph_bulgarian
  961. phonemetable it base2
  962. include ph_italian
  963. phonemetable la base1
  964. include ph_latin
  965. phonemetable es base2
  966. include ph_spanish
  967. phonemetable es-la es
  968. include ph_spanish_la
  969. phonemetable ca es
  970. include ph_catalan
  971. phonemetable an es
  972. include ph_aragon
  973. phonemetable eu base2
  974. include ph_basque
  975. phonemetable pt base2
  976. include ph_pt_brazil
  977. phonemetable pt-pt pt
  978. include ph_portugal
  979. phonemetable ro base2
  980. include ph_romanian
  981. phonemetable el base2
  982. include ph_greek
  983. phonemetable grc base2
  984. include ph_greek_ancient
  985. phonemetable sv base1
  986. include ph_swedish
  987. phonemetable no base1
  988. include ph_norwegian
  989. phonemetable is base1
  990. include ph_icelandic
  991. phonemetable vi base1
  992. include ph_vietnam
  993. phonemetable vi-hue vi
  994. include ph_vietnam_hue
  995. phonemetable vi-sgn vi
  996. include ph_vietnam_sgn
  997. phonemetable zhy base1
  998. include ph_zh_yue
  999. phonemetable zh base1
  1000. include ph_zh
  1001. phonemetable sw base1
  1002. include ph_swahili
  1003. phonemetable tr base2
  1004. include ph_turkish
  1005. phonemetable ku base2
  1006. include ph_kurdish
  1007. phonemetable id base2
  1008. include ph_indonesian
  1009. phonemetable sq base1
  1010. include ph_albanian
  1011. phonemetable hy base1
  1012. include ph_armenian
  1013. phonemetable da base1
  1014. include ph_danish
  1015. phonemetable ka base1
  1016. include ph_georgian
  1017. phonemetable fa base1
  1018. include ph_farsi
  1019. phonemetable ar base1
  1020. include ph_arabic
  1021. phonemetable rw base2
  1022. include ph_kinyarwanda
  1023. phonemetable prs base1
  1024. include ph_dari
  1025. phonemetable sl pl
  1026. include ph_slovenian
  1027. phonemetable gd base1
  1028. include ph_s_gaelic
  1029. phonemetable nso base1
  1030. include ph_northern-sotho
  1031. phonemetable ht fr
  1032. include ph_haitian
  1033. phonemetable az tr
  1034. include ph_azerbaijani
  1035. phonemetable ak base1
  1036. include ph_akan
  1037. phonemetable am base1
  1038. include ph_amhari
  1039. phonemetable wo base1
  1040. include ph_wolof
  1041. phonemetable dv hi_base
  1042. include ph_divehi
  1043. phonemetable te hi_base
  1044. include ph_telugu
  1045. phonemetable si hi_base
  1046. include ph_sinhala
  1047. phonemetable as bn
  1048. include ph_assamese
  1049. phonemetable or bn
  1050. include ph_oriya
  1051. phonemetable mni bn
  1052. include ph_manipuri
  1053. phonemetable tn base1
  1054. include ph_setswana
  1055. phonemetable mt base1
  1056. include ph_maltese
  1057. phonemetable bo hi
  1058. include ph_tibetan
  1059. phonemetable kk base1
  1060. include ph_kazakh
  1061. phonemetable tt base1
  1062. include ph_tatar
  1063. phonemetable ko base1
  1064. include ph_korean
  1065. phonemetable kl base1
  1066. include ph_greenlandic
  1067. phonemetable om base1
  1068. include ph_oromo
  1069. phonemetable my base1
  1070. include ph_burmese
  1071. phonemetable gn base1
  1072. include ph_guarani
  1073. phonemetable ky base1
  1074. include ph_kyrgyz