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

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