ph_english_us 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480
  1. //*******************************************************************
  2. // VOWELS
  3. //*******************************************************************
  4. phoneme 3 // Schwa, used for rhotic schwa in American
  5. vwl starttype #@ endtype #@
  6. ipa ɚ
  7. unstressed
  8. length 210
  9. IfNextVowelAppend(r-)
  10. FMT(vwl_en_us/3_us)
  11. endphoneme
  12. phoneme @ // Schwa
  13. vwl starttype #@ endtype #@
  14. unstressed
  15. length 130
  16. IF nextPh(isRhotic) THEN
  17. ChangePhoneme(3)
  18. ENDIF
  19. IF thisPh(isWordEnd) THEN
  20. FMT(vowel/@_6)
  21. ENDIF
  22. FMT(vowel/@_4)
  23. endphoneme
  24. phoneme @2 // Schwa, changes to I before a vowel
  25. vwl starttype #@ endtype #@
  26. unstressed
  27. length 120
  28. IF nextPh(isVowel) THEN
  29. ChangePhoneme(I2)
  30. ENDIF
  31. FMT(vowel/@_low2)
  32. endphoneme
  33. phoneme a
  34. vwl starttype #e endtype #@
  35. ipa æ
  36. length 210
  37. ChangeIfDiminished(a#)
  38. IF nextPh(isNasal) AND NOT KlattSynth THEN
  39. FMT(vnasal/ee_n2)
  40. ELSEIF nextPh(r) AND thisPh(isStressed) THEN
  41. length 190
  42. FMT(vwl_en_us/ar)
  43. ENDIF
  44. FMT(vwl_en_us/a)
  45. endphoneme
  46. phoneme aa // 'bath' etc.
  47. import_phoneme en-us/a
  48. endphoneme
  49. phoneme a#
  50. vwl starttype #@ endtype #@
  51. ipa ɐ
  52. unstressed
  53. length 150
  54. IF thisPh(isStressed) THEN
  55. ChangePhoneme(a)
  56. ENDIF
  57. IF nextPhW(r) THEN
  58. ChangePhoneme(3)
  59. ENDIF
  60. FMT(vowel/a#_3)
  61. endphoneme
  62. phoneme E
  63. vwl starttype #e endtype #e
  64. length 190
  65. IF nextPhW(n) THEN
  66. ChangeIfDiminished(@)
  67. ELSE
  68. ChangeIfDiminished(I2)
  69. ENDIF
  70. FMT(vwl_en_us/ee)
  71. endphoneme
  72. phoneme I
  73. vwl starttype #i endtype #i
  74. length 160
  75. IfNextVowelAppend(;)
  76. ChangeIfDiminished(I2)
  77. IF nextPhW(r) THEN
  78. length 200
  79. ENDIF
  80. FMT(vowel/ii_4)
  81. endphoneme
  82. phoneme I2
  83. vwl starttype #i endtype #i
  84. unstressed
  85. length 160
  86. IfNextVowelAppend(;)
  87. FMT(vowel/ii#_3)
  88. endphoneme
  89. phoneme I#
  90. vwl starttype #i endtype #i
  91. unstressed
  92. length 160
  93. ipa ᵻ
  94. // FMT(vowel/@_fnt)
  95. FMT(vowel/ii#)
  96. endphoneme
  97. phoneme I2#
  98. vwl starttype #i endtype #i
  99. unstressed
  100. ChangePhoneme(I#)
  101. endphoneme
  102. phoneme 0
  103. vwl starttype #a endtype #a
  104. length 220
  105. ipa ɑː
  106. ChangeIfDiminished(@)
  107. IF nextPh(r) THEN
  108. ChangePhoneme(O:)
  109. ENDIF
  110. FMT(vowel/aa_8)
  111. endphoneme
  112. phoneme 02 // becomes V in en-us
  113. vwl starttype #o endtype #o
  114. length 140
  115. ChangePhoneme(V)
  116. endphoneme
  117. phoneme O2
  118. vwl starttype #o endtype #o
  119. length 220
  120. FMT(vowel/aa#) // Same as /O/, but not diminished.
  121. endphoneme
  122. phoneme V
  123. vwl starttype #a endtype #@
  124. length 170
  125. ChangeIfDiminished(@)
  126. FMT(vowel/V_6)
  127. endphoneme
  128. phoneme U
  129. vwl starttype #o endtype #o
  130. length 145
  131. FMT(vowel/8_2)
  132. endphoneme
  133. phoneme A:
  134. vwl starttype #a endtype #a
  135. length 220
  136. IF nextPhW(r) THEN
  137. FMT(vwl_en_us/aar)
  138. ENDIF
  139. FMT(vowel/aa_8)
  140. endphoneme
  141. phoneme A@ // Used for [A:] when followed by 'r', becomes [A:]+[r] in American
  142. vwl starttype #a endtype #a
  143. ipa ɑː|ɹ
  144. IF nextPh(r-) THEN
  145. ipa ɑː
  146. ENDIF
  147. length 260
  148. IfNextVowelAppend(r-)
  149. FMT(vwl_en_us/aar)
  150. endphoneme
  151. phoneme A# // [a] in British [A:] in American
  152. vwl starttype #a endtype #a
  153. ChangePhoneme(A:)
  154. endphoneme
  155. phoneme 3:
  156. vwl starttype #@ endtype #@
  157. length 210
  158. IfNextVowelAppend(r-)
  159. ChangeIfDiminished(3)
  160. FMT(vwl_en_us/3_us2)
  161. endphoneme
  162. phoneme i:
  163. vwl starttype #i endtype #i
  164. length 180
  165. IfNextVowelAppend(;)
  166. FMT(vowel/i_en)
  167. endphoneme
  168. phoneme O:
  169. vwl starttype #o endtype #o
  170. length 220
  171. ChangeIfDiminished(@)
  172. IF nextPhW(r) THEN
  173. FMT(vwl_en_us/oor)
  174. ENDIF
  175. FMT(vowel/0_3)
  176. endphoneme
  177. phoneme O@
  178. vwl starttype #o endtype #@
  179. length 250
  180. ipa ɔː|ɹ
  181. IF nextPhW(r) THEN
  182. ipa ɔː
  183. ENDIF
  184. IfNextVowelAppend(r)
  185. FMT(vwl_en_us/oor)
  186. endphoneme
  187. phoneme o@
  188. vwl starttype #o endtype #@
  189. length 250
  190. ipa oː|ɹ
  191. IF nextPhW(r) THEN
  192. ipa oː
  193. ENDIF
  194. IfNextVowelAppend(r)
  195. FMT(vwl_en_us/or)
  196. endphoneme
  197. phoneme O
  198. vwl starttype #o endtype #o
  199. length 200
  200. ChangeIfDiminished(@)
  201. FMT(vowel/aa#)
  202. endphoneme
  203. phoneme u:
  204. vwl starttype #u endtype #u
  205. length 190
  206. IF prevPhW(j) AND NOT thisPh(isWordEnd) THEN
  207. length 160
  208. ENDIF
  209. FMT(vdiph2/uw_6)
  210. endphoneme
  211. phoneme aU
  212. vwl starttype #a endtype #o
  213. length 235
  214. FMT(vdiph/aoo)
  215. endphoneme
  216. phoneme oU
  217. vwl starttype #@ endtype #u
  218. length 230
  219. FMT(vdiph/8u)
  220. endphoneme
  221. phoneme aI
  222. vwl starttype #a endtype #i
  223. length 240
  224. IF nextPh(#a) OR nextPh(#o) THEN
  225. AppendPhoneme(;)
  226. ENDIF
  227. FMT(vwl_en_us/ai)
  228. endphoneme
  229. phoneme eI
  230. vwl starttype #e endtype #i
  231. length 220
  232. FMT(vdiph2/ei_4)
  233. // FMT(vdiph/eei_5)
  234. endphoneme
  235. phoneme OI
  236. vwl starttype #o endtype #i
  237. length 270
  238. FMT(vdiph/ooi_3)
  239. endphoneme
  240. phoneme e@
  241. vwl starttype #e endtype #@
  242. length 260
  243. ipa ɛ|ɹ
  244. IF nextPhW(r) THEN
  245. ipa ɛ
  246. ENDIF
  247. IfNextVowelAppend(r)
  248. FMT(vwl_en_us/er)
  249. endphoneme
  250. phoneme i
  251. vwl starttype #i endtype #i
  252. unstressed
  253. ipa i
  254. length 170
  255. IfNextVowelAppend(;)
  256. IF NOT thisPh(isFinalVowel) THEN
  257. length 130
  258. FMT(vowel/ii_4)
  259. ENDIF
  260. FMT(vowel/ii_final)
  261. endphoneme
  262. phoneme i@
  263. vwl starttype #i endtype #@
  264. length 250
  265. FMT(vdiph2/ii@) // don't append [r] before a vowel
  266. endphoneme
  267. phoneme i@3
  268. vwl starttype #i endtype #@
  269. length 280
  270. ipa ɪ|ɹ
  271. IF nextPhW(r) THEN
  272. ipa ɪ
  273. ENDIF
  274. IfNextVowelAppend(r)
  275. FMT(vwl_en_us/ir)
  276. endphoneme
  277. phoneme U@
  278. vwl starttype #@ endtype #@
  279. length 250
  280. ipa ʊ|ɹ
  281. IF nextPhW(r-) THEN
  282. ipa ʊ
  283. ENDIF
  284. IfNextVowelAppend(r-)
  285. FMT(vwl_en_us/ur)
  286. endphoneme
  287. phoneme aI@
  288. vwl starttype #a endtype #@
  289. length 300
  290. ipa aɪə
  291. IfNextVowelAppend(r-)
  292. FMT(vwl_en_us/ai@)
  293. endphoneme
  294. phoneme aI3
  295. vwl starttype #a endtype #@
  296. length 310
  297. ipa aɪɚ
  298. IfNextVowelAppend(r-)
  299. FMT(vwl_en_us/ai3)
  300. endphoneme
  301. phoneme aU@
  302. vwl starttype #a endtype #@
  303. length 300
  304. ipa aɪʊɹ
  305. IF nextPhW(r) THEN
  306. ipa aɪʊ
  307. ENDIF
  308. IfNextVowelAppend(r)
  309. FMT(vwl_en_us/aU@)
  310. endphoneme
  311. //==============
  312. // Consonants
  313. //==============
  314. phoneme r/ // used for [r] when not preceding a vowel
  315. liquid
  316. lengthmod 2 //
  317. // formants NULL
  318. endphoneme
  319. phoneme t# // reduced [t] as in "city"
  320. vcd alv stp
  321. ipa ɾ
  322. lengthmod 5
  323. Vowelin f1=1 f2=1700 -300 300 f3=-100 80
  324. Vowelout f1=2 f2=1700 -300 300 f3=-100 80
  325. IF nextPh(isNotVowel) THEN
  326. ChangePhoneme(t)
  327. ENDIF
  328. IF KlattSynth THEN
  329. IF PreVoicing THEN
  330. FMT(klatt/x_tap)
  331. ENDIF
  332. FMT(klatt/tap2) addWav(x/d, 70)
  333. ENDIF
  334. IF PreVoicing THEN
  335. FMT(d/x_tap)
  336. ENDIF
  337. FMT(d/tap2) addWav(x/d, 50)
  338. endphoneme
  339. phoneme t
  340. vls alv stp
  341. voicingswitch d
  342. lengthmod 2
  343. Vowelin f1=0 f2=1700 -300 300 f3=-100 80
  344. Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
  345. IF nextPhW(isVowel) AND nextPh(isUnstressed) THEN
  346. IF NOT next2PhW(n) OR nextPhW(3:) THEN
  347. IF prevPhW(isVowel) THEN
  348. ChangePhoneme(t#)
  349. ELIF prevPhW(n) THEN
  350. WAV(ustop/t, 60)
  351. ENDIF
  352. ENDIF
  353. ENDIF
  354. IF nextPh(isPause2) THEN
  355. WAV(ustop/t_)
  356. ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
  357. WAV(ustop/tr)
  358. ELIF nextPh(@-) THEN
  359. WAV(ustop/t_dnt, 50)
  360. ENDIF
  361. WAV(ustop/t, 90)
  362. endphoneme
  363. phoneme t2 // [t] which doesn't reduce
  364. import_phoneme base1/t
  365. endphoneme
  366. phoneme ? // glottal stp
  367. vls glt stp
  368. lengthmod 1 // 5? longer preceding vowel
  369. nolink
  370. Vowelin glstop
  371. Vowelout glstop
  372. WAV(ustop/null)
  373. endphoneme