Files
espeak-ng/phsource/ph_latvian
T

250 lines
4.1 KiB
Plaintext

// 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
FMT(vwl_lv/a, 90) // adjusted from aa_3
endphoneme
phoneme a:
vowel starttype #a endtype #a
length 300
long
FMT(vwl_lv/aa, 90)
endphoneme
phoneme E
vowel starttype #e endtype #e
length 120
FMT(vwl_lv/e2, 100)
endphoneme
phoneme E:
vowel starttype #e endtype #e
length 300
FMT(vwl_lv/ee2, 100)
endphoneme
phoneme e
vowel starttype #e endtype #e
length 120
FMT(vwl_lv/e, 100) // other alternative e_5
endphoneme
phoneme e:
vowel starttype #e endtype #e
length 300
FMT(vwl_lv/ee, 100) // other alternative e_8
endphoneme
phoneme i
vowel starttype #i endtype #i
length 120
FMT(vwl_lv/i, 110) // was i_6
endphoneme
phoneme i:
vowel starttype #i endtype #i
length 300
FMT(vwl_lv/ii, 110) // was i_7
endphoneme
phoneme o
vowel starttype #o endtype #o
length 120
FMT(vwl_lv/o, 90)
endphoneme
phoneme o:
vowel starttype #o endtype #o
length 300
FMT(vwl_lv/oo, 75)
endphoneme
phoneme u
vowel starttype #u endtype #u
length 120
FMT(vwl_lv/u, 140)
endphoneme
phoneme u:
vowel starttype #u endtype #u
length 300
FMT(vwl_lv/uu, 120)
endphoneme
phoneme ai
vowel starttype #a endtype #i
length 250
long
FMT(vdiph/aai, 100)
endphoneme
phoneme au
vowel starttype #a endtype #u
length 275
long
FMT(vdiph/aau, 100)
endphoneme
phoneme ei
vowel starttype #e endtype #i
length 250
long
FMT(vdiph/eei_2, 100)
endphoneme
phoneme ie
vowel starttype #i endtype #e
length 250
long
FMT(vdiph2/ie_2, 100)
endphoneme
phoneme iu
vowel starttype #i endtype #u
length 250
long
FMT(vdiph2/iu_2, 100)
endphoneme
phoneme ui
vowel starttype #u endtype #i
length 250
long
FMT(vdiph/ui, 100)
endphoneme
phoneme uo
vowel starttype #u endtype #a
length 260
long
FMT(vdiph2/uaa, 100)
endphoneme
phoneme u0 // shorter version of uo
vowel starttype #u endtype #a
length 180
long
FMT(vdiph2/uaa, 100)
endphoneme
phoneme oi
vowel starttype #o endtype #i
length 250
long
FMT(vdiph/ooi, 100)
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
WAV(ustop/c, 80)
endphoneme
phoneme > // lengthen previous vowel by only 10ms
virtual
length 10
endphoneme
phoneme . // Tiny, 5ms non-linked pause
pause
starttype _ endtype _
lengthmod 1
nolink
length 5
endphoneme
// TODO should use this with correct lengthening
//phoneme l
// liquid
// unstressed
// dnt
// length 150
// 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,60)
endphoneme