mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-28 05:34:26 +00:00
[1.42.21]
New format for phoneme source files. Update phoneme data for Klatt synthesizer. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@235 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+117
-129
@@ -11,87 +11,87 @@ endphoneme
|
||||
|
||||
|
||||
phoneme i
|
||||
vowel starttype (i) endtype (i)
|
||||
vowel starttype #i endtype #i
|
||||
length 140
|
||||
formants vowel/i_4
|
||||
linkout ;
|
||||
reduceto I 1
|
||||
IfNextVowelAppend(;)
|
||||
ChangeIfUnstressed(I)
|
||||
FMT(vowel/i_4)
|
||||
endphoneme
|
||||
|
||||
phoneme I
|
||||
vowel starttype (i) endtype (i)
|
||||
vowel starttype #i endtype #i
|
||||
length 140
|
||||
formants vowel/ii_3
|
||||
linkout ;
|
||||
IfNextVowelAppend(;)
|
||||
FMT(vowel/ii_3)
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
phoneme e
|
||||
vowel starttype (e) endtype (e)
|
||||
vowel starttype #e endtype #e
|
||||
length 150
|
||||
formants vowel/e_mid2
|
||||
FMT(vowel/e_mid2)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme &
|
||||
vowel starttype (a) endtype (a)
|
||||
vowel starttype #a endtype #a
|
||||
length 150
|
||||
formants vowel/&
|
||||
FMT(vowel/&)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme a
|
||||
vowel starttype (a) endtype (a)
|
||||
vowel starttype #a endtype #a
|
||||
length 170
|
||||
formants vowel/aa_9
|
||||
// reduceto a2 1
|
||||
// ChangeIfUnstressed(a2)
|
||||
FMT(vowel/aa_9)
|
||||
endphoneme
|
||||
|
||||
phoneme a2
|
||||
vowel starttype (a) endtype (a)
|
||||
vowel starttype #a endtype #a
|
||||
length 170
|
||||
formants vowel/aa#
|
||||
FMT(vowel/aa#)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme o
|
||||
vowel starttype (o) endtype (o)
|
||||
vowel starttype #o endtype #o
|
||||
length 155
|
||||
formants vowel/oo_1
|
||||
FMT(vowel/oo_1)
|
||||
endphoneme
|
||||
|
||||
phoneme Y
|
||||
vowel starttype (@) endtype (@)
|
||||
vowel starttype #@ endtype #@
|
||||
length 155
|
||||
formants vowel/y#
|
||||
FMT(vowel/y#)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme u
|
||||
vowel starttype (u) endtype (u)
|
||||
vowel starttype #u endtype #u
|
||||
length 140
|
||||
formants vowel/u_bck
|
||||
FMT(vowel/u_bck)
|
||||
endphoneme
|
||||
|
||||
phoneme u1 // TEST
|
||||
vowel starttype (u) endtype (u)
|
||||
vowel starttype #u endtype #u
|
||||
length 140
|
||||
formants vowel/u_2
|
||||
FMT(vowel/u_2)
|
||||
endphoneme
|
||||
|
||||
phoneme U // TEST
|
||||
vowel starttype (u) endtype (u)
|
||||
vowel starttype #u endtype #u
|
||||
length 140
|
||||
formants vowel/uu_4
|
||||
FMT(vowel/uu_4)
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
phoneme y
|
||||
vowel starttype (u) endtype (u)
|
||||
vowel starttype #u endtype #u
|
||||
length 150
|
||||
formants vowel/y
|
||||
FMT(vowel/y)
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -101,132 +101,132 @@ endphoneme
|
||||
//===========
|
||||
|
||||
phoneme ai
|
||||
vowel starttype (a) endtype (i)
|
||||
vowel starttype #a endtype #i
|
||||
length 310
|
||||
long
|
||||
formants vdiph/aai_3
|
||||
FMT(vdiph/aai_3)
|
||||
endphoneme
|
||||
|
||||
phoneme &i
|
||||
vowel starttype (a) endtype (i)
|
||||
vowel starttype #a endtype #i
|
||||
length 290
|
||||
long
|
||||
formants vdiph/&i
|
||||
FMT(vdiph/&i)
|
||||
endphoneme
|
||||
|
||||
phoneme oi
|
||||
vowel starttype (o) endtype (i)
|
||||
vowel starttype #o endtype #i
|
||||
length 280
|
||||
long
|
||||
formants vdiph/ooi
|
||||
FMT(vdiph/ooi)
|
||||
endphoneme
|
||||
|
||||
phoneme ei
|
||||
vowel starttype (e) endtype (i)
|
||||
vowel starttype #e endtype #i
|
||||
length 280
|
||||
long
|
||||
formants vdiph/eei_2
|
||||
FMT(vdiph/eei_2)
|
||||
endphoneme
|
||||
|
||||
phoneme Yi
|
||||
vowel starttype (@) endtype (i)
|
||||
vowel starttype #@ endtype #i
|
||||
length 270
|
||||
long
|
||||
formants vdiph/y#i
|
||||
FMT(vdiph/y#i)
|
||||
endphoneme
|
||||
|
||||
phoneme ui
|
||||
vowel starttype (u) endtype (i)
|
||||
vowel starttype #u endtype #i
|
||||
length 270
|
||||
long
|
||||
formants vdiph/ui_4
|
||||
FMT(vdiph/ui_4)
|
||||
endphoneme
|
||||
|
||||
phoneme yi
|
||||
vowel starttype (u) endtype (i)
|
||||
vowel starttype #u endtype #i
|
||||
length 270
|
||||
long
|
||||
formants vdiph/yi
|
||||
FMT(vdiph/yi)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme au
|
||||
vowel starttype (a) endtype (u)
|
||||
vowel starttype #a endtype #u
|
||||
length 300
|
||||
long
|
||||
formants vdiph/aau
|
||||
FMT(vdiph/aau)
|
||||
endphoneme
|
||||
|
||||
phoneme ou
|
||||
vowel starttype (o) endtype (u)
|
||||
vowel starttype #o endtype #u
|
||||
length 280
|
||||
long
|
||||
formants vdiph/ou
|
||||
FMT(vdiph/ou)
|
||||
endphoneme
|
||||
|
||||
phoneme eu
|
||||
vowel starttype (e) endtype (u)
|
||||
vowel starttype #e endtype #u
|
||||
length 280
|
||||
long
|
||||
formants vdiph/eu_2
|
||||
FMT(vdiph/eu_2)
|
||||
endphoneme
|
||||
|
||||
phoneme iu
|
||||
vowel starttype (i) endtype (u)
|
||||
vowel starttype #i endtype #u
|
||||
length 280
|
||||
long
|
||||
formants vdiph2/iu_2
|
||||
FMT(vdiph2/iu_2)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme &y
|
||||
vowel starttype (a) endtype (u)
|
||||
vowel starttype #a endtype #u
|
||||
length 280
|
||||
long
|
||||
formants vdiph/&y
|
||||
FMT(vdiph/&y)
|
||||
endphoneme
|
||||
|
||||
phoneme ey
|
||||
vowel starttype (e) endtype (u)
|
||||
vowel starttype #e endtype #u
|
||||
length 280
|
||||
long
|
||||
formants vdiph/eey
|
||||
FMT(vdiph/eey)
|
||||
endphoneme
|
||||
|
||||
phoneme Yy
|
||||
vowel starttype (@) endtype (u)
|
||||
vowel starttype #@ endtype #u
|
||||
length 270
|
||||
long
|
||||
formants vdiph/y#y
|
||||
FMT(vdiph/y#y)
|
||||
endphoneme
|
||||
|
||||
phoneme iy
|
||||
vowel starttype (i) endtype (u)
|
||||
vowel starttype #i endtype #u
|
||||
length 260
|
||||
long
|
||||
formants vdiph2/iy
|
||||
FMT(vdiph2/iy)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme uo
|
||||
vowel starttype (u) endtype (o)
|
||||
vowel starttype #u endtype #o
|
||||
length 280
|
||||
long
|
||||
formants vdiph2/uo
|
||||
FMT(vdiph2/uo)
|
||||
endphoneme
|
||||
|
||||
phoneme ie
|
||||
vowel starttype (i) endtype (e)
|
||||
vowel starttype #i endtype #e
|
||||
length 280
|
||||
long
|
||||
formants vdiph2/ie
|
||||
FMT(vdiph2/ie)
|
||||
endphoneme
|
||||
|
||||
phoneme yY
|
||||
vowel starttype (u) endtype (@)
|
||||
vowel starttype #u endtype #@
|
||||
length 280
|
||||
long
|
||||
formants vdiph2/y-y#
|
||||
FMT(vdiph2/y-y#)
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -236,109 +236,97 @@ endphoneme
|
||||
//===========
|
||||
|
||||
|
||||
phoneme r // this is [R2] but shorter
|
||||
|
||||
phoneme R2 // this is [R2], but shorter
|
||||
liquid
|
||||
vowelin f1=0 f2=1700 -300 300 f3=-300 80
|
||||
vowelout f1=2 f2=1700 -300 300 f3=-300 80 brk
|
||||
formants r3/r_trill_short+r3/r_trill.wav%50
|
||||
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_short) addWav(r3/r_trill.wav, 50)
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
|
||||
phoneme v // approximant, not fricative
|
||||
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
|
||||
lengthmod 6
|
||||
formants voc/v
|
||||
before _ voc/v_
|
||||
switchvoicing f
|
||||
voicingswitch f
|
||||
Vowelin f1=0 f2=1000 -300 -200 f3=-300 100
|
||||
Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=50
|
||||
IF nextPh(isPause2) THEN
|
||||
FMT(voc/v_)
|
||||
ENDIF
|
||||
FMT(voc/v)
|
||||
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
|
||||
lengthmod 2
|
||||
wave ustop/t_dnt%50
|
||||
before _ ustop/t_dnt%35
|
||||
switchvoicing d
|
||||
import_phoneme base/t[
|
||||
voicingswitch d
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
phoneme d // (weak) dental variant of /d/
|
||||
phoneme d
|
||||
vcd dnt stop
|
||||
vowelin f1=2 f2=1700 -100 200 f3=0 80
|
||||
vowelout f1=2 f2=1700 -100 200 f3=0 80 rms=20
|
||||
// vowelin f1=2 f2=2095 100 200 f3=100 80
|
||||
// vowelout f1=2 f2=3000 100 200 f3=100 80 rms=20 len=1
|
||||
formants d/d+x/d_dnt%60
|
||||
before _ d/d_+x/d_
|
||||
before r d/dr+x/d_dnt%60
|
||||
after _ NULL
|
||||
after @ d/xd
|
||||
voicingswitch t
|
||||
lengthmod 5
|
||||
switchvoicing t
|
||||
Vowelin f1=2 f2=1700 -100 200 f3=0 80
|
||||
Vowelout f1=2 f2=1700 -100 200 f3=0 80 rms=20
|
||||
|
||||
IF PreVoicing THEN
|
||||
FMT(d/xd)
|
||||
ENDIF
|
||||
|
||||
IF nextPh(isPause2) THEN
|
||||
FMT(d/d_) addWav(x/d_)
|
||||
ELIF nextPh(r) THEN
|
||||
FMT(d/dr) addWav(x/d_dnt, 60)
|
||||
ENDIF
|
||||
|
||||
FMT(d/d) addWav(x/d_dnt, 60)
|
||||
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
|
||||
lengthmod 2
|
||||
wave ustop/p_unasp
|
||||
before _ ustop/p_unasp_%80
|
||||
before r ustop/pr
|
||||
before l ustop/pl
|
||||
switchvoicing b
|
||||
import_phoneme base2/p
|
||||
voicingswitch b
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
phoneme k
|
||||
vls vel stop
|
||||
vowelin f1=0 f2=2300 200 400 f3=-100 80
|
||||
vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
|
||||
lengthmod 2
|
||||
wave ustop/k_unasp%60 // weaker
|
||||
before _ ustop/k_
|
||||
before r ustop/kr
|
||||
before l ustop/kl
|
||||
before (i) ustop/ki
|
||||
switchvoicing g
|
||||
import_phoneme base2/k
|
||||
voicingswitch g
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme s2
|
||||
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
|
||||
lengthmod 3
|
||||
wave ufric/s_continue
|
||||
before _ ufric/s_
|
||||
before p ufric/s!
|
||||
before t ufric/s!
|
||||
before k ufric/s!
|
||||
switchvoicing z
|
||||
phoneme s2 // second part of long [s]
|
||||
import_phoneme consonants/s2
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme h
|
||||
vls glt apr
|
||||
length 100
|
||||
lengthmod 3
|
||||
wave h/h_%70 // no vowel following
|
||||
before (@) h/h@
|
||||
before (a) h/ha
|
||||
before (e) h/he
|
||||
before (i) h/hi
|
||||
before (o) h/hu_fi%70
|
||||
before (u) h/hu_fi%80
|
||||
|
||||
IF nextPh(#@) THEN
|
||||
WAV(h/h@)
|
||||
ELIF nextPh(#a) THEN
|
||||
WAV(h/ha)
|
||||
ELIF nextPh(#e) THEN
|
||||
WAV(h/he)
|
||||
ELIF nextPh(#i) THEN
|
||||
WAV(h/hi)
|
||||
ELIF nextPh(#o) THEN
|
||||
WAV(h/hu_fi, 70)
|
||||
ELIF nextPh(#u) THEN
|
||||
WAV(h/hu_fi, 80)
|
||||
ENDIF
|
||||
WAV(h/h_, 70) // no vowel following
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user