ph_maltese 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. //====================================================
  2. // Maltese
  3. //====================================================
  4. phoneme : // Lengthen previous vowel by "length"
  5. virtual
  6. length 160
  7. endphoneme
  8. phoneme i
  9. vwl starttype #i endtype #i
  10. length 140
  11. IfNextVowelAppend(;)
  12. ChangeIfUnstressed(I)
  13. FMT(vowel/i_4)
  14. endphoneme
  15. phoneme I
  16. vwl starttype #i endtype #i
  17. length 130
  18. IfNextVowelAppend(;)
  19. FMT(vowel/ii_2)
  20. endphoneme
  21. phoneme e
  22. vwl starttype #e endtype #e
  23. length 150
  24. FMT(vowel/e_mid2)
  25. endphoneme
  26. phoneme a
  27. vwl starttype #a endtype #a
  28. length 170
  29. // ChangeIfUnstressed(a2)
  30. FMT(vowel/aa_9)
  31. endphoneme
  32. phoneme o
  33. vwl starttype #o endtype #o
  34. length 155
  35. FMT(vowel/oo_1)
  36. endphoneme
  37. phoneme Y
  38. vwl starttype #@ endtype #@
  39. length 155
  40. FMT(vowel/y#)
  41. endphoneme
  42. phoneme u
  43. vwl starttype #u endtype #u
  44. length 140
  45. FMT(vowel/u_bck)
  46. endphoneme
  47. phoneme U // TEST
  48. vwl starttype #u endtype #u
  49. length 140
  50. FMT(vowel/uu_4)
  51. endphoneme
  52. phoneme y
  53. vwl starttype #u endtype #u
  54. length 150
  55. FMT(vowel/y)
  56. endphoneme
  57. // Diphthongs
  58. //===========
  59. phoneme ai
  60. vwl starttype #a endtype #i
  61. length 310
  62. lng
  63. FMT(vdiph/aai_3)
  64. endphoneme
  65. phoneme i
  66. vwl starttype #a endtype #i
  67. length 290
  68. lng
  69. FMT(vdiph/&i)
  70. endphoneme
  71. phoneme oi
  72. vwl starttype #o endtype #i
  73. length 280
  74. lng
  75. FMT(vdiph/ooi)
  76. endphoneme
  77. phoneme ei
  78. vwl starttype #e endtype #i
  79. length 280
  80. lng
  81. FMT(vdiph/eei_2)
  82. endphoneme
  83. phoneme Yi
  84. vwl starttype #@ endtype #i
  85. length 270
  86. lng
  87. FMT(vdiph/y#i)
  88. endphoneme
  89. phoneme ui
  90. vwl starttype #u endtype #i
  91. length 270
  92. lng
  93. FMT(vdiph/ui_4)
  94. endphoneme
  95. phoneme yi
  96. vwl starttype #u endtype #i
  97. length 270
  98. lng
  99. FMT(vdiph/yi)
  100. endphoneme
  101. phoneme au
  102. vwl starttype #a endtype #u
  103. length 300
  104. lng
  105. FMT(vdiph/aau)
  106. endphoneme
  107. phoneme ou
  108. vwl starttype #o endtype #u
  109. length 280
  110. lng
  111. FMT(vdiph/ou)
  112. endphoneme
  113. phoneme eu
  114. vwl starttype #e endtype #u
  115. length 280
  116. lng
  117. FMT(vdiph/eu_2)
  118. endphoneme
  119. phoneme iu
  120. vwl starttype #i endtype #u
  121. length 280
  122. lng
  123. FMT(vdiph2/iu_2)
  124. endphoneme
  125. phoneme ey
  126. vwl starttype #e endtype #u
  127. length 280
  128. lng
  129. FMT(vdiph/eey)
  130. endphoneme
  131. phoneme Yy
  132. vwl starttype #@ endtype #u
  133. length 270
  134. lng
  135. FMT(vdiph/y#y)
  136. endphoneme
  137. phoneme iy
  138. vwl starttype #i endtype #u
  139. length 260
  140. lng
  141. FMT(vdiph2/iy)
  142. endphoneme
  143. phoneme uo
  144. vwl starttype #u endtype #o
  145. length 280
  146. lng
  147. FMT(vdiph2/uo)
  148. endphoneme
  149. phoneme ie
  150. vwl starttype #i endtype #e
  151. length 280
  152. lng
  153. FMT(vdiph2/ie)
  154. endphoneme
  155. phoneme yY
  156. vwl starttype #u endtype #@
  157. length 280
  158. lng
  159. FMT(vdiph2/y-y#)
  160. endphoneme
  161. // CONSONANTS
  162. //===========
  163. phoneme v // approximant, not fricative
  164. vcd lbd frc
  165. lengthmod 6
  166. voicingswitch f
  167. Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
  168. Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
  169. IF nextPh(isPause2) THEN
  170. FMT(voc/v_)
  171. ENDIF
  172. FMT(voc/v)
  173. endphoneme
  174. phoneme d
  175. vcd dnt stp
  176. voicingswitch t
  177. lengthmod 5
  178. Vowelin f1=2 f2=1700 -100 200 f3=0 80
  179. Vowelout f1=2 f2=1700 -100 200 f3=0 80 rms=20
  180. IF PreVoicing THEN
  181. FMT(d/xd)
  182. ENDIF
  183. IF nextPh(isPause2) THEN
  184. FMT(d/d_) addWav(x/d_)
  185. ELIF nextPh(r) THEN
  186. FMT(d/dr) addWav(x/d_dnt, 60)
  187. ENDIF
  188. FMT(d/d) addWav(x/d_dnt, 60)
  189. endphoneme
  190. phoneme p
  191. import_phoneme base2/p
  192. voicingswitch b
  193. endphoneme
  194. phoneme k
  195. import_phoneme base2/k
  196. voicingswitch g
  197. endphoneme
  198. phoneme h
  199. vls glt apr
  200. lengthmod 3
  201. IF nextPh(#@) THEN
  202. WAV(h/h@)
  203. ELIF nextPh(#a) THEN
  204. WAV(h/ha)
  205. ELIF nextPh(#e) THEN
  206. WAV(h/he)
  207. ELIF nextPh(#i) THEN
  208. WAV(h/hi)
  209. ELIF nextPh(#o) THEN
  210. WAV(h/hu_fi, 70)
  211. ELIF nextPh(#u) THEN
  212. WAV(h/hu_fi, 80)
  213. ENDIF
  214. WAV(h/h_, 70) // no vowel following
  215. endphoneme