mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-29 05:51:52 +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:
+78
-70
@@ -4,53 +4,59 @@
|
||||
// to be included here.
|
||||
|
||||
phoneme I
|
||||
vowel starttype (i) endtype (i)
|
||||
vowel starttype #i endtype #i
|
||||
length 120
|
||||
formants vowel/ii_6
|
||||
linkout ;
|
||||
IfNextVowelAppend(;)
|
||||
FMT(vowel/ii_6)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme &
|
||||
vowel starttype (a) endtype (a)
|
||||
vowel starttype #a endtype #a
|
||||
length 140
|
||||
formants vowel/a#
|
||||
FMT(vowel/a#)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme r* // this is [R] from Slovak/Czech
|
||||
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 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_sr%50
|
||||
before _ ustop/t_sr%35
|
||||
switchvoicing d
|
||||
voicingswitch d
|
||||
Vowelin f1=0 f2=1600 -300 300 f3=-100 80
|
||||
Vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
|
||||
IF nextPh(isPause2) THEN
|
||||
WAV(ustop/t_sr, 35)
|
||||
ENDIF
|
||||
WAV(ustop/t_sr, 50)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme d
|
||||
vcd alv stop
|
||||
vowelin f1=2 f2=1700 -300 300 f3=-100 80 amp=16
|
||||
vowelout f1=2 f2=1700 -300 300 f3=-100 80
|
||||
formants d/d_dnt+ustop/t_sr%50
|
||||
before _ d/d_dnt+ustop/t_sr
|
||||
before r d/d_dnt+ustop/t_sr%50
|
||||
after _ d/d_dnt+ustop/t_sr
|
||||
after @ d/d_dnt+ustop/t_sr
|
||||
lengthmod 5
|
||||
switchvoicing t
|
||||
voicingswitch t
|
||||
Vowelin f1=2 f2=1700 -300 300 f3=-100 80 amp=16
|
||||
Vowelout f1=2 f2=1700 -300 300 f3=-100 80
|
||||
|
||||
IF PreVoicing THEN
|
||||
FMT(d/xd)
|
||||
ENDIF
|
||||
|
||||
IF nextPh(isPause2) THEN
|
||||
FMT(d/d_dnt) addWav(ustop/t_sr)
|
||||
ENDIF
|
||||
FMT(d/d_dnt) addWav(ustop/t_sr, 50)
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -58,12 +64,12 @@ endphoneme
|
||||
phoneme x
|
||||
vls vel frc
|
||||
lengthmod 3
|
||||
wave ufric/x_sr%70 // no vowel following
|
||||
before (a) ufric/x_sr
|
||||
before (e) ufric/ch_sr
|
||||
before (i) ufric/ch_sr
|
||||
before (o) ufric/x_sr
|
||||
before (u) ufric/x_sr
|
||||
IF nextPh(#i) OR nextPh(#e) THEN
|
||||
WAV(ufric/ch_sr)
|
||||
ELIF nextPh(isVowel) THEN
|
||||
WAV(ufric/x_sr)
|
||||
ENDIF
|
||||
WAV(ufric/x_sr, 70) // no vowel following
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -71,84 +77,86 @@ endphoneme
|
||||
phoneme h
|
||||
vls vel frc
|
||||
lengthmod 3
|
||||
wave ufric/x_sr%70 // no vowel following
|
||||
before (@) h/h@
|
||||
before (a) ufric/x_sr
|
||||
before (e) ufric/ch_sr
|
||||
before (i) ufric/ch_sr
|
||||
before (o) ufric/x_sr
|
||||
before (u) ufric/x_sr
|
||||
IF nextPh(#@) THEN
|
||||
WAV(h/h@)
|
||||
ELIF nextPh(#i) OR nextPh(#e) THEN
|
||||
WAV(ufric/ch_sr)
|
||||
ELIF nextPh(isVowel) THEN
|
||||
WAV(ufric/x_sr)
|
||||
ENDIF
|
||||
WAV(ufric/x_sr, 70) // no vowel following
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
|
||||
phoneme dZ
|
||||
vcd pla afr sibilant
|
||||
vowelin f1=2 f2=2300 200 400 f3=100 80
|
||||
vowelout f1=2 f2=2300 250 300 f3=100 80 brk
|
||||
formants dzh/dzh+ufric/sh_pzd2
|
||||
before _ dzh/dzh+ufric/sh_pzd2
|
||||
after _ NULL
|
||||
after @ dzh/dzh+ufric/sh_pzd2
|
||||
lengthmod 5
|
||||
switchvoicing tS
|
||||
voicingswitch tS
|
||||
Vowelin f1=2 f2=2300 200 400 f3=100 80
|
||||
Vowelout f1=2 f2=2300 250 300 f3=100 80 brk
|
||||
|
||||
IF PreVoicing THEN
|
||||
FMT(dzh/xdzh)
|
||||
ENDIF
|
||||
|
||||
FMT(dzh/dzh) addWav(ufric/sh_pzd2)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme dZ;
|
||||
vcd pla afr sibilant palatal
|
||||
vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
|
||||
formants dzh/dzh+ustop/ts_sr
|
||||
before _ dzh/dzh+ustop/ts_sr
|
||||
after _ NULL
|
||||
after @ dzh/dzh+ustop/ts_sr
|
||||
lengthmod 5
|
||||
switchvoicing tS;
|
||||
voicingswitch tS;
|
||||
Vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
|
||||
|
||||
IF PreVoicing THEN
|
||||
FMT(dzh/xdzh)
|
||||
ENDIF
|
||||
|
||||
FMT(dzh/dzh) addWav(ustop/ts_sr)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme tS
|
||||
vls pla afr sibilant
|
||||
vowelin f1=0 f2=2300 200 400 f3=-100 80
|
||||
lengthmod 2
|
||||
wave ustop/tsh_sr%50
|
||||
before _ ustop/tsh_sr%50
|
||||
switchvoicing dZ
|
||||
voicingswitch dZ
|
||||
Vowelin f1=0 f2=2300 200 400 f3=-100 80
|
||||
WAV(ustop/tsh_sr, 50)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme tS;
|
||||
vls pal afr sibilant palatal
|
||||
vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
|
||||
lengthmod 2
|
||||
wave ustop/ts_sr
|
||||
before _ ustop/ts_sr
|
||||
switchvoicing dZ;
|
||||
voicingswitch dZ;
|
||||
Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
|
||||
WAV(ustop/ts_sr)
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
|
||||
phoneme Z
|
||||
vcd pla frc sibilant
|
||||
vowelin f1=0 f2=2000 0 300 f3=-200 80
|
||||
vowelout f1=2 f2=2000 0 300 f3=-200 80 brk
|
||||
formants voc/zh+ufric/sh_pzd2%60
|
||||
before _ voc/zh+ufric/sh_pzd2%50
|
||||
lengthmod 6
|
||||
switchvoicing S
|
||||
voicingswitch S
|
||||
Vowelin f1=0 f2=2000 0 300 f3=-200 80
|
||||
Vowelout f1=2 f2=2000 0 300 f3=-200 80 brk
|
||||
IF nextPh(isPause2) THEN
|
||||
FMT(voc/zh) addWav(ufric/sh_pzd2, 50)
|
||||
ENDIF
|
||||
FMT(voc/zh) addWav(ufric/sh_pzd2, 60)
|
||||
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
|
||||
length 100
|
||||
lengthmod 3
|
||||
wave ufric/sh_pzd2%70
|
||||
before _ ufric/sh_pzd2%60
|
||||
switchvoicing Z
|
||||
voicingswitch Z
|
||||
Vowelin f1=0 f2=2100 100 300 f3=-100 80
|
||||
Vowelout f1=0 f2=2100 100 300 f3=-100 80
|
||||
IF nextPh(isPause2) THEN
|
||||
WAV(ufric/sh_pzd2, 60)
|
||||
ENDIF
|
||||
WAV(ufric/sh_pzd2, 70)
|
||||
endphoneme
|
||||
|
||||
|
||||
Reference in New Issue
Block a user