
//====================================================
//  Romanian  - based on Italian
//====================================================

// Vowels


phoneme I
  vowel starttype (i) endtype (i)
  length 70
  unstressed
  formants vwl_ro/ii-
  beforevowel ;
  after  l; vwl_ro/li-10
  after  m;  vwl_ro/mi
  after  n; vwl_ro/ni
endphoneme

phoneme i/              // used for "i" at end of word
  vowel starttype (i) endtype (i)
  length 150
  formants vowel/i
  linkout ;
  reduceto I  4
endphoneme

phoneme e
  vowel starttype (e) endtype (e)
  length 180
  formants vowel/e_mid2
endphoneme

phoneme y
  vowel starttype (@) endtype (@)
  length 180
  formants vowel/i#_4
endphoneme

phoneme a
  vowel starttype (a) endtype (a)
  length 180
  formants vowel/a_2
endphoneme

phoneme @
  vowel starttype (@) endtype (@)
  length 170
  unstressed
  formants vowel/@_low
endphoneme

phoneme o
  vowel starttype (o) endtype (o)
  length 170
  formants vowel/oo
endphoneme

phoneme u
  vowel starttype (u) endtype (u)
  length 160
  formants vowel/u_2
endphoneme

phoneme Y
  vowel starttype (@) endtype (@)
  length 180
  formants vowel/y#
endphoneme



// Diphthongs


phoneme @I
  vowel starttype (@) endtype (i)
  length 250
  formants vdiph/@i_3
endphoneme

phoneme @U
  vowel starttype (@) endtype (u)
  length 250
  formants vdiph/@u_en
endphoneme

phoneme oU
  vowel starttype (o) endtype (u)
  length 250
  formants vdiph/ou_2
endphoneme



phoneme iI
  vowel starttype (i) endtype (i)
  length 250
  formants vdiph/ii
endphoneme

phoneme yI
  vowel starttype (@) endtype (i)
  length 210
  formants vdiph/i#i
endphoneme

phoneme yU
  vowel starttype (@) endtype (u)
  length 230
  formants vowel/u_3
endphoneme

phoneme ea
  vowel starttype (e) endtype (a)
  length 250
  formants vdiph2/ea
endphoneme

phoneme eo
  vowel starttype (e) endtype (o)
  length 250
  formants vdiph2/eo
endphoneme

phoneme e[u
  vowel starttype (e) endtype (u)
  length 250
  formants vdiph2/e[u
endphoneme

phoneme Oa
  vowel starttype (o) endtype (a)
  length 250
  formants vdiph2/oa
endphoneme


// Consonants

phoneme r
  liquid starttype r endtype r
  length 100
  lengthmod 7
  beforenotvowel r/
  trill
  formants r/rr
  after _ r/rr
  after t r/trr p r/trr k r/trr
  before _ r/r_
endphoneme


phoneme l;
  liquid starttype l
  vowelout colr=1
  length 100
  lengthmod 7
  beforenotvowel l/
  formants l/l
  after _  l/_l
  after t  l/tl
  after l/ l/l_long    // double l, make it longer
endphoneme

phoneme m;
  vcd blb nasal
  vowelout f1=2  f2=1000 -500 -350  f3=-200 80 brk colr=1
  length 100
  lengthmod 4
  formants NULL
  after _ m/_m
  before _ m/m_
  before (r) m/mj
endphoneme


phoneme n;
  vcd alv nasal
  vowelout f1=2 f2=1700 -300 250  f3=-100 80  rms=20 brk colr=1
  length 100
  lengthmod 4
  formants NULL
  after _ n/_n
  after n n/_n      // lengthen [nn]
  before _ n/n_
  before (r) n/nj
endphoneme


phoneme p;
  vls blb stop
  vowelin  f1=0  f2=1000 -50 -100  f3=-200 80
  vowelout f1=0  f2=1000 -500 -350  f3=-300 80 rms=30 colr=1
  lengthmod 2
  wave ustop/p_unasp
  before _ ustop/p_unasp_%80
  before r ustop/pr
  before l ustop/pl
  switchvoicing b
endphoneme


phoneme t;        // dental variant of /t/
  vls dnt stop
  vowelin f1=0  f2=1600 -300 300  f3=-100 80
  vowelout f1=0 f2=1600 -300 250  f3=-100 80  rms=20 colr=1
  lengthmod 2
  wave  ustop/t_dnt%50
  before _ ustop/t_
  before r ustop/tr
  switchvoicing d
endphoneme

phoneme ts;
  vls alv afr sibilant
  vowelin f1=0  f2=1700 -300 300  f3=-100 80
  vowelout f1=0 f2=1700 -300 250  f3=-100 80  rms=20 colr=1
  lengthmod 2
  wave ustop/ts
endphoneme


phoneme f;
  vls lbd frc
  vowelout f1=0  f2=1000 -500 -350  f3=-200 80 colr=1
  lengthmod 3
  wave ufric/f
  before _ ufric/f_
  switchvoicing v
endphoneme

phoneme s;
  vls alv frc sibilant
  vowelin  f1=0  f2=1700 -300 300  f3=-100 80
  vowelout f1=0  f2=1700 -300 250  f3=-100 80  rms=20 colr=1
  lengthmod 3
  wave ufric/s
  switchvoicing z
endphoneme


phoneme S;
  vls pla frc sibilant
  vowelin  f1=0  f2=2100 100 300  f3=-100 80
  vowelout f1=0  f2=2100 100 300  f3=-100 80 colr=1
  length 100
  lengthmod 3
  wave ufric/sh
  switchvoicing Z
endphoneme


phoneme  b;
  vcd blb stop
  vowelout f1=2  f2=1000 -500 -300  f3=-300 80 brk colr=1
  formants b/b+x/b
  before (i) b/bi+x/b
  lengthmod 5
  switchvoicing p
endphoneme


phoneme d;       // dental variant of /d/
  vcd dnt stop
  vowelin f1=2  f2=1500 -300 300  f3=-150 80
  vowelout f1=2 f2=1500 -300 300  f3=-150 80 colr=1
  formants d/d+x/d_dnt%110
  before _ d/d_+x/d_
  before r d/dr+x/d_dnt%110
  after _ NULL
  after @ d/xd
  lengthmod 5
  switchvoicing t
endphoneme

phoneme *;    //   flap
  vcd alv flp
  vowelout f1=3 f2=1700 -300 300  f3=-300 80 rms=35 len=15 colr=1
  formants d/tap+r3/rx
  vowelin f1=0  f2=1700 -300 300  f3=-400 80 rms=20
  before (i) d/tap_i+r3/rx
  lengthmod 2
endphoneme


phoneme v;
  vcd lbd frc
  vowelin  f1=0  f2=1000 -300 -200  f3=-300 100
  vowelout f1=0  f2=1000 -500 -300  f3=-300 60  len=50 colr=1
  lengthmod 6
  formants voc/v+vocw/v
  before _ voc/v_+vocw/v
  switchvoicing f
endphoneme

phoneme z;
  vcd alv frc sibilant
  vowelout f1=0  f2=1700 -300 300  f3=-100 60  len=50 colr=1
  formants voc/z+ufric/s_
  before _ voc/z_+ufric/s_
  lengthmod 6
  switchvoicing s
endphoneme


phoneme Z;
  vcd pla frc sibilant
  vowelin  f1=0  f2=2000 0 300  f3=-200 80 colr=1
  vowelout f1=2  f2=2000 0 300  f3=-200 80 brk
  formants voc/zh+vocw/zh
  before _ voc/zh_+vocw/zh
  lengthmod 6
  switchvoicing S
endphoneme

