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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286
  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. import_phoneme ipa/l
  303. endphoneme
  304. phoneme l/ // used for [l] when not before a vowel
  305. import_phoneme ipa/l
  306. endphoneme
  307. phoneme l/2 // 'dark' [l] after a vowel
  308. import_phoneme ipa/l_e
  309. endphoneme
  310. phoneme l/3 // Replacement for [l/]
  311. liquid
  312. lengthmod 7
  313. IF nextPh(isVowel) THEN
  314. ChangePhoneme(l)
  315. ENDIF
  316. PrevVowelEndings
  317. VowelEnding(l/l_@)
  318. VowelEnding(l/l_a)
  319. VowelEnding(l/l_e)
  320. VowelEnding(l/l_i)
  321. VowelEnding(l/l_o)
  322. VowelEnding(l/l_u, -20)
  323. EndSwitch
  324. // IF nextPh(isLiquid) THEN
  325. // FMT(l/_l)
  326. // ENDIF
  327. FMT(l/l_)
  328. endphoneme
  329. phoneme l^ // palatal l, e.g. Italian **g**li
  330. liquid
  331. ipa ʎ
  332. lengthmod 7
  333. Vowelout len=60 lenadd rate
  334. length 100
  335. NextVowelStarts
  336. VowelStart(l^/j2@)
  337. VowelStart(l^/j2a)
  338. VowelStart(l^/j2e)
  339. VowelStart(l^/j2i)
  340. VowelStart(l^/j2o)
  341. VowelStart(l^/j2u)
  342. EndSwitch
  343. IF prevPh(isPause) THEN
  344. FMT(l^/_l^)
  345. ENDIF
  346. FMT(l^/l^)
  347. endphoneme
  348. phoneme l.
  349. import_phoneme ipa/l`
  350. endphoneme
  351. phoneme L/
  352. import_phoneme base1/l/2
  353. endphoneme
  354. phoneme L // velar L
  355. liquid
  356. lengthmod 7
  357. IF nextPh(isNotVowel) THEN
  358. ChangePhoneme(L/) // use 'dark' [l] after a vowel
  359. ENDIF
  360. VowelEnding(ll/xll, -40)
  361. IF prevPh(isPause) THEN
  362. FMT(ll/_ll)
  363. ENDIF
  364. FMT(ll/ll)
  365. endphoneme
  366. phoneme w
  367. import_phoneme ipa/w
  368. endphoneme
  369. phoneme j // **y**es
  370. import_phoneme ipa/j
  371. endphoneme
  372. phoneme ; // linking j, used between (i) vowels and a following vowel
  373. // also to palatalize consonants
  374. liquid pzd
  375. lengthmod 0
  376. IF prevPh(#i) THEN
  377. ipa NULL // linking after i vowel, don't show in ipa
  378. ENDIF
  379. IF nextPh(isNotVowel) THEN
  380. ChangePhoneme(NULL) // this is to ignore this phoneme if not before a vowel
  381. ENDIF
  382. NextVowelStarts
  383. VowelStart(j2/j2@)
  384. VowelStart(j2/j2a)
  385. VowelStart(j2/j2e)
  386. VowelStart(j2/j2i)
  387. VowelStart(j2/j2o)
  388. VowelStart(j2/j2u)
  389. EndSwitch
  390. IF prevPh(#i) THEN
  391. VowelEnding(j2/xj2, -40)
  392. ENDIF
  393. IF prevPh(isPause) THEN
  394. FMT(j2/_j2)
  395. ENDIF
  396. endphoneme
  397. //*******************************************************************
  398. // NASAL CONSONANTS
  399. //*******************************************************************
  400. phoneme m
  401. import_phoneme ipa/m
  402. endphoneme
  403. phoneme n
  404. import_phoneme ipa/n
  405. endphoneme
  406. phoneme n.
  407. import_phoneme ipa/n`
  408. endphoneme
  409. phoneme n^ // Spanish **ñ**
  410. import_phoneme ipa/J
  411. endphoneme
  412. phoneme N // si**ng**
  413. import_phoneme ipa/N
  414. endphoneme
  415. phoneme ** // TEST flap
  416. liquid alv rhotic
  417. ipa ɾ
  418. lengthmod 3
  419. Vowelout f1=3 f2=1600 -300 300 f3=-300 80 rms=35 len=15
  420. Vowelin f1=2 f2=1600 -300 300 f3=-100 80 len=20
  421. IF prevPh(#i) OR prevPh(#e) THEN
  422. FMT(r3/@tap2)
  423. ENDIF
  424. FMT(r3/@tap)
  425. endphoneme
  426. phoneme * // flap
  427. vcd alv flp rhotic
  428. brkafter
  429. ipa ɾ
  430. lengthmod 3
  431. IF prevPhW(@-) THEN
  432. ipa r // @-* sequence for [r]
  433. ENDIF
  434. IF nextPh(#e) OR nextPh(#i) THEN
  435. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  436. FMT(d/tap1) addWav(r3/rx, 150)
  437. FMT(d/tap1) addWav(r3/rx, 150)
  438. ENDIF
  439. Vowelin f1=2 f2=1500 -300 300 f3=-200 80
  440. IF nextPh(#a) THEN
  441. FMT(d/tap3) addWav(r3/rx, 200)
  442. ENDIF
  443. IF nextPh(r) THEN
  444. FMT(d/dr)
  445. ENDIF
  446. Vowelout f1=3 f2=1500 -400 300 f3=-200 80 rms=35 len=50
  447. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  448. FMT(d/tap3) addWav(r3/rx, 200)
  449. endphoneme
  450. phoneme r. // retroflex
  451. liquid rfx
  452. lengthmod 3
  453. Vowelout f1=3 f2=1400 -400 300 f3=-400 80 rms=35 len=15 colr=2
  454. Vowelin f1=2 f2=1400 -400 300 f3=-400 80 len=20
  455. IF nextPh(isNotVowel) THEN
  456. FMT(r3/@tap_rfx_)
  457. ENDIF
  458. FMT(r3/@tap_rfx)
  459. endphoneme
  460. //*******************************************************************
  461. // VOICED STOPS
  462. //*******************************************************************
  463. phoneme b
  464. import_phoneme ipa/b
  465. voicingswitch p
  466. endphoneme
  467. phoneme d
  468. import_phoneme ipa/d
  469. voicingswitch t
  470. endphoneme
  471. phoneme d[
  472. import_phoneme ipa/d_d
  473. voicingswitch t[
  474. endphoneme
  475. phoneme dZ // **j**udge
  476. import_phoneme ipa/dZ\)
  477. voicingswitch tS
  478. endphoneme
  479. phoneme dZ;
  480. import_phoneme ipa/dz\\\)
  481. voicingswitch tS;
  482. endphoneme
  483. phoneme J
  484. import_phoneme ipa/J\\
  485. voicingswitch c
  486. endphoneme
  487. phoneme g
  488. import_phoneme ipa/g
  489. voicingswitch k
  490. endphoneme
  491. //*******************************************************************
  492. // VOICED fricatives
  493. //*******************************************************************
  494. phoneme B
  495. import_phoneme ipa/B
  496. voicingswitch f
  497. endphoneme
  498. phoneme v
  499. import_phoneme ipa/v
  500. voicingswitch f
  501. endphoneme
  502. phoneme v#
  503. import_phoneme ipa/P
  504. voicingswitch f
  505. endphoneme
  506. phoneme D // **th**is
  507. import_phoneme ipa/D
  508. voicingswitch T
  509. endphoneme
  510. phoneme z
  511. import_phoneme ipa/z
  512. voicingswitch s
  513. endphoneme
  514. phoneme Z // plea**s**ure
  515. import_phoneme ipa/Z
  516. voicingswitch S
  517. endphoneme
  518. phoneme z.
  519. import_phoneme ipa/z`
  520. voicingswitch s.
  521. endphoneme
  522. phoneme z;
  523. import_phoneme ipa/z\\
  524. voicingswitch s;
  525. endphoneme
  526. phoneme Z;
  527. import_phoneme ipa/z\\
  528. voicingswitch S;
  529. endphoneme
  530. phoneme J^ // palatal fricative (Kirshenbaum C<vcd>)
  531. import_phoneme ipa/j\\
  532. ipa ʝ
  533. endphoneme
  534. phoneme Q
  535. import_phoneme ipa/G
  536. voicingswitch x
  537. endphoneme
  538. phoneme Q"
  539. import_phoneme ipa/R
  540. endphoneme
  541. //*******************************************************************
  542. // UNVOICED STOPS
  543. //*******************************************************************
  544. phoneme p
  545. vls blb stp
  546. voicingswitch b
  547. lengthmod 2
  548. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  549. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  550. IF nextPh(isPause2) THEN
  551. WAV(ustop/p_)
  552. ELIF nextPh(r) THEN
  553. WAV(ustop/pr, 70)
  554. ELIF nextPh(R) OR nextPh(R2) THEN
  555. WAV(ustop/pr)
  556. ELIF nextPh(@-) THEN
  557. WAV(ustop/p_unasp)
  558. ELIF nextPh(l) THEN
  559. WAV(ustop/pl)
  560. ENDIF
  561. WAV(ustop/p)
  562. endphoneme
  563. phoneme t
  564. import_phoneme ipa/t
  565. voicingswitch d
  566. endphoneme
  567. phoneme t[ // dental variant of /t/
  568. import_phoneme ipa/t_d
  569. voicingswitch d[
  570. endphoneme
  571. phoneme tS // **ch**urch
  572. import_phoneme ipa/tS\)
  573. voicingswitch dZ
  574. endphoneme
  575. phoneme tS;
  576. import_phoneme ipa/ts\\\)
  577. voicingswitch dZ;
  578. endphoneme
  579. phoneme c
  580. import_phoneme ipa/c
  581. voicingswitch J
  582. endphoneme
  583. phoneme k
  584. vls vel stp
  585. voicingswitch g
  586. lengthmod 2
  587. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  588. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  589. IF KlattSynth THEN
  590. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  591. ENDIF
  592. IF nextPh(isPause2) THEN
  593. WAV(ustop/k_)
  594. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  595. WAV(ustop/kr)
  596. ELIF nextPh(#i) OR nextPh(;) THEN
  597. WAV(ustop/ki)
  598. ELIF nextPh(l) THEN
  599. WAV(ustop/kl)
  600. ELIF nextPh(@-) THEN
  601. WAV(ustop/k_unasp, 70)
  602. ENDIF
  603. WAV(ustop/k)
  604. endphoneme
  605. phoneme q
  606. import_phoneme ipa/q
  607. endphoneme
  608. //*******************************************************************
  609. // UNVOICED fricatives
  610. //*******************************************************************
  611. phoneme f
  612. vls lbd frc
  613. voicingswitch v
  614. lengthmod 3
  615. Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
  616. IF nextPh(isPause) THEN
  617. WAV(ufric/f_)
  618. ENDIF
  619. WAV(ufric/f)
  620. endphoneme
  621. phoneme T // **th**in
  622. vls dnt frc
  623. voicingswitch D
  624. lengthmod 3
  625. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  626. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  627. IF nextPh(isPause) THEN
  628. WAV(ufric/th_)
  629. ENDIF
  630. WAV(ufric/th)
  631. endphoneme
  632. phoneme s
  633. vls alv frc sib
  634. voicingswitch z
  635. lengthmod 3
  636. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  637. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  638. IF nextPh(isPause) THEN
  639. WAV(ufric/s_)
  640. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  641. WAV(ufric/s!)
  642. ENDIF
  643. WAV(ufric/s)
  644. endphoneme
  645. phoneme S // **sh**op
  646. vls pla frc sib
  647. voicingswitch Z
  648. lengthmod 3
  649. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  650. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  651. IF nextPh(isPause) THEN
  652. WAV(ufric/sh_)
  653. ENDIF
  654. WAV(ufric/sh)
  655. endphoneme
  656. phoneme s.
  657. vls pla frc sib
  658. ipa ʂ
  659. voicingswitch z.
  660. lengthmod 3
  661. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  662. Vowelout f1=0 f2=1800 -100 300 f3=-300 80
  663. IF nextPh(isPause) THEN
  664. WAV(ufric/sh_rfx, 60)
  665. ENDIF
  666. WAV(ufric/sh_rfx, 90)
  667. endphoneme
  668. phoneme s;
  669. vls pal frc sib pzd
  670. ipa ʂ
  671. voicingswitch z;
  672. lengthmod 3
  673. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  674. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate len=70
  675. IF nextPh(isPause) THEN
  676. WAV(ufric/s_pzd_)
  677. ENDIF
  678. WAV(ufric/s_pzd)
  679. endphoneme
  680. phoneme S;
  681. vls alp sib frc
  682. voicingswitch Z;
  683. ipa ɕ
  684. lengthmod 3
  685. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  686. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate
  687. IF nextPh(isPause) THEN
  688. WAV(ufric/sh_pzd_)
  689. ENDIF
  690. WAV(ufric/sh_pzd)
  691. endphoneme
  692. phoneme l# // Lateral fricative (eg. Welsh "ll")
  693. vls alv frc
  694. ipa ɬ
  695. lengthmod 3
  696. NextVowelStarts
  697. VowelStart(l/l@)
  698. VowelStart(l/la)
  699. VowelStart(l/le)
  700. VowelStart(l/li, -10)
  701. VowelStart(l/lo)
  702. VowelStart(l/lu)
  703. EndSwitch
  704. IF prevPh(isVowel) THEN
  705. VowelEnding(l/xl, -40)
  706. ENDIF
  707. WAV(ufric/l#, 60)
  708. endphoneme
  709. phoneme C // German i**ch**
  710. vls pal frc
  711. lengthmod 3
  712. Vowelin f1=0 f2=2700 400 600 f3=200 70
  713. Vowelout f1=0 f2=2700 400 600 f3=200 70 rms=20
  714. IF nextPh(isPause) THEN
  715. WAV(ufric/ch_)
  716. ENDIF
  717. WAV(ufric/ch)
  718. endphoneme
  719. phoneme x // German bu**ch**
  720. vls vel frc
  721. voicingswitch Q
  722. lengthmod 3
  723. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  724. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  725. IF nextPh(isPause) THEN
  726. WAV(ufric/x_, 60)
  727. ENDIF
  728. WAV(ufric/x_hr, 20)
  729. endphoneme
  730. phoneme X
  731. vls uvl frc
  732. voicingswitch Q"
  733. lengthmod 3
  734. IF nextPh(isPause) THEN
  735. WAV(ufric/xx, 70)
  736. ENDIF
  737. WAV(ufric/xx,80)
  738. endphoneme
  739. phoneme h
  740. vls glt apr
  741. lengthmod 3
  742. ipa h
  743. IF nextPh(#@) THEN
  744. WAV(h/h@)
  745. ELIF nextPh(#a) THEN
  746. WAV(h/ha)
  747. ELIF nextPh(#e) THEN
  748. WAV(h/he)
  749. ELIF nextPh(#i) THEN
  750. WAV(h/hi)
  751. ELIF nextPh(#o) THEN
  752. WAV(h/ho)
  753. ELIF nextPh(#u) THEN
  754. WAV(h/hu)
  755. ENDIF
  756. WAV(h/h_, 70) // no vowel following
  757. endphoneme
  758. //*******************************************************************
  759. // ADDITIONAL PHONEME TABLES
  760. //*******************************************************************
  761. phonemetable jp base1
  762. include ph_japanese
  763. phonemetable consonants base1
  764. include ph_consonants
  765. phonemetable base2 base1
  766. include ph_base2
  767. phonemetable en base1
  768. include ph_english
  769. phonemetable en-n en
  770. include ph_english_n
  771. phonemetable en-us en
  772. include ph_english_us
  773. phonemetable en-sc en
  774. include ph_english_sc
  775. phonemetable en-rp en
  776. include ph_english_rp
  777. phonemetable en-wm en
  778. include ph_english_wm
  779. phonemetable en-wi en
  780. include ph_english_wi
  781. phonemetable af base1
  782. include ph_afrikaans
  783. phonemetable cy base1
  784. include ph_welsh
  785. phonemetable ga base1
  786. include ph_irish
  787. phonemetable de base1
  788. include ph_german
  789. phonemetable eo base1
  790. include ph_esperanto
  791. phonemetable ia eo
  792. include ph_interlingua
  793. phonemetable jbo eo
  794. include ph_lojban
  795. phonemetable nci base2
  796. include ph_nahuatl
  797. phonemetable fi base1
  798. include ph_finnish
  799. phonemetable et base1
  800. include ph_estonian
  801. phonemetable fr base1
  802. include ph_french
  803. phonemetable fr-ca fr
  804. include ph_french_ca
  805. phonemetable nl base1
  806. include ph_dutch
  807. phonemetable hi_base base1
  808. include ph_hindi_base
  809. phonemetable hi hi_base
  810. include ph_hindi
  811. phonemetable bn hi_base
  812. include ph_bengali
  813. phonemetable ne hi_base
  814. include ph_nepali
  815. phonemetable ur hi_base
  816. include ph_urdu
  817. phonemetable pa hi_base
  818. include ph_punjabi
  819. phonemetable ta hi_base
  820. include ph_tamil
  821. phonemetable kn hi_base
  822. include ph_kannada
  823. phonemetable ml hi_base
  824. include ph_malayalam
  825. phonemetable gu hi_base
  826. include ph_gujarati
  827. phonemetable mr hi_base
  828. include ph_marathi
  829. phonemetable hu base1
  830. include ph_hungarian
  831. phonemetable lt base1
  832. include ph_lithuanian
  833. phonemetable lv base1
  834. include ph_latvian
  835. phonemetable pl base1
  836. include ph_polish
  837. phonemetable sk pl
  838. include ph_slovak
  839. phonemetable cs sk
  840. include ph_czech
  841. phonemetable hr sk
  842. include ph_croatian
  843. phonemetable mk hr
  844. include ph_macedonian
  845. phonemetable sr hr
  846. include ph_serbian
  847. phonemetable ru base1
  848. include ph_russian
  849. phonemetable bg pl
  850. include ph_bulgarian
  851. phonemetable it base2
  852. include ph_italian
  853. phonemetable la base1
  854. include ph_latin
  855. phonemetable es base2
  856. include ph_spanish
  857. phonemetable es-la es
  858. include ph_spanish_la
  859. phonemetable ca es
  860. include ph_catalan
  861. phonemetable an es
  862. include ph_aragon
  863. phonemetable eu base2
  864. include ph_basque
  865. phonemetable pt base2
  866. include ph_pt_brazil
  867. phonemetable pt-pt pt
  868. include ph_portugal
  869. phonemetable ro base2
  870. include ph_romanian
  871. phonemetable el base2
  872. include ph_greek
  873. phonemetable grc base2
  874. include ph_greek_ancient
  875. phonemetable sv base1
  876. include ph_swedish
  877. phonemetable no base1
  878. include ph_norwegian
  879. phonemetable is base1
  880. include ph_icelandic
  881. phonemetable vi base1
  882. include ph_vietnam
  883. phonemetable vi-hue vi
  884. include ph_vietnam_hue
  885. phonemetable vi-sgn vi
  886. include ph_vietnam_sgn
  887. phonemetable zhy base1
  888. include ph_zh_yue
  889. phonemetable zh base1
  890. include ph_zh
  891. phonemetable sw base1
  892. include ph_swahili
  893. phonemetable tr base2
  894. include ph_turkish
  895. phonemetable ku base2
  896. include ph_kurdish
  897. phonemetable id base2
  898. include ph_indonesian
  899. phonemetable sq base1
  900. include ph_albanian
  901. phonemetable hy base1
  902. include ph_armenian
  903. phonemetable da base1
  904. include ph_danish
  905. phonemetable ka base1
  906. include ph_georgian
  907. phonemetable fa base1
  908. include ph_farsi
  909. phonemetable ar base1
  910. include ph_arabic
  911. phonemetable rw base2
  912. include ph_kinyarwanda
  913. phonemetable prs base1
  914. include ph_dari
  915. phonemetable sl pl
  916. include ph_slovenian
  917. phonemetable gd base1
  918. include ph_s_gaelic
  919. phonemetable nso base1
  920. include ph_northern-sotho
  921. phonemetable ht fr
  922. include ph_haitian
  923. phonemetable az tr
  924. include ph_azerbaijani
  925. phonemetable ak base1
  926. include ph_akan
  927. phonemetable am base1
  928. include ph_amhari
  929. phonemetable wo base1
  930. include ph_wolof
  931. phonemetable dv hi_base
  932. include ph_divehi
  933. phonemetable te hi_base
  934. include ph_telugu
  935. phonemetable si hi_base
  936. include ph_sinhala
  937. phonemetable as bn
  938. include ph_assamese
  939. phonemetable or bn
  940. include ph_oriya
  941. phonemetable mni bn
  942. include ph_manipuri
  943. phonemetable tn base1
  944. include ph_setswana
  945. phonemetable mt base1
  946. include ph_maltese
  947. phonemetable bo hi
  948. include ph_tibetan
  949. phonemetable kk base1
  950. include ph_kazakh
  951. phonemetable tt base1
  952. include ph_tatar
  953. phonemetable ko base1
  954. include ph_korean
  955. phonemetable kl base1
  956. include ph_greenlandic
  957. phonemetable om base1
  958. include ph_oromo
  959. phonemetable my base1
  960. include ph_burmese
  961. phonemetable gn base1
  962. include ph_guarani
  963. phonemetable ky base1
  964. include ph_kyrgyz