eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

phonemes 33KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955
  1. // This is the master phoneme file.
  2. // The base phoneme table contains the utility phonemes, the consonants,
  3. // and a schwa. The vowels are defined in the language specific phoneme
  4. // tables, which can also redefine consonants if they wish.
  5. //*******************************************************************
  6. // UTILITY PHONEMES
  7. //*******************************************************************
  8. phoneme % // Unstressed
  9. stress
  10. stress_type 1
  11. endphoneme
  12. phoneme %% // Diminished stress
  13. stress
  14. stress_type 0
  15. endphoneme
  16. phoneme \, // [,] Secondary stress
  17. stress
  18. stress_type 2
  19. endphoneme
  20. phoneme \,\, // [,,] Secondary stress
  21. stress
  22. stress_type 3
  23. endphoneme
  24. phoneme ' // Primary stress
  25. stress
  26. stress_type 4
  27. endphoneme
  28. phoneme '' // Primary stress (priority)
  29. stress
  30. stress_type 5
  31. endphoneme
  32. phoneme '! // Primary stress (emphasized)
  33. stress
  34. stress_type 6
  35. endphoneme
  36. phoneme = // Place stress on previous vowel
  37. stress
  38. stress_type 2
  39. endphoneme
  40. phoneme || // End Word
  41. pause
  42. lengthmod 9 // no effect
  43. endphoneme
  44. phoneme _ // Short pause
  45. pause
  46. starttype _ endtype _
  47. lengthmod 1
  48. length 25
  49. endphoneme
  50. phoneme _! // Short pause, don't replace by linking
  51. pause
  52. starttype _ endtype _
  53. lengthmod 1
  54. nolink
  55. length 35
  56. endphoneme
  57. phoneme _| // Very short pause
  58. pause
  59. starttype _ endtype _
  60. lengthmod 5
  61. length 1
  62. endphoneme
  63. phoneme _: // Standard pause
  64. pause
  65. starttype _ endtype _
  66. lengthmod 1
  67. length 75
  68. endphoneme
  69. phoneme _:: // Long pause
  70. pause
  71. starttype _ endtype _
  72. lengthmod 1
  73. length 150
  74. endphoneme
  75. phoneme _;_ // clause pause
  76. pause
  77. starttype _ endtype _
  78. lengthmod 1
  79. length 200
  80. endphoneme
  81. phoneme _^_ // Change dictionary (followed by language-code in ascii
  82. pause
  83. starttype _ endtype _
  84. lengthmod 1
  85. length 10
  86. endphoneme
  87. phoneme _X1 // a language specific action
  88. pause
  89. starttype _ endtype _
  90. lengthmod 1
  91. length 10
  92. endphoneme
  93. phoneme ? // glottal stop
  94. vls glt stop
  95. lengthmod 2 // ??
  96. nolink
  97. Vowelin glstop
  98. Vowelout glstop
  99. WAV(ustop/null)
  100. endphoneme
  101. phoneme : // lengthen previous vowel by "length"
  102. virtual
  103. length 70
  104. endphoneme
  105. phoneme - // Indicates the previous phoneme is a syllabic consonant
  106. virtual
  107. endphoneme
  108. // Some default vowel definitions
  109. phoneme @ // Schwa
  110. vowel starttype #@ endtype #@
  111. unstressed
  112. length 140
  113. FMT(vowel/@)
  114. endphoneme
  115. phoneme @- // very short schwa
  116. vowel starttype #@ endtype #@
  117. unstressed nonsyllabic
  118. ipa ə
  119. IF nextPhW(*) OR nextPhW(r) THEN
  120. ipa NULL // @-* is used to make 'r'
  121. ENDIF
  122. length 50
  123. FMT(vowel/@-)
  124. endphoneme
  125. phoneme a
  126. vowel starttype #a endtype #a
  127. length 180
  128. FMT(vowel/a)
  129. endphoneme
  130. phoneme e
  131. vowel starttype #e endtype #e
  132. length 170
  133. FMT(vowel/e)
  134. endphoneme
  135. phoneme i
  136. vowel starttype #i endtype #i
  137. length 170
  138. IfNextVowelAppend(;)
  139. FMT(vowel/i)
  140. endphoneme
  141. phoneme o
  142. vowel starttype #o endtype #o
  143. length 170
  144. FMT(vowel/oo)
  145. endphoneme
  146. phoneme u
  147. vowel starttype #u endtype #u
  148. length 170
  149. FMT(vowel/u)
  150. endphoneme
  151. // Syllablic consonants
  152. //=====================
  153. phoneme m-
  154. vowel starttype #@ endtype #@
  155. ipa mU+0329
  156. length 170
  157. IF thisPh(isWordStart) THEN
  158. length 190
  159. ENDIF
  160. IF KlattSynth THEN
  161. FMT(klatt/m-syl)
  162. ENDIF
  163. FMT(m/m-syl)
  164. endphoneme
  165. phoneme n-
  166. vowel starttype #@ endtype #@
  167. ipa nU+0329
  168. length 170
  169. IF thisPh(isWordStart) THEN
  170. length 190
  171. ENDIF
  172. IF KlattSynth THEN
  173. FMT(klatt/n-syl)
  174. ENDIF
  175. FMT(n/n-syl)
  176. endphoneme
  177. phoneme N-
  178. vowel starttype #e endtype #e
  179. ipa ŋU+0329
  180. length 190
  181. FMT(nn/nn-syl)
  182. endphoneme
  183. //*******************************************************************
  184. // Other sounds
  185. //*******************************************************************
  186. phoneme #X1 // click, use for indicating capital letters
  187. vls alv frc sibilant
  188. lengthmod 3
  189. WAV(ustop/percus10, 60)
  190. endphoneme
  191. //*******************************************************************
  192. // VIRTUAL - referred to in vowels' vowel starttype and endtype
  193. // These each apply to a class of vowels
  194. //*******************************************************************
  195. phoneme #@ virtual
  196. endphoneme
  197. phoneme #a virtual
  198. endphoneme
  199. phoneme #e virtual
  200. endphoneme
  201. phoneme #i virtual
  202. endphoneme
  203. phoneme #o virtual
  204. endphoneme
  205. phoneme #u virtual
  206. endphoneme
  207. //*******************************************************************
  208. // SONORANTS
  209. //*******************************************************************
  210. phoneme r- // syllabic r
  211. vowel starttype #@ endtype #@
  212. ipa rU+0329
  213. unstressed
  214. length 220
  215. FMT(vowelr/r-voc)
  216. endphoneme
  217. phoneme l- // syllabic l
  218. vowel starttype #@ endtype #@
  219. ipa lU+0329
  220. unstressed
  221. length 200
  222. FMT(vwl_hi/l-voc)
  223. endphoneme
  224. phoneme r
  225. liquid rhotic
  226. ipa ɹ
  227. lengthmod 7
  228. IF nextPh(isNotVowel) THEN
  229. ChangePhoneme(r/)
  230. ENDIF
  231. NextVowelStarts
  232. VowelStart(r/r@, -15)
  233. VowelStart(r/ra, -15)
  234. VowelStart(r/re, -15)
  235. VowelStart(r/ri, -15)
  236. VowelStart(r/ro, -15)
  237. VowelStart(r/ru, -15)
  238. EndSwitch
  239. IF prevPh(isVowel) THEN
  240. VowelEnding(r/xr, -50)
  241. ENDIF
  242. IF prevPh(isPause) THEN
  243. FMT(r/_r)
  244. ELIF prevPh(t) OR prevPh(p) OR prevPh(k) THEN
  245. FMT(r/tr)
  246. ENDIF
  247. FMT(r/r)
  248. endphoneme
  249. phoneme r/ // used for [r] when not preceding a vowel
  250. liquid rhotic
  251. lengthmod 2
  252. IF nextPh(n) THEN
  253. FMT(r3/r_n) addWav(r3/rx)
  254. ENDIF
  255. IF prevPh(t) OR prevPh(p) OR prevPh(k) THEN
  256. FMT(r/trr)
  257. ENDIF
  258. IF prevPh(isNotVowel) THEN
  259. FMT(r/rr)
  260. ENDIF
  261. FMT(r3/r_) addWav(r3/rx)
  262. endphoneme
  263. phoneme R
  264. liquid
  265. trill
  266. lengthmod 6
  267. ipa r
  268. IF nextPhW(R2) THEN
  269. ipa NULL
  270. ENDIF
  271. Vowelin f1=0 f2=1600 -300 300 f3=-200 80
  272. Vowelout f1=2 f2=1600 -300 300 f3=-200 80 brk
  273. FMT(r3/r_trill2) addWav(r3/r_trill2.wav, 65)
  274. endphoneme
  275. phoneme R2 // this is [R] from Slovak/Czech
  276. liquid
  277. trill
  278. lengthmod 6
  279. ipa r
  280. Vowelin f1=0 f2=1700 -300 300 f3=-300 80
  281. Vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
  282. FMT(r3/r_trill) addWav(r3/r_trill.wav, 50)
  283. endphoneme
  284. phoneme R3 // Afrikaans
  285. liquid
  286. trill
  287. lengthmod 6
  288. length 60
  289. ipa r
  290. Vowelin f1=2 f2=2700 -300 -200 f3=-1300 80
  291. Vowelout f1=2 f2=1700 -300 -200 f3=-1300 80
  292. // vowel modifier is the same as for [r]
  293. NextVowelStarts
  294. VowelStart(r/r@, -15)
  295. VowelStart(r/ra, -15)
  296. VowelStart(r/re, -15)
  297. VowelStart(r/ri, -15)
  298. VowelStart(r/ro, -15)
  299. VowelStart(r/ru, -15)
  300. EndSwitch
  301. IF prevPh(isVowel) THEN
  302. VowelEnding(r/xr, -50)
  303. ENDIF
  304. FMT(r3/r_trill) addWav(r3/r_trill3.wav)
  305. endphoneme
  306. phoneme r" // uvular trill
  307. vcd uvl frc
  308. ipa ʀ
  309. lengthmod 6
  310. IF nextPh(isNotVowel) THEN
  311. FMT(r3/r_uvl) addWav(r3/r_uvl.wav, 50)
  312. ENDIF
  313. FMT(r3/r_uvl) addWav(r3/r_uvl.wav, 75)
  314. endphoneme
  315. procedure vowelstart_l
  316. NextVowelStarts
  317. VowelStart(l/l@)
  318. VowelStart(l/la)
  319. VowelStart(l/le)
  320. VowelStart(l/li, -10)
  321. VowelStart(l/lo)
  322. VowelStart(l/lu)
  323. EndSwitch
  324. endprocedure
  325. phoneme l
  326. liquid
  327. lengthmod 7
  328. IF nextPh(isNotVowel) THEN
  329. ChangePhoneme(l/)
  330. ENDIF
  331. IF nextPh(isNotVowel) THEN
  332. // in case the next phoneme is no longer a vowel, in pass=2
  333. PrevVowelEndings
  334. VowelEnding(l/L1_@L, -60)
  335. VowelEnding(l/L1_aL, -40)
  336. VowelEnding(l/L1_eL, -30)
  337. VowelEnding(l/L1_iL, -30)
  338. VowelEnding(l/L1_oL, -40)
  339. VowelEnding(l/L1_uL, -40)
  340. EndSwitch
  341. FMT(l/l_)
  342. RETURN
  343. ENDIF
  344. CALL vowelstart_l
  345. IF prevPh(#@) THEN
  346. VowelEnding(l/xl, -50)
  347. ELIF prevPh(isVowel) THEN
  348. VowelEnding(l/xl, -40)
  349. ENDIF
  350. IF prevPh(isPause) THEN
  351. FMT(l/_l)
  352. ENDIF
  353. IF prevPh(t) THEN
  354. FMT(l/tl)
  355. ENDIF
  356. IF prevPh(l/) THEN
  357. FMT(l/l_long) // double l, make it longer
  358. ENDIF
  359. FMT(l/l)
  360. endphoneme
  361. phoneme l/ // used for [l] when not before a vowel
  362. liquid
  363. lengthmod 7
  364. IF nextPh(isVowel) THEN
  365. ChangePhoneme(l)
  366. ENDIF
  367. PrevVowelEndings
  368. VowelEnding(l/L1_@L, -60)
  369. VowelEnding(l/L1_aL, -40)
  370. VowelEnding(l/L1_eL, -30)
  371. VowelEnding(l/L1_iL, -30)
  372. VowelEnding(l/L1_oL, -40)
  373. VowelEnding(l/L1_uL, -40)
  374. EndSwitch
  375. // we need to replace these with new FMT sequeces for jl and wl
  376. IF prevPhW(j) THEN
  377. FMT(l/L1_eL)
  378. ENDIF
  379. IF prevPhW(w) THEN
  380. FMT(l/L1_eL)
  381. ENDIF
  382. FMT(l/l_)
  383. endphoneme
  384. phoneme l/2 // 'dark' [l] after a vowel
  385. liquid
  386. lengthmod 7
  387. IF nextPh(isVowel) THEN
  388. ChangePhoneme(l)
  389. ENDIF
  390. CALL vowelstart_l
  391. IF prevPhW(j) THEN
  392. FMT(l/L2_eL)
  393. ENDIF
  394. IF prevPhW(w) THEN
  395. FMT(l/L2_uL)
  396. ENDIF
  397. PrevVowelEndings
  398. VowelEnding(l/L2_@L, -60)
  399. VowelEnding(l/L2_aL, -50)
  400. VowelEnding(l/L2_eL, -40)
  401. VowelEnding(l/L2_iL, -30)
  402. VowelEnding(l/L2_oL, -50)
  403. VowelEnding(l/L2_uL, -40)
  404. EndSwitch
  405. endphoneme
  406. phoneme l/3 // Replacement for [l/]
  407. liquid
  408. lengthmod 7
  409. IF nextPh(isVowel) THEN
  410. ChangePhoneme(l)
  411. ENDIF
  412. PrevVowelEndings
  413. VowelEnding(l/l_@)
  414. VowelEnding(l/l_a)
  415. VowelEnding(l/l_e)
  416. VowelEnding(l/l_i)
  417. VowelEnding(l/l_o)
  418. VowelEnding(l/l_u, -20)
  419. EndSwitch
  420. // IF nextPh(isLiquid) THEN
  421. // FMT(l/_l)
  422. // ENDIF
  423. FMT(l/l_)
  424. endphoneme
  425. phoneme l^ // palatal l
  426. liquid
  427. ipa ʎ
  428. lengthmod 7
  429. Vowelout len=60 lenadd rate
  430. length 100
  431. NextVowelStarts
  432. VowelStart(l^/j2@)
  433. VowelStart(l^/j2a)
  434. VowelStart(l^/j2e)
  435. VowelStart(l^/j2i)
  436. VowelStart(l^/j2o)
  437. VowelStart(l^/j2u)
  438. EndSwitch
  439. IF prevPh(isPause) THEN
  440. FMT(l^/_l^)
  441. ENDIF
  442. FMT(l^/l^)
  443. endphoneme
  444. phoneme l.
  445. liquid rfx
  446. ipa ɭ
  447. lengthmod 7
  448. FMT(l^/l_rfx)
  449. endphoneme
  450. phoneme L/
  451. import_phoneme base/l/2
  452. endphoneme
  453. phoneme L // velar L
  454. liquid
  455. lengthmod 7
  456. IF nextPh(isNotVowel) THEN
  457. ChangePhoneme(L/) // use 'dark' [l] after a vowel
  458. ENDIF
  459. VowelEnding(ll/xll, -40)
  460. IF prevPh(isPause) THEN
  461. FMT(ll/_ll)
  462. ENDIF
  463. FMT(ll/ll)
  464. endphoneme
  465. phoneme w
  466. liquid
  467. lengthmod 7
  468. IF nextPh(isVowel) THEN
  469. NextVowelStarts
  470. VowelStart(w/w@)
  471. VowelStart(w/wa)
  472. VowelStart(w/we)
  473. VowelStart(w/wi)
  474. VowelStart(w/wo)
  475. VowelStart(w/wu)
  476. EndSwitch
  477. VowelEnding(w/xw, -30)
  478. IF prevPhW(isNasal) THEN
  479. FMT(w/w)
  480. ELSE
  481. FMT(w/_w)
  482. ENDIF
  483. ELSE
  484. // no vowel follows
  485. Vowelout len=50
  486. IF prevPh(#i) THEN
  487. FMT(w/iw_)
  488. ENDIF
  489. FMT(w/w_)
  490. ENDIF
  491. endphoneme
  492. phoneme j
  493. liquid palatal starttype #i
  494. lengthmod 7
  495. IF nextPhW(isVowel) THEN
  496. NextVowelStarts
  497. VowelStart(j/j@)
  498. VowelStart(j/ja)
  499. VowelStart(j/je)
  500. VowelStart(j/ji)
  501. VowelStart(j/jo)
  502. VowelStart(j/ju)
  503. EndSwitch
  504. VowelEnding(j/xj, -30)
  505. IF prevPh(isPause) THEN
  506. FMT(j/_j)
  507. ENDIF
  508. ELSE
  509. // no vowel follows
  510. Vowelout len=70
  511. FMT(j/j_)
  512. ENDIF
  513. endphoneme
  514. phoneme ; // linking j, used between (i) vowels and a following vowel
  515. // also to palatalize consonants
  516. liquid palatal
  517. lengthmod 0
  518. IF prevPh(#i) THEN
  519. ipa NULL // linking after i vowel, don't show in ipa
  520. ENDIF
  521. IF nextPh(isNotVowel) THEN
  522. ChangePhoneme(NULL) // this is to ignore this phoneme if not before a vowel
  523. ENDIF
  524. NextVowelStarts
  525. VowelStart(j2/j2@)
  526. VowelStart(j2/j2a)
  527. VowelStart(j2/j2e)
  528. VowelStart(j2/j2i)
  529. VowelStart(j2/j2o)
  530. VowelStart(j2/j2u)
  531. EndSwitch
  532. IF prevPh(#i) THEN
  533. VowelEnding(j2/xj2, -40)
  534. ENDIF
  535. IF prevPh(isPause) THEN
  536. FMT(j2/_j2)
  537. ENDIF
  538. endphoneme
  539. //*******************************************************************
  540. // NASAL CONSONANTS
  541. //*******************************************************************
  542. phoneme m
  543. vcd blb nasal
  544. Vowelout f1=2 f2=1000 -500 -350 f3=-200 80 brk
  545. lengthmod 4
  546. IF KlattSynth THEN
  547. Vowelin f1=0 f2=1000 -50 -200 f3=-200 80
  548. IF nextPh(isPause2) THEN
  549. FMT(klatt/m_)
  550. ENDIF
  551. FMT(klatt/m)
  552. ENDIF
  553. NextVowelStarts
  554. VowelStart(m/m@)
  555. VowelStart(m/ma)
  556. VowelStart(m/me)
  557. VowelStart(m/mi)
  558. VowelStart(m/mo)
  559. VowelStart(m/mu)
  560. EndSwitch
  561. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  562. FMT(m/mj)
  563. ELIF prevPh(isPause) THEN
  564. FMT(m/_m)
  565. ELIF nextPh(isNotVowel) THEN
  566. FMT(m/m_)
  567. ENDIF
  568. endphoneme
  569. phoneme n
  570. vcd alv nasal
  571. Vowelout f1=2 f2=1500 -300 250 f3=-100 80 rms=20 brk
  572. lengthmod 4
  573. IF KlattSynth THEN
  574. Vowelin f1=0 f2=1500 -200 200 f3=0 80
  575. FMT(klatt/n)
  576. ENDIF
  577. NextVowelStarts
  578. VowelStart(n/n@)
  579. VowelStart(n/na)
  580. VowelStart(n/ne)
  581. VowelStart(n/ni)
  582. VowelStart(n/no)
  583. VowelStart(n/nu)
  584. EndSwitch
  585. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  586. FMT(n/nj)
  587. ELIF prevPh(isPause) OR prevPh(n) THEN
  588. FMT(n/_n)
  589. ELIF nextPh(isNotVowel) THEN
  590. FMT(n/n_)
  591. ENDIF
  592. endphoneme
  593. phoneme n.
  594. vcd rfx nasal
  595. ipa ɳ
  596. starttype n endtype n
  597. Vowelin f1=2 f2=1700 -300 300 f3=-500 80 rms=20 colr=2
  598. Vowelout f1=2 f2=1700 -300 300 f3=-500 80 rms=20 brk colr=2
  599. lengthmod 4
  600. IF KlattSynth THEN
  601. FMT(klatt/nr)
  602. ENDIF
  603. NextVowelStarts
  604. VowelStart(n/nr@)
  605. VowelStart(n/nra)
  606. VowelStart(n/nre)
  607. VowelStart(n/nri)
  608. VowelStart(n/nro)
  609. VowelStart(n/nru)
  610. EndSwitch
  611. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  612. FMT(n/nj)
  613. ELIF prevPh(isPause) OR prevPh(n.) THEN
  614. FMT(n/_nr)
  615. ELIF nextPh(isNotVowel) THEN
  616. FMT(n/nr_)
  617. ENDIF
  618. endphoneme
  619. phoneme n^
  620. vcd pal nasal palatal
  621. ipa ɲ
  622. Vowelout f1=3 f2=2500 300 500 f3=100 80 len=45 brk rate
  623. lengthmod 4
  624. IF KlattSynth THEN
  625. VowelStart(klatt/n^@)
  626. FMT(klatt/n^)
  627. ENDIF
  628. NextVowelStarts
  629. VowelStart(n^/n^@)
  630. VowelStart(n^/n^a)
  631. VowelStart(n^/n^e)
  632. VowelStart(n^/n^i)
  633. VowelStart(n^/n^o)
  634. VowelStart(n^/n^u)
  635. EndSwitch
  636. IF prevPh(isPause) THEN
  637. FMT(n^/_n^)
  638. ELIF nextPh(isNotVowel) THEN
  639. IF nextPhW(n^) THEN
  640. Length 75
  641. ELIF prevPhW(n^) THEN
  642. Length 100
  643. ENDIF
  644. FMT(n^/n^_)
  645. ENDIF
  646. endphoneme
  647. phoneme N
  648. vcd vel nasal
  649. Vowelout f1=3 f2=2300 300 400 f3=-200 80 len=40 rms=20 brk
  650. lengthmod 8 // longer than 'n'
  651. IF KlattSynth THEN
  652. Vowelin f1=0 f2=2100 50 300 f3=0 80
  653. FMT(klatt/nn)
  654. ENDIF
  655. NextVowelStarts
  656. VowelStart(nn/nn@)
  657. VowelStart(nn/nna)
  658. VowelStart(nn/nne)
  659. VowelStart(nn/nni)
  660. VowelStart(nn/nno)
  661. VowelStart(nn/nnu)
  662. EndSwitch
  663. IF prevPh(#i) THEN
  664. VowelEnding(nn/inn, -40)
  665. ENDIF
  666. IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
  667. FMT(nn/nnj)
  668. ELIF prevPh(isPause) THEN
  669. FMT(nn/_nn)
  670. ELIF nextPh(isNotVowel) THEN
  671. FMT(nn/nn_)
  672. ENDIF
  673. endphoneme
  674. phoneme ** // TEST flap
  675. liquid alv rhotic
  676. ipa ɾ
  677. lengthmod 3
  678. Vowelout f1=3 f2=1600 -300 300 f3=-300 80 rms=35 len=15
  679. Vowelin f1=2 f2=1600 -300 300 f3=-100 80 len=20
  680. IF prevPh(#i) OR prevPh(#e) THEN
  681. FMT(r3/@tap2)
  682. ENDIF
  683. FMT(r3/@tap)
  684. endphoneme
  685. phoneme * // flap
  686. vcd alv flp rhotic
  687. brkafter
  688. ipa ɾ
  689. lengthmod 3
  690. IF prevPhW(@-) THEN
  691. ipa r // @-* sequence for [r]
  692. ENDIF
  693. IF nextPh(#e) OR nextPh(#i) THEN
  694. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  695. FMT(d/tap1) addWav(r3/rx, 150)
  696. FMT(d/tap1) addWav(r3/rx, 150)
  697. ENDIF
  698. Vowelin f1=2 f2=1500 -300 300 f3=-200 80
  699. IF nextPh(#a) THEN
  700. FMT(d/tap3) addWav(r3/rx, 200)
  701. ENDIF
  702. IF nextPh(r) THEN
  703. FMT(d/dr)
  704. ENDIF
  705. Vowelout f1=3 f2=1500 -400 300 f3=-200 80 rms=35 len=50
  706. Vowelin f1=0 f2=1500 -300 300 f3=-200 80
  707. FMT(d/tap3) addWav(r3/rx, 200)
  708. endphoneme
  709. phoneme r. // retroflex
  710. liquid rfx
  711. lengthmod 3
  712. Vowelout f1=3 f2=1400 -400 300 f3=-400 80 rms=35 len=15 colr=2
  713. Vowelin f1=2 f2=1400 -400 300 f3=-400 80 len=20
  714. IF nextPh(isNotVowel) THEN
  715. FMT(r3/@tap_rfx_)
  716. ENDIF
  717. FMT(r3/@tap_rfx)
  718. endphoneme
  719. //*******************************************************************
  720. // VOICED STOPS
  721. //*******************************************************************
  722. phoneme b
  723. vcd blb stop
  724. voicingswitch p
  725. Vowelout f1=2 f2=1000 -500 -300 f3=-300 80 brk
  726. lengthmod 5
  727. IF PreVoicing THEN
  728. FMT(b/xb)
  729. ENDIF
  730. IF KlattSynth THEN
  731. Vowelin f1=1 f2=1000 -500 -300 f3=-300 80
  732. IF nextPh(isPause2) THEN
  733. FMT(klatt/b) addWav(x/b_)
  734. ENDIF
  735. FMT(klatt/b) addWav(x/b)
  736. ENDIF
  737. IF nextPh(isPause2) THEN
  738. FMT(b/b_) addWav(x/b_)
  739. ELIF nextPh(@-) THEN
  740. FMT(b/b@2) addWav(x/b)
  741. ELIF nextPh(#@) THEN
  742. FMT(b/b@) addWav(x/b)
  743. ELIF nextPh(#a) THEN
  744. FMT(b/ba) addWav(x/b)
  745. ELIF nextPh(#e) THEN
  746. FMT(b/be) addWav(x/b)
  747. ELIF nextPh(#i) THEN
  748. FMT(b/bi) addWav(x/b)
  749. ELIF nextPh(#o) THEN
  750. FMT(b/bo) addWav(x/b)
  751. ELIF nextPh(#u) THEN
  752. FMT(b/bu) addWav(x/b)
  753. ENDIF
  754. FMT(b/b) addWav(x/b)
  755. endphoneme
  756. phoneme d
  757. vcd alv stop
  758. voicingswitch t
  759. lengthmod 5
  760. Vowelin f1=1 f2=1700 -300 300 f3=-100 80
  761. Vowelout f1=2 f2=1700 -300 300 f3=-100 80 brk
  762. IF PreVoicing THEN
  763. FMT(d/xd)
  764. ENDIF
  765. IF nextPh(isPause2) THEN
  766. FMT(d/d_) addWav(x/d_)
  767. // ELIF nextPh(r) THEN
  768. // FMT(d/dr) addWav(x/d)
  769. ENDIF
  770. FMT(d/d) addWav(x/d)
  771. endphoneme
  772. phoneme d[
  773. vcd dnt stop
  774. voicingswitch t[
  775. lengthmod 5
  776. Vowelin f1=2 f2=1500 -300 300 f3=-150 80
  777. Vowelout f1=2 f2=1500 -300 300 f3=-150 80
  778. IF PreVoicing THEN
  779. FMT(d/xd)
  780. ENDIF
  781. IF nextPh(isPause2) THEN
  782. FMT(d/d_) addWav(x/d_)
  783. ELIF nextPh(r) THEN
  784. FMT(d/dr) addWav(x/d_dnt, 100)
  785. ENDIF
  786. FMT(d/d) addWav(x/d_dnt, 100)
  787. endphoneme
  788. phoneme dZ
  789. vcd pla afr sibilant
  790. voicingswitch tS
  791. lengthmod 5
  792. Vowelin f1=2 f2=2300 200 400 f3=100 80
  793. Vowelout f1=2 f2=2300 250 300 f3=100 80 brk
  794. IF PreVoicing THEN
  795. FMT(dzh/xdzh)
  796. ENDIF
  797. IF nextPh(isPause2) THEN
  798. FMT(dzh/dzh_) addWav(x/dzh_)
  799. ENDIF
  800. FMT(dzh/dzh) addWav(x/dzh)
  801. endphoneme
  802. phoneme dZ;
  803. vcd pla afr sibilant palatal
  804. voicingswitch tS;
  805. ipa dʑ
  806. lengthmod 5
  807. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  808. Vowelout f1=2 f2=2700 400 600 f3=300 80
  809. IF PreVoicing THEN
  810. FMT(dzh/xdzh)
  811. ENDIF
  812. IF KlattSynth THEN
  813. IF nextPh(isPause2) THEN
  814. FMT(dzh/dzh_) addWav(x/dzh_)
  815. ENDIF
  816. FMT(dzh/dzh) addWav(x/dz_pzd)
  817. ENDIF
  818. IF nextPh(isPause2) THEN
  819. FMT(dzh/dzh_) addWav(x/dzh_)
  820. ENDIF
  821. FMT(dzh/dzh) addWav(x/dz_pzd)
  822. endphoneme
  823. phoneme J
  824. vcd pal afr sibilant palatal
  825. voicingswitch c
  826. lengthmod 5
  827. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  828. Vowelout f1=2 f2=2700 400 600 f3=300 80 colr=1
  829. IF PreVoicing THEN
  830. FMT(dzh/xdz_pzd)
  831. ENDIF
  832. IF KlattSynth THEN
  833. IF nextPh(isPause2) THEN
  834. FMT(klatt/dz_pzd_) addWav(x/dzh, 35)
  835. ENDIF
  836. FMT(klatt/dz_pzd) addWav(x/dzh, 45)
  837. ENDIF
  838. IF nextPh(isPause2) THEN
  839. FMT(dzh/dz_pzd_) addWav(x/dzh, 35)
  840. ENDIF
  841. FMT(dzh/dz_pzd) addWav(x/dzh, 45)
  842. endphoneme
  843. phoneme g
  844. vcd vel stop
  845. voicingswitch k
  846. lengthmod 5
  847. Vowelin f1=2 f2=2300 200 300 f3=-300 80
  848. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  849. IF PreVoicing THEN
  850. FMT(g/xg)
  851. ENDIF
  852. IF nextPh(isPause2) THEN
  853. FMT(g/g_) addWav(x/g_)
  854. ENDIF
  855. FMT(g/g) addWav(x/g2, 150)
  856. endphoneme
  857. //*******************************************************************
  858. // VOICED fricatives
  859. //*******************************************************************
  860. phoneme B
  861. vcd blb frc
  862. voicingswitch f
  863. lengthmod 6
  864. Vowelin f1=2 f2=1000 -300 -200 f3=-100 100
  865. Vowelout f1=2 f2=1000 -500 -300 f3=-100 60 len=50
  866. IF KlattSynth THEN
  867. IF nextPh(isPause2) THEN
  868. FMT(klatt/v_) addWav(vocw/v)
  869. ENDIF
  870. FMT(klatt/bh) addWav(vocw/v)
  871. ENDIF
  872. IF nextPh(isPause2) THEN
  873. FMT(voc/v_) addWav(vocw/v)
  874. ENDIF
  875. FMT(voc/bh) addWav(vocw/v)
  876. endphoneme
  877. phoneme v
  878. vcd lbd frc
  879. voicingswitch f
  880. lengthmod 6
  881. Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
  882. Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
  883. IF KlattSynth THEN
  884. Vowelout f1=1 f2=1000 -500 -300 f3=-300 60 len=50 brk
  885. IF nextPh(isPause2) THEN
  886. FMT(klatt/v_) addWav(vocw/v)
  887. ENDIF
  888. FMT(klatt/v) addWav(vocw/v, 150)
  889. ENDIF
  890. IF nextPh(isPause2) THEN
  891. FMT(voc/v_) addWav(vocw/v)
  892. ENDIF
  893. IF thisPh(isWordStart) AND nextPhW(isLiquid) THEN
  894. Length 70
  895. ENDIF
  896. FMT(voc/v) addWav(vocw/v)
  897. endphoneme
  898. phoneme v# // approximant, not fricative
  899. vcd lbd frc
  900. ipa ʋ
  901. lengthmod 6
  902. voicingswitch f
  903. Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
  904. Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
  905. IF nextPh(isPause2) THEN
  906. FMT(voc/v#_)
  907. ENDIF
  908. FMT(voc/v#)
  909. endphoneme
  910. phoneme D
  911. vcd dnt frc
  912. voicingswitch T
  913. lengthmod 6
  914. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  915. IF KlattSynth THEN
  916. Vowelin f1=0 f2=1290 -300 300 f3=0 0
  917. ENDIF
  918. IF nextPh(isPause2) THEN
  919. FMT(voc/dh_) addWav(vocw/dh)
  920. ENDIF
  921. FMT(voc/dh) addWav(vocw/dh)
  922. endphoneme
  923. phoneme z
  924. vcd alv frc sibilant
  925. voicingswitch s
  926. lengthmod 6
  927. Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
  928. IF KlattSynth THEN
  929. Vowelin f1=0 f2=1390 -300 300 f3=0 0
  930. Vowelout f1=1 f2=1390 -300 300 f3=-100 60 len=50 brk
  931. ENDIF
  932. IF nextPh(isPause2) THEN
  933. FMT(voc/z_) addWav(ufric/s_, 70)
  934. ENDIF
  935. FMT(voc/z) addWav(ufric/s_, 85)
  936. endphoneme
  937. phoneme Z
  938. vcd pla frc sibilant
  939. voicingswitch S
  940. lengthmod 6
  941. Vowelin f1=0 f2=2000 0 300 f3=-200 80
  942. Vowelout f1=2 f2=2000 0 300 f3=-200 80 brk
  943. IF KlattSynth THEN
  944. IF nextPh(isPause2) THEN
  945. FMT(klatt/zh_) addWav(vocw/zh)
  946. ENDIF
  947. FMT(klatt/zh) addWav(vocw/zh, 130)
  948. ENDIF
  949. IF nextPh(isPause2) THEN
  950. FMT(voc/zh_) addWav(vocw/zh)
  951. ENDIF
  952. FMT(voc/zh) addWav(vocw/zh, 130)
  953. endphoneme
  954. phoneme z.
  955. vcd pla frc sibilant
  956. ipa ʐ
  957. voicingswitch s.
  958. lengthmod 6
  959. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  960. Vowelout f1=2 f2=1800 -100 300 f3=-300 80 brk
  961. IF KlattSynth THEN
  962. IF nextPh(isPause2) THEN
  963. FMT(klatt/zh_) addWav(vocw/zh_rfx)
  964. ENDIF
  965. FMT(klatt/zh) addWav(vocw/zh_rfx)
  966. ENDIF
  967. IF nextPh(isPause2) THEN
  968. FMT(voc/zh_) addWav(vocw/zh_rfx)
  969. ENDIF
  970. FMT(voc/zh) addWav(vocw/zh_rfx)
  971. endphoneme
  972. phoneme z;
  973. vcd pal frc sibilant palatal
  974. ipa ʑ
  975. voicingswitch s;
  976. lengthmod 6
  977. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  978. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  979. IF nextPh(isPause2) THEN
  980. FMT(voc/z_pzd_) addWav(ufric/s_pzd_, 80)
  981. ENDIF
  982. FMT(voc/z_pzd) addWav(ufric/s_pzd, 80)
  983. endphoneme
  984. phoneme Z;
  985. vcd pal frc sibilant palatal
  986. voicingswitch S;
  987. ipa ʑ
  988. lengthmod 6
  989. Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
  990. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  991. IF nextPh(isPause2) THEN
  992. FMT(voc/z_pzd_) addWav(ufric/sh_pzd_)
  993. ENDIF
  994. FMT(voc/z_pzd) addWav(ufric/sh_pzd, 80)
  995. endphoneme
  996. phoneme J^ // palatal fricative (Kirshenbaum C<vcd>)
  997. vcd pal frc palatal
  998. ipa ʝ
  999. voicingswitch C
  1000. lengthmod 6
  1001. Vowelin f1=1 f2=2700 400 600 f3=200 70
  1002. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=100
  1003. FMT(voc/j) addWav(ufric/ch, 25)
  1004. endphoneme
  1005. phoneme Q
  1006. vcd vel frc
  1007. voicingswitch x
  1008. lengthmod 6
  1009. Vowelin f1=2 f2=2300 200 400 f3=-100 80
  1010. Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
  1011. IF KlattSynth THEN
  1012. IF nextPh(isPause2) THEN
  1013. FMT(klatt/qqh_) addWav(vocw/Q_)
  1014. ENDIF
  1015. FMT(klatt/qqh) addWav(vocw/Q)
  1016. ENDIF
  1017. IF nextPh(isPause2) THEN
  1018. FMT(voc/Q_) addWav(vocw/Q_)
  1019. ENDIF
  1020. FMT(voc/Q) addWav(vocw/Q)
  1021. endphoneme
  1022. phoneme Q^
  1023. vcd vel frc
  1024. lengthmod 6
  1025. Vowelin f1=2 f2=2700 400 600 f3=200 80
  1026. Vowelout f1=2 f2=2700 40 600 f3=200 80 brk
  1027. IF nextPh(isPause2) THEN
  1028. FMT(voc/Q_) addWav(vocw/Q_)
  1029. ENDIF
  1030. FMT(voc/Q) addWav(vocw/Q)
  1031. endphoneme
  1032. phoneme Q"
  1033. vcd uvl frc
  1034. ipa ʁ
  1035. lengthmod 6
  1036. IF nextPh(isPause2) THEN
  1037. FMT(voc/Q_ulv) addWav(ufric/xx, 60)
  1038. ENDIF
  1039. FMT(voc/Q_ulv) addWav(ufric/xx, 80)
  1040. endphoneme
  1041. //*******************************************************************
  1042. // UNVOICED STOPS
  1043. //*******************************************************************
  1044. phoneme p
  1045. vls blb stop
  1046. voicingswitch b
  1047. lengthmod 2
  1048. Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
  1049. Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
  1050. IF nextPh(isPause2) THEN
  1051. WAV(ustop/p_)
  1052. ELIF nextPh(r) THEN
  1053. WAV(ustop/pr, 70)
  1054. ELIF nextPh(R) OR nextPh(R2) THEN
  1055. WAV(ustop/pr)
  1056. ELIF nextPh(@-) THEN
  1057. WAV(ustop/p_unasp)
  1058. ELIF nextPh(l) THEN
  1059. WAV(ustop/pl)
  1060. ENDIF
  1061. WAV(ustop/p)
  1062. endphoneme
  1063. phoneme t
  1064. vls alv stop
  1065. voicingswitch d
  1066. lengthmod 2
  1067. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  1068. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  1069. IF nextPh(isPause2) THEN
  1070. WAV(ustop/t_)
  1071. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  1072. WAV(ustop/tr)
  1073. ELIF nextPh(@-) THEN
  1074. WAV(ustop/t_dnt, 50)
  1075. ENDIF
  1076. WAV(ustop/t, 90)
  1077. endphoneme
  1078. phoneme t[ // dental variant of /t/
  1079. vls dnt stop
  1080. voicingswitch d[
  1081. lengthmod 2
  1082. Vowelin f1=1 f2=1500 -250 250 f3=-100 80 amp=16
  1083. Vowelout f1=0 f2=1500 -300 250 f3=-100 80 rms=20
  1084. IF nextPh(isPause2) THEN
  1085. WAV(ustop/t_dnt, 35)
  1086. ENDIF
  1087. WAV(ustop/t_hi, 70)
  1088. endphoneme
  1089. phoneme tS
  1090. vls pla afr sibilant
  1091. voicingswitch dZ
  1092. lengthmod 2
  1093. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  1094. IF nextPh(isPause2) THEN
  1095. WAV(ustop/tsh_)
  1096. ENDIF
  1097. WAV(ustop/tsh)
  1098. endphoneme
  1099. phoneme tS;
  1100. vls pal afr sibilant palatal
  1101. voicingswitch dZ;
  1102. ipa tɕ
  1103. lengthmod 2
  1104. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  1105. IF nextPh(isPause2) THEN
  1106. WAV(ustop/ts_pzd)
  1107. ENDIF
  1108. WAV(ustop/ts_pzd)
  1109. endphoneme
  1110. phoneme c
  1111. vls pal stop palatal
  1112. voicingswitch J
  1113. lengthmod 2
  1114. Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
  1115. Vowelout f1=1 f2=2700 400 600 f3=200 70 len=50 colr=1
  1116. IF nextPh(isPause2) THEN
  1117. WAV(ustop/t_pzd, 30)
  1118. ENDIF
  1119. WAV(ustop/c, 150)
  1120. endphoneme
  1121. phoneme k
  1122. vls vel stop
  1123. voicingswitch g
  1124. lengthmod 2
  1125. Vowelin f1=0 f2=2300 200 300 f3=-200 80
  1126. Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
  1127. IF KlattSynth THEN
  1128. Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
  1129. ENDIF
  1130. IF nextPh(isPause2) THEN
  1131. WAV(ustop/k_)
  1132. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  1133. WAV(ustop/kr)
  1134. ELIF nextPh(#i) OR nextPh(;) THEN
  1135. WAV(ustop/ki)
  1136. ELIF nextPh(l) THEN
  1137. WAV(ustop/kl)
  1138. ELIF nextPh(@-) THEN
  1139. WAV(ustop/k_unasp, 70)
  1140. ENDIF
  1141. WAV(ustop/k)
  1142. endphoneme
  1143. phoneme q
  1144. vls uvl stop
  1145. lengthmod 2
  1146. Vowelin f1=1 f2=1700 0 200 f3=-300 80 gpaus f4 rms=30
  1147. Vowelout f1=1 f2=1700 -100 200 f3=-300 80 f4 rms=35
  1148. IF nextPh(isPause2) THEN
  1149. WAV(ustop/q, 40)
  1150. ELIF nextPh(#u) THEN
  1151. WAV(ustop/q_u, 80)
  1152. ENDIF
  1153. WAV(ustop/q, 48)
  1154. endphoneme
  1155. //*******************************************************************
  1156. // UNVOICED fricatives
  1157. //*******************************************************************
  1158. phoneme f
  1159. vls lbd frc
  1160. voicingswitch v
  1161. lengthmod 3
  1162. Vowelout f1=0 f2=1000 -500 -350 f3=-200 80
  1163. IF nextPh(isPause) THEN
  1164. WAV(ufric/f_)
  1165. ENDIF
  1166. WAV(ufric/f)
  1167. endphoneme
  1168. phoneme T
  1169. vls dnt frc
  1170. voicingswitch D
  1171. lengthmod 3
  1172. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  1173. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  1174. IF nextPh(isPause) THEN
  1175. WAV(ufric/th_)
  1176. ENDIF
  1177. WAV(ufric/th)
  1178. endphoneme
  1179. phoneme s
  1180. vls alv frc sibilant
  1181. voicingswitch z
  1182. lengthmod 3
  1183. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  1184. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  1185. IF nextPh(isPause) THEN
  1186. WAV(ufric/s_)
  1187. ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
  1188. WAV(ufric/s!)
  1189. ENDIF
  1190. WAV(ufric/s)
  1191. endphoneme
  1192. phoneme S
  1193. vls pla frc sibilant
  1194. voicingswitch Z
  1195. lengthmod 3
  1196. Vowelin f1=0 f2=2100 100 300 f3=-100 80
  1197. Vowelout f1=0 f2=2100 100 300 f3=-100 80
  1198. IF nextPh(isPause) THEN
  1199. WAV(ufric/sh_)
  1200. ENDIF
  1201. WAV(ufric/sh)
  1202. endphoneme
  1203. phoneme s.
  1204. vls pla frc sibilant
  1205. ipa ʂ
  1206. voicingswitch z.
  1207. lengthmod 3
  1208. Vowelin f1=0 f2=1800 -100 300 f3=-300 80
  1209. Vowelout f1=0 f2=1800 -100 300 f3=-300 80
  1210. IF nextPh(isPause) THEN
  1211. WAV(ufric/sh_rfx, 60)
  1212. ENDIF
  1213. WAV(ufric/sh_rfx, 90)
  1214. endphoneme
  1215. phoneme s;
  1216. vls pal frc sibilant palatal
  1217. ipa ʂ
  1218. voicingswitch z;
  1219. lengthmod 3
  1220. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  1221. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate len=70
  1222. IF nextPh(isPause) THEN
  1223. WAV(ufric/s_pzd_)
  1224. ENDIF
  1225. WAV(ufric/s_pzd)
  1226. endphoneme
  1227. phoneme S;
  1228. vls pal frc sibilant palatal
  1229. voicingswitch Z;
  1230. ipa ɕ
  1231. lengthmod 3
  1232. Vowelin f1=1 f2=2700 400 600 f3=200 70 rate len=70
  1233. Vowelout f1=1 f2=2700 400 600 f3=200 70 rate
  1234. IF nextPh(isPause) THEN
  1235. WAV(ufric/sh_pzd_)
  1236. ENDIF
  1237. WAV(ufric/sh_pzd)
  1238. endphoneme
  1239. phoneme l# // Lateral fricative (eg. Welsh "ll")
  1240. vls alv frc
  1241. ipa ɬ
  1242. lengthmod 3
  1243. NextVowelStarts
  1244. VowelStart(l/l@)
  1245. VowelStart(l/la)
  1246. VowelStart(l/le)
  1247. VowelStart(l/li, -10)
  1248. VowelStart(l/lo)
  1249. VowelStart(l/lu)
  1250. EndSwitch
  1251. IF prevPh(isVowel) THEN
  1252. VowelEnding(l/xl, -40)
  1253. ENDIF
  1254. WAV(ufric/l#, 60)
  1255. endphoneme
  1256. phoneme C
  1257. vls pal frc palatal
  1258. lengthmod 3
  1259. Vowelin f1=0 f2=2700 400 600 f3=200 70
  1260. Vowelout f1=0 f2=2700 400 600 f3=200 70 rms=20
  1261. IF nextPh(isPause) THEN
  1262. WAV(ufric/ch_)
  1263. ENDIF
  1264. WAV(ufric/ch)
  1265. endphoneme
  1266. phoneme x
  1267. vls vel frc
  1268. voicingswitch Q
  1269. lengthmod 3
  1270. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  1271. Vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
  1272. IF nextPh(isPause) THEN
  1273. WAV(ufric/x_, 60)
  1274. ENDIF
  1275. WAV(ufric/x_hr, 20)
  1276. endphoneme
  1277. phoneme X
  1278. vls uvl frc
  1279. voicingswitch Q"
  1280. lengthmod 3
  1281. IF nextPh(isPause) THEN
  1282. WAV(ufric/xx, 70)
  1283. ENDIF
  1284. WAV(ufric/xx,80)
  1285. endphoneme
  1286. phoneme h
  1287. vls glt apr
  1288. lengthmod 3
  1289. ipa h
  1290. IF nextPh(#@) THEN
  1291. WAV(h/h@)
  1292. ELIF nextPh(#a) THEN
  1293. WAV(h/ha)
  1294. ELIF nextPh(#e) THEN
  1295. WAV(h/he)
  1296. ELIF nextPh(#i) THEN
  1297. WAV(h/hi)
  1298. ELIF nextPh(#o) THEN
  1299. WAV(h/ho)
  1300. ELIF nextPh(#u) THEN
  1301. WAV(h/hu)
  1302. ENDIF
  1303. WAV(h/h_, 70) // no vowel following
  1304. endphoneme
  1305. //*******************************************************************
  1306. // ADDITIONAL PHONEME TABLES
  1307. //*******************************************************************
  1308. phonemetable consonants base
  1309. include ph_consonants
  1310. phonemetable base2 base
  1311. include ph_base2
  1312. phonemetable en base
  1313. include ph_english
  1314. phonemetable en-n en
  1315. include ph_english_n
  1316. phonemetable en-us en
  1317. include ph_english_us
  1318. phonemetable en-sc en
  1319. include ph_english_sc
  1320. phonemetable en-rp en
  1321. include ph_english_rp
  1322. phonemetable en-wm en
  1323. include ph_english_wm
  1324. phonemetable en-wi en
  1325. include ph_english_wi
  1326. phonemetable af base
  1327. include ph_afrikaans
  1328. phonemetable cy base
  1329. include ph_welsh
  1330. phonemetable ga base
  1331. include ph_irish
  1332. phonemetable de base
  1333. include ph_german
  1334. phonemetable eo base
  1335. include ph_esperanto
  1336. phonemetable jbo eo
  1337. include ph_lojban
  1338. phonemetable nci base2
  1339. include ph_nahuatl
  1340. phonemetable fi base
  1341. include ph_finnish
  1342. phonemetable et base
  1343. include ph_estonian
  1344. phonemetable fr base
  1345. include ph_french
  1346. phonemetable fr-ca fr
  1347. include ph_french_ca
  1348. phonemetable nl base
  1349. include ph_dutch
  1350. phonemetable hi base
  1351. include ph_hindi
  1352. phonemetable bn hi
  1353. include ph_bengali
  1354. phonemetable ne hi
  1355. include ph_nepali
  1356. phonemetable ur hi
  1357. include ph_urdu
  1358. phonemetable pa hi
  1359. include ph_punjabi
  1360. phonemetable ta hi
  1361. include ph_tamil
  1362. phonemetable kn hi
  1363. include ph_kannada
  1364. phonemetable ml hi
  1365. include ph_malayalam
  1366. phonemetable hu base
  1367. include ph_hungarian
  1368. phonemetable lt base
  1369. include ph_lithuanian
  1370. phonemetable lv base
  1371. include ph_latvian
  1372. phonemetable pl base
  1373. include ph_polish
  1374. phonemetable sk pl
  1375. include ph_slovak
  1376. phonemetable cs sk
  1377. include ph_czech
  1378. phonemetable hr sk
  1379. include ph_croatian
  1380. phonemetable mk hr
  1381. include ph_macedonian
  1382. phonemetable sr hr
  1383. include ph_serbian
  1384. phonemetable ru base
  1385. include ph_russian
  1386. phonemetable bg pl
  1387. include ph_bulgarian
  1388. phonemetable it base2
  1389. include ph_italian
  1390. phonemetable la base
  1391. include ph_latin
  1392. phonemetable es base2
  1393. include ph_spanish
  1394. phonemetable es-la es
  1395. include ph_spanish_la
  1396. phonemetable ca es
  1397. include ph_catalan
  1398. phonemetable an es
  1399. include ph_aragon
  1400. phonemetable pt base2
  1401. include ph_pt_brazil
  1402. phonemetable pt-pt pt
  1403. include ph_portugal
  1404. phonemetable ro base2
  1405. include ph_romanian
  1406. phonemetable el base2
  1407. include ph_greek
  1408. phonemetable grc base2
  1409. include ph_greek_ancient
  1410. phonemetable sv base
  1411. include ph_swedish
  1412. phonemetable no base
  1413. include ph_norwegian
  1414. phonemetable is base
  1415. include ph_icelandic
  1416. phonemetable vi base
  1417. include ph_vietnam
  1418. phonemetable vi-hue vi
  1419. include ph_vietnam_hue
  1420. phonemetable vi-sgn vi
  1421. include ph_vietnam_sgn
  1422. phonemetable zhy base
  1423. include ph_zh_yue
  1424. phonemetable zh base
  1425. include ph_zh
  1426. phonemetable sw base
  1427. include ph_swahili
  1428. phonemetable tr base2
  1429. include ph_turkish
  1430. phonemetable ku base2
  1431. include ph_kurdish
  1432. phonemetable id base2
  1433. include ph_indonesian
  1434. phonemetable sq base
  1435. include ph_albanian
  1436. phonemetable hy base
  1437. include ph_armenian
  1438. phonemetable da base
  1439. include ph_danish
  1440. phonemetable ka base
  1441. include ph_georgian
  1442. phonemetable fa base
  1443. include ph_farsi
  1444. //**************************************************************************************
  1445. // The following lines are experimental, for future additions.
  1446. // These langauges are not in a usable state.
  1447. // These lines can be deleted.
  1448. phonemetable rw base2
  1449. include ph_kinyarwanda
  1450. //phonemetable mr hi
  1451. //include ph_marathi
  1452. //phonemetable eu base2
  1453. //include ph_basque
  1454. //phonemetable mn base
  1455. //include ph_mongolian
  1456. phonemetable prs base
  1457. include ph_dari
  1458. phonemetable sl sk
  1459. include ph_slovenian
  1460. phonemetable gd base
  1461. include ph_s_gaelic
  1462. phonemetable nso base
  1463. include ph_northern-sotho
  1464. phonemetable ht fr
  1465. include ph_haitian
  1466. phonemetable az tr
  1467. include ph_azerbaijani
  1468. phonemetable ak base
  1469. include ph_akan
  1470. phonemetable am base
  1471. include ph_amhari
  1472. phonemetable wo base
  1473. include ph_wolof
  1474. phonemetable dv hi
  1475. include ph_divehi
  1476. phonemetable te hi
  1477. include ph_telugu
  1478. phonemetable si hi
  1479. include ph_sinhala
  1480. phonemetable tn base
  1481. include ph_setswana
  1482. phonemetable mt base
  1483. include ph_maltese
  1484. phonemetable bo hi
  1485. include ph_tibetan
  1486. phonemetable kk base
  1487. include ph_kazakh
  1488. phonemetable tt base
  1489. include ph_tatar
  1490. phonemetable ko base
  1491. include ph_korean
  1492. phonemetable kl base
  1493. include ph_greenlandic
  1494. phonemetable ar base
  1495. include ph_arabic
  1496. phonemetable gu hi
  1497. include ph_gujarati