ph_kinyarwanda 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. //******************************
  2. // Phonemes for Kinyarwanda (rw), inherits "base2"
  3. //******************************
  4. phoneme a
  5. vwl starttype #a endtype #a
  6. length 180
  7. IF nextPh(isVowel) THEN
  8. ChangePhoneme(NULL)
  9. ENDIF
  10. IF nextPh(isPause) THEN
  11. ChangePhoneme(a#)
  12. ENDIF
  13. ChangeIfNotStressed(a/)
  14. FMT(vowel/a_2)
  15. endphoneme
  16. phoneme a/
  17. vwl starttype #@ endtype #@
  18. length 180
  19. IF nextPh(isVowel) THEN
  20. ChangePhoneme(NULL)
  21. ENDIF
  22. IF nextPh(isPause) THEN
  23. ChangePhoneme(a#)
  24. ENDIF
  25. FMT(vowel/a#)
  26. endphoneme
  27. phoneme e
  28. vwl starttype #e endtype #e
  29. length 170
  30. IF nextPh(isVowel) THEN
  31. ChangePhoneme(NULL)
  32. ENDIF
  33. IF nextPh(isPause) THEN
  34. ChangePhoneme(e#)
  35. ENDIF
  36. FMT(vowel/e)
  37. endphoneme
  38. phoneme i
  39. vwl starttype #i endtype #i
  40. length 150
  41. IF nextPh(isVowel) THEN
  42. ChangePhoneme(NULL)
  43. ENDIF
  44. IF nextPh(isPause) THEN
  45. ChangePhoneme(i#)
  46. ENDIF
  47. FMT(vowel/i)
  48. endphoneme
  49. phoneme o
  50. vwl starttype #o endtype #o
  51. length 170
  52. IF nextPh(isVowel) THEN
  53. ChangePhoneme(NULL)
  54. ENDIF
  55. IF nextPh(isPause) THEN
  56. ChangePhoneme(o#)
  57. ENDIF
  58. FMT(vowel/o)
  59. endphoneme
  60. phoneme u
  61. vwl starttype #u endtype #u
  62. length 160
  63. IF nextPh(isVowel) THEN
  64. ChangePhoneme(NULL)
  65. ENDIF
  66. IF nextPh(isPause) THEN
  67. ChangePhoneme(u#)
  68. ENDIF
  69. FMT(vowel/u_bck)
  70. endphoneme
  71. phoneme a#
  72. vwl starttype #@ endtype #@
  73. length 100
  74. IF nextPh(isVowel) THEN
  75. ChangePhoneme(NULL)
  76. ENDIF
  77. FMT(vowel/a#)
  78. endphoneme
  79. phoneme e#
  80. vwl starttype #e endtype #e
  81. length 100
  82. IF nextPh(isVowel) THEN
  83. ChangePhoneme(NULL)
  84. ENDIF
  85. FMT(vowel/e)
  86. endphoneme
  87. phoneme i#
  88. vwl starttype #i endtype #i
  89. length 100
  90. IF nextPh(isVowel) THEN
  91. ChangePhoneme(NULL)
  92. ENDIF
  93. FMT(vowel/i)
  94. endphoneme
  95. phoneme o#
  96. vwl starttype #o endtype #o
  97. length 100
  98. IF nextPh(isVowel) THEN
  99. ChangePhoneme(NULL)
  100. ENDIF
  101. FMT(vowel/o)
  102. endphoneme
  103. phoneme u#
  104. vwl starttype #u endtype #u
  105. length 100
  106. IF nextPh(isVowel) THEN
  107. ChangePhoneme(NULL)
  108. ENDIF
  109. FMT(vowel/u_bck)
  110. endphoneme
  111. phoneme : // Lengthen previous vowel by "length"
  112. virtual
  113. length 120
  114. endphoneme
  115. phoneme + // high tone, use after a vowel
  116. stress
  117. Tone(0, 30, envelope/p_fall, NULL)
  118. endphoneme
  119. phoneme +2 // high tone, use after a vowel
  120. stress
  121. Tone(0, 30, envelope/i_risefall2, NULL)
  122. endphoneme