 

//========================================================
// Norwegian
//=========================================================


// Vowels
//=======

phoneme @     // close schwa
  vwl starttype #@ endtype #@
  unstressed
  length 120
  FMT(vowel/@_4)
endphoneme

phoneme a#    // open schwa
  vwl  starttype #@  endtype #a
  unstressed
  length 120
  FMT(vowel/@_low)
endphoneme

phoneme I
  vwl starttype #i endtype #i
  length 100
  IfNextVowelAppend(;)
  FMT(vowel/ii_3)
endphoneme

phoneme i:
  vwl starttype #i endtype #i
  length 230
  IfNextVowelAppend(;)
  IF prevPh(w) THEN
    VowelStart(w/wi2)
  ENDIF
  FMT(vowel/i)
endphoneme

phoneme y
  vwl starttype #u endtype #u
  length 120
  FMT(vowel/yy)
endphoneme

phoneme y:
  vwl starttype #u endtype #u
  length 260
  FMT(vowel/y_4)
endphoneme

phoneme W
  vwl starttype #@ endtype #@
  length 120
  FMT(vowel/oe_2)
endphoneme

phoneme Y:
  vwl starttype #@ endtype #@
  length 260
  FMT(vwl_no/y#)
endphoneme


phoneme E
  vwl starttype #e endtype #e
  length 120
  ChangeIfDiminished(@)
  FMT(vowel/e_mid)
endphoneme

phoneme E:
  vwl starttype #e endtype #e
  length 270
  FMT(vowel/ee_1)
endphoneme

phoneme e:
  vwl starttype #e endtype #e
  length 250
  FMT(vowel/e_2)
endphoneme


phoneme a
  vwl starttype #a endtype #a
  length 120
  FMT(vwl_no/&)
endphoneme

phoneme a:
  vwl starttype #a endtype #a
  length 270
  FMT(vwl_no/&)
endphoneme

phoneme A
  vwl starttype #a endtype #a
  length 130
  FMT(vowel/aa)
endphoneme

phoneme A:
  vwl starttype #a endtype #a
  length 280
  FMT(vowel/aa)
endphoneme

phoneme O
  vwl starttype #o endtype #o
  length 120
  FMT(vowel/oo)
endphoneme

phoneme o:
  vwl starttype #o endtype #o
  length 270
  FMT(vowel/o_2)
endphoneme

phoneme U
  vwl starttype #u endtype #u
  length 120
  FMT(vowel/uu_bck)
endphoneme

phoneme u:
  vwl starttype #u endtype #u
  length 240
  FMT(vowel/u_bck)
endphoneme


phoneme u-
  vwl starttype #u endtype #u
  ipa ʉ
  length 120
  FMT(vwl_no/u#)
endphoneme

phoneme u-:
  vwl starttype #u endtype #u
  ipa ʉː
  length 260
  FMT(vwl_no/u#2)
endphoneme


// Diphthongs
//===========
phoneme AI
  vwl starttype #a endtype #i
  length 270
  IfNextVowelAppend(;)
  FMT(vdiph/0i_2)
endphoneme

phoneme aI
  vwl starttype #a endtype #i
  length 270
  IfNextVowelAppend(;)
  FMT(vdiph/ai_3)
endphoneme

phoneme OI
  vwl starttype #o endtype #i
  length 270
  IfNextVowelAppend(;)
  FMT(vdiph/ooi)
endphoneme

phoneme u-I
  vwl starttype #u endtype #i
  ipa ʉɪ
  length 270
  IfNextVowelAppend(;)
  FMT(vdiph/yi)
endphoneme

phoneme Yy
  vwl starttype #@ endtype #u
  length 270
  FMT(vwl_no/y#y)
endphoneme


phoneme aU
  vwl starttype #a endtype #u
  length 270
  FMT(vwl_no/au-)
endphoneme


