| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349 | //  IF thisPh(isStressed) THEN
//    FMT(vowel/..., 100)
//  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
//    FMT(vowel/..., 50)
//  ELSE
//    FMT(vowel/..., 75)
//  ENDIF
phoneme a
  vowel starttype #a endtype #a
  length 120
  IF thisPh(isStressed) THEN
    FMT(vowel/aa_7, 90)           // other possible variants: a_3, a_5 or aa_7
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vowel/aa_7, 45)
  ELSE
    FMT(vowel/aa_7, 68)
  ENDIF
endphoneme
phoneme a:
  vowel starttype #a endtype #a
  length 300
  long
  IF thisPh(isStressed) THEN
    FMT(vowel/aa_9, 80)           // other possible variants: a_3
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vowel/aa_9, 40)
  ELSE
    FMT(vowel/aa_9, 60)
  ENDIF
endphoneme
phoneme E
  vowel starttype #e endtype #e
  length 120
  IF thisPh(isStressed) THEN
    FMT(vowel/ee_3, 90)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vowel/ee_3, 45)
  ELSE
    FMT(vowel/ee_3, 68)
  ENDIF
endphoneme
phoneme E:
  vowel starttype #e endtype #e
  length 300
  IF thisPh(isStressed) THEN
    FMT(vowel/ee_5, 60)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vowel/ee_5, 30)
  ELSE
    FMT(vowel/ee_5, 45)
  ENDIF
endphoneme
phoneme e
  vowel starttype #e endtype #e
  length 120
  IF thisPh(isStressed) THEN
    FMT(vowel/e_9, 100)  // other alternative e_5
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vowel/e_9, 50)
  ELSE
    FMT(vowel/e_9, 75)
  ENDIF
endphoneme
phoneme e:
  vowel starttype #e endtype #e
  length 300
  IF thisPh(isStressed) THEN
    FMT(vowel/e_mid2, 100) // other alternative e_8
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vowel/e_mid2, 50)
  ELSE
    FMT(vowel/e_mid2, 75)
  ENDIF
endphoneme
phoneme i
  vowel starttype #i endtype #i
  length 120
  IF thisPh(isStressed) THEN
    FMT(vowel/i_6, 140)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vowel/i_6, 70)
  ELSE
    FMT(vowel/i_6, 105)
  ENDIF
endphoneme
phoneme i:
  vowel starttype #i endtype #i
  length 300
  IF thisPh(isStressed) THEN
    FMT(vowel/i_7, 120)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vowel/i_7, 60)
  ELSE
    FMT(vowel/i_7, 90)
  ENDIF
endphoneme
phoneme o
  vowel starttype #o endtype #o
  length 120
  IF thisPh(isStressed) THEN
    FMT(vowel/oo_2, 100)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vowel/oo_2, 50)
  ELSE
    FMT(vowel/oo_2, 75)
  ENDIF
endphoneme
phoneme o:
  vowel starttype #o endtype #o
  length 300
  IF thisPh(isStressed) THEN
    FMT(vowel/oo_1, 90)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vowel/oo_1, 45)
  ELSE
    FMT(vowel/oo_1, 68)
  ENDIF
endphoneme
phoneme u
  vowel starttype #u endtype #u
  length 120
  IF thisPh(isMaxStress) THEN
    FMT(vowel/u, 140)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vowel/u, 70)
  ELSE
    FMT(vowel/u, 105)
  ENDIF
endphoneme
phoneme u:
  vowel starttype #u endtype #u
  length 300
  IF thisPh(isMaxStress) THEN
    FMT(vowel/u_3, 120)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vowel/u_3, 60)
  ELSE
    FMT(vowel/u_3, 90)
  ENDIF
endphoneme
phoneme ai
  vowel starttype #a endtype #i
  length 230
  long
  IF thisPh(isMaxStress) THEN
    FMT(vdiph/aai, 100)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vdiph/aai, 50)
  ELSE
    FMT(vdiph/aai, 75)
  ENDIF
endphoneme
phoneme au
  vowel starttype #a endtype #u
  length 250
  long
  IF thisPh(isMaxStress) THEN
    FMT(vdiph/aau, 100)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vdiph/aau, 50)
  ELSE
    FMT(vdiph/aau, 75)
  ENDIF
endphoneme
phoneme ei
  vowel starttype #e endtype #i
  length 250
  long
  IF thisPh(isMaxStress) THEN
    FMT(vdiph/eei_2, 100)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vdiph/eei_2, 50)
  ELSE
    FMT(vdiph/eei_2, 75)
  ENDIF
endphoneme
phoneme ie
  vowel starttype #i endtype #e
  length 250
  long
  IF thisPh(isMaxStress) THEN
    FMT(vdiph2/ie_2, 100)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vdiph2/ie_2, 50)
  ELSE
    FMT(vdiph2/ie_2, 75)
  ENDIF
endphoneme
phoneme iu
  vowel starttype #i endtype #u
  length 250
  long
  IF thisPh(isMaxStress) THEN
    FMT(vdiph2/iu_2, 100)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vdiph2/iu_2, 50)
  ELSE
    FMT(vdiph2/iu_2, 75)
  ENDIF
endphoneme
phoneme ui
  vowel starttype #u endtype #i
  length 250
  long
  IF thisPh(isMaxStress) THEN
    FMT(vdiph/ui, 100)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vdiph/ui, 50)
  ELSE
    FMT(vdiph/ui, 75)
  ENDIF
endphoneme
phoneme uo
  vowel starttype #u endtype #a
  length 200
  //long
  IF thisPh(isMaxStress) THEN
    FMT(vdiph2/uaa, 100)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vdiph2/uaa, 50)
  ELSE
    FMT(vdiph2/uaa, 75)
  ENDIF
endphoneme
phoneme oi
  vowel starttype #o endtype #i
  length 250
  long
  IF thisPh(isMaxStress) THEN
    FMT(vdiph/ooi, 100)
  ELIF thisPh(isDiminished) AND NOT prevVowel(isStressed) THEN
    FMT(vdiph/ooi, 50)
  ELSE
    FMT(vdiph/ooi, 75)
  ENDIF
endphoneme
phoneme ts
  vls alv afr nolink
  voicingswitch J
  length 55
  lengthmod 1
  WAV(ustop/ts2, 60)
endphoneme
phoneme tS
  vls pla afr sibilant
  voicingswitch dZ
  lengthmod 2
  length 80
  WAV(ustop/tsh,40)
endphoneme
phoneme R
  liquid
  trill
  lengthmod 6
  Vowelin  f1=0  f2=1700 -300 300  f3=-300 80
  Vowelout f1=2  f2=1700 -300 300  f3=-300 80 brk
  FMT(r3/r_trill) addWav(r3/r_trill.wav, 50)
endphoneme
phoneme t
  vls alv stop //lengthenstop
  lengthmod 1
  voicingswitch d
  IF nextPh(isPause2) THEN
    WAV(ustop/t_dnt, 40)
  ENDIF
  WAV(ustop/t_dnt, 50)
endphoneme
phoneme p
  vls blb stop
  lengthmod 2
  voicingswitch b
  Vowelin  f1=0  f2=1000 -50 -100  f3=-200 80
  Vowelout f1=0  f2=1000 -500 -350  f3=-300 80 rms=30
  IF nextPh(isPause2) THEN
    WAV(ustop/p_unasp_, 80)
  ENDIF
  IF nextPh(l) THEN
    WAV(ustop/pl)
  ENDIF
  WAV(ustop/p_unasp, 120)
endphoneme
phoneme k
  vls vel stop
  lengthmod 2
  voicingswitch g
  Vowelin f1=0  f2=2300 200 400  f3=-100 80
  Vowelout f1=0 f2=2300 300 400  f3=-100 80  rms=20
  IF nextPh(isPause2) THEN
    WAV(ustop/k_)
  ENDIF
  IF nextPh(#i) OR nextPh(l^) THEN
    WAV(ustop/ki)
  ENDIF
  IF nextPh(l) THEN
    WAV(ustop/kl)
  ENDIF
  WAV(ustop/k_unasp, 60)   // weaker
endphoneme
phoneme c
  vls pal stop palatal
  voicingswitch J
  lengthmod 2
  WAV(ustop/c, 90)
endphoneme
phoneme l
  liquid
  unstressed
  dnt
  length 100
  FMT(vwl_hi/l-voc)
endphoneme
phoneme s
  vls alv frc sibilant
  voicingswitch z
  lengthmod 3
  Vowelin  f1=0  f2=1700 -300 300  f3=-100 80
  Vowelout f1=0  f2=1700 -300 250  f3=-100 80  rms=20
  WAV(ufric/s,40)
endphoneme
 |