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.

ph_norwegian 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. //========================================================
  2. // Norwegian
  3. //=========================================================
  4. // Vowels
  5. //=======
  6. phoneme @ // close schwa
  7. vowel starttype #@ endtype #@
  8. unstressed
  9. length 120
  10. FMT(vowel/@_4)
  11. endphoneme
  12. phoneme @2 // open schwa
  13. vowel starttype #@ endtype #a
  14. unstressed
  15. length 120
  16. FMT(vowel/@_low)
  17. endphoneme
  18. phoneme I
  19. vowel starttype #i endtype #i
  20. length 100
  21. IfNextVowelAppend(;)
  22. FMT(vowel/ii_3)
  23. endphoneme
  24. phoneme i:
  25. vowel starttype #i endtype #i
  26. length 230
  27. IfNextVowelAppend(;)
  28. IF prevPh(w) THEN
  29. VowelStart(w/wi2)
  30. ENDIF
  31. FMT(vowel/i)
  32. endphoneme
  33. phoneme y
  34. vowel starttype #u endtype #u
  35. length 120
  36. FMT(vowel/yy)
  37. endphoneme
  38. phoneme y:
  39. vowel starttype #u endtype #u
  40. length 260
  41. FMT(vowel/y_4)
  42. endphoneme
  43. phoneme W
  44. vowel starttype #@ endtype #@
  45. length 120
  46. FMT(vowel/oe_2)
  47. endphoneme
  48. phoneme Y:
  49. vowel starttype #@ endtype #@
  50. length 260
  51. FMT(vwl_no/y#)
  52. endphoneme
  53. phoneme E
  54. vowel starttype #e endtype #e
  55. length 120
  56. ChangeIfDiminished(@)
  57. FMT(vowel/e_mid)
  58. endphoneme
  59. phoneme E:
  60. vowel starttype #e endtype #e
  61. length 270
  62. FMT(vowel/ee_1)
  63. endphoneme
  64. phoneme e:
  65. vowel starttype #e endtype #e
  66. length 250
  67. FMT(vowel/e_2)
  68. endphoneme
  69. phoneme a
  70. vowel starttype #a endtype #a
  71. length 120
  72. FMT(vwl_no/&)
  73. endphoneme
  74. phoneme a:
  75. vowel starttype #a endtype #a
  76. length 270
  77. FMT(vwl_no/&)
  78. endphoneme
  79. phoneme A
  80. vowel starttype #a endtype #a
  81. length 130
  82. FMT(vowel/aa)
  83. endphoneme
  84. phoneme A:
  85. vowel starttype #a endtype #a
  86. length 280
  87. FMT(vowel/aa)
  88. endphoneme
  89. phoneme O
  90. vowel starttype #o endtype #o
  91. length 120
  92. FMT(vowel/oo)
  93. endphoneme
  94. phoneme o:
  95. vowel starttype #o endtype #o
  96. length 270
  97. FMT(vowel/o_2)
  98. endphoneme
  99. phoneme U
  100. vowel starttype #u endtype #u
  101. length 120
  102. FMT(vowel/uu_bck)
  103. endphoneme
  104. phoneme u:
  105. vowel starttype #u endtype #u
  106. length 240
  107. FMT(vowel/u_bck)
  108. endphoneme
  109. phoneme u-
  110. vowel starttype #u endtype #u
  111. length 120
  112. FMT(vwl_no/u#)
  113. endphoneme
  114. phoneme u-:
  115. vowel starttype #u endtype #u
  116. length 260
  117. FMT(vwl_no/u#2)
  118. endphoneme
  119. // Diphthongs
  120. //===========
  121. phoneme AI
  122. vowel starttype #a endtype #i
  123. length 270
  124. IfNextVowelAppend(;)
  125. FMT(vdiph/0i_2)
  126. endphoneme
  127. phoneme aI
  128. vowel starttype #a endtype #i
  129. length 270
  130. IfNextVowelAppend(;)
  131. FMT(vdiph/ai_3)
  132. endphoneme
  133. phoneme OI
  134. vowel starttype #o endtype #i
  135. length 270
  136. IfNextVowelAppend(;)
  137. FMT(vdiph/ooi)
  138. endphoneme
  139. phoneme u-I
  140. vowel starttype #u endtype #i
  141. length 270
  142. IfNextVowelAppend(;)
  143. FMT(vdiph/yi)
  144. endphoneme
  145. phoneme Yy
  146. vowel starttype #@ endtype #u
  147. length 270
  148. FMT(vwl_no/y#y)
  149. endphoneme
  150. phoneme aU
  151. vowel starttype #a endtype #u
  152. length 270
  153. FMT(vwl_no/au-)
  154. endphoneme