mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-05 08:00:36 +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:
+91
-85
@@ -1,223 +1,229 @@
|
||||
|
||||
phoneme @
|
||||
vowel starttype (@) endtype (@)
|
||||
vowel starttype #@ endtype #@
|
||||
length 120
|
||||
formants vowel/8_7
|
||||
FMT(vowel/8_7)
|
||||
endphoneme
|
||||
|
||||
phoneme i
|
||||
vowel starttype (i) endtype (i)
|
||||
vowel starttype #i endtype #i
|
||||
length 110
|
||||
formants vowel/i_6
|
||||
linkout ;
|
||||
IfNextVowelAppend(;)
|
||||
FMT(vowel/i_6)
|
||||
endphoneme
|
||||
|
||||
phoneme i:
|
||||
vowel starttype (i) endtype (i)
|
||||
vowel starttype #i endtype #i
|
||||
length 300
|
||||
formants vowel/i_6
|
||||
linkout ;
|
||||
IfNextVowelAppend(;)
|
||||
FMT(vowel/i_6)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme e
|
||||
vowel starttype (e) endtype (e)
|
||||
vowel starttype #e endtype #e
|
||||
length 120
|
||||
formants vowel/e_mid
|
||||
FMT(vowel/e_mid)
|
||||
endphoneme
|
||||
|
||||
phoneme e:
|
||||
vowel starttype (e) endtype (e)
|
||||
vowel starttype #e endtype #e
|
||||
length 330
|
||||
formants vowel/e_mid
|
||||
FMT(vowel/e_mid)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme &
|
||||
vowel starttype (a) endtype (a)
|
||||
vowel starttype #a endtype #a
|
||||
length 120
|
||||
formants vowel/&
|
||||
FMT(vowel/&)
|
||||
endphoneme
|
||||
|
||||
phoneme &:
|
||||
vowel starttype (a) endtype (a)
|
||||
vowel starttype #a endtype #a
|
||||
length 330
|
||||
formants vowel/&
|
||||
FMT(vowel/&)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme a
|
||||
vowel starttype (a) endtype (a)
|
||||
vowel starttype #a endtype #a
|
||||
length 120
|
||||
formants vowel/a_3
|
||||
reduceto a# 0
|
||||
ChangeIfDiminished(a#)
|
||||
FMT(vowel/a_3)
|
||||
endphoneme
|
||||
|
||||
phoneme a:
|
||||
vowel starttype (a) endtype (a)
|
||||
vowel starttype #a endtype #a
|
||||
length 350
|
||||
formants vowel/a_3
|
||||
FMT(vowel/a_3)
|
||||
endphoneme
|
||||
|
||||
phoneme a#
|
||||
vowel starttype (a) endtype (a)
|
||||
vowel starttype #a endtype #a
|
||||
length 120
|
||||
formants vowel/V_6
|
||||
FMT(vowel/V_6)
|
||||
endphoneme
|
||||
|
||||
phoneme o
|
||||
vowel starttype (o) endtype (o)
|
||||
vowel starttype #o endtype #o
|
||||
length 120
|
||||
formants vowel/oo_1
|
||||
FMT(vowel/oo_1)
|
||||
endphoneme
|
||||
|
||||
phoneme o:
|
||||
vowel starttype (o) endtype (o)
|
||||
vowel starttype #o endtype #o
|
||||
length 330
|
||||
formants vowel/oo_1
|
||||
FMT(vowel/oo_1)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme u
|
||||
vowel starttype (u) endtype (u)
|
||||
vowel starttype #u endtype #u
|
||||
length 110
|
||||
formants vowel/u
|
||||
FMT(vowel/u)
|
||||
endphoneme
|
||||
|
||||
phoneme u:
|
||||
vowel starttype (u) endtype (u)
|
||||
vowel starttype #u endtype #u
|
||||
length 330
|
||||
formants vowel/u
|
||||
FMT(vowel/u)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme ai
|
||||
vowel starttype (a) endtype (i)
|
||||
vowel starttype #a endtype #i
|
||||
length 310
|
||||
long
|
||||
formants vdiph/aai
|
||||
FMT(vdiph/aai)
|
||||
endphoneme
|
||||
|
||||
phoneme ei
|
||||
vowel starttype (e) endtype (i)
|
||||
vowel starttype #e endtype #i
|
||||
length 300
|
||||
long
|
||||
formants vdiph/eei_2
|
||||
FMT(vdiph/eei_2)
|
||||
endphoneme
|
||||
|
||||
phoneme au
|
||||
vowel starttype (a) endtype (u)
|
||||
vowel starttype #a endtype #u
|
||||
length 300
|
||||
long
|
||||
formants vdiph/aau
|
||||
FMT(vdiph/aau)
|
||||
endphoneme
|
||||
|
||||
phoneme uo
|
||||
vowel starttype (u) endtype (a)
|
||||
vowel starttype #u endtype #a
|
||||
length 300
|
||||
long
|
||||
// formants vdiph2/uo
|
||||
formants vdiph2/uaa
|
||||
FMT(vdiph2/uaa)
|
||||
endphoneme
|
||||
|
||||
phoneme oi
|
||||
vowel starttype (o) endtype (i)
|
||||
vowel starttype #o endtype #i
|
||||
length 290
|
||||
long
|
||||
formants vdiph/ooi
|
||||
FMT(vdiph/ooi)
|
||||
endphoneme
|
||||
|
||||
phoneme ui
|
||||
vowel starttype (u) endtype (i)
|
||||
vowel starttype #u endtype #i
|
||||
length 290
|
||||
long
|
||||
formants vdiph/ui
|
||||
FMT(vdiph/ui)
|
||||
endphoneme
|
||||
|
||||
phoneme ie
|
||||
vowel starttype (i) endtype (e)
|
||||
vowel starttype #i endtype #e
|
||||
length 290
|
||||
long
|
||||
formants vdiph2/ie_2
|
||||
FMT(vdiph2/ie_2)
|
||||
endphoneme
|
||||
|
||||
phoneme iu
|
||||
vowel starttype (i) endtype (u)
|
||||
vowel starttype #i endtype #u
|
||||
length 290
|
||||
long
|
||||
formants vdiph2/iu_2
|
||||
FMT(vdiph2/iu_2)
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
|
||||
phoneme R2 // this is [R] from Slovak/Czech
|
||||
phoneme R2
|
||||
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+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) addWav(r3/r_trill.wav, 50)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme ts
|
||||
vls alv afr sibilant lengthenstop
|
||||
vowelin f1=0 f2=1700 -300 300 f3=-100 80
|
||||
vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
|
||||
lengthmod 2
|
||||
wave ustop/ts2%90
|
||||
before _ ustop/ts_
|
||||
Vowelin f1=0 f2=1700 -300 300 f3=-100 80
|
||||
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
|
||||
IF nextPh(isPause2) THEN
|
||||
WAV(ustop/ts_)
|
||||
ENDIF
|
||||
WAV(ustop/ts2, 90)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme t // try disable this and try using English [t]
|
||||
vls alv stop lengthenstop
|
||||
vowelin f1=0 f2=1700 -300 300 f3=-100 80
|
||||
vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
|
||||
lengthmod 2
|
||||
wave ustop/t_short%115
|
||||
before _ ustop/t_
|
||||
switchvoicing d
|
||||
voicingswitch d
|
||||
Vowelin f1=0 f2=1700 -300 300 f3=-100 80
|
||||
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
|
||||
IF nextPh(isPause2) THEN
|
||||
WAV(ustop/t_)
|
||||
ENDIF
|
||||
WAV(ustop/t_short, 115)
|
||||
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%120
|
||||
before _ ustop/p_unasp_%80
|
||||
before l ustop/pl
|
||||
switchvoicing b
|
||||
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
|
||||
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
|
||||
before l^ ustop/ki
|
||||
switchvoicing g
|
||||
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 s2 // second part of long [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
|
||||
lengthmod 3
|
||||
wave ufric/s_continue
|
||||
before _ ufric/s_
|
||||
before p ufric/s!
|
||||
before t ufric/s!
|
||||
before k ufric/s!
|
||||
switchvoicing z
|
||||
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_continue)
|
||||
endphoneme
|
||||
|
||||
|
||||
Reference in New Issue
Block a user