mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
Fix problem in *_rules files. Conditional rules could cause corrupt phoneme strings. Voice files, "replace" command using an "unstressed" phoneme now ensures the syllable is unstressed. lang: us, pronunciation changes, use new phonemeeeeeeeee [@/] (at end of words) and [O]. lang: fr, pronunciation changes. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@197 d46cf337-b52f-0410-862d-fd96e6ae7743
301 lines
4.5 KiB
Plaintext
301 lines
4.5 KiB
Plaintext
|
|
|
|
//*******************************************************************
|
|
// VOWELS
|
|
//*******************************************************************
|
|
|
|
|
|
phoneme 3 // Schwa, used for rhotic schwa in American
|
|
vowel starttype (@) endtype (@)
|
|
formants vwl_en_us/3_us
|
|
unstressed
|
|
linkout r-
|
|
// beforevowel @
|
|
length 210
|
|
endphoneme
|
|
|
|
|
|
phoneme @ // Schwa
|
|
vowel starttype (@) endtype (@)
|
|
formants vowel/@_4
|
|
unstressed
|
|
length 130
|
|
endphoneme
|
|
|
|
phoneme @/ // Schwa, ebd of word
|
|
vowel starttype (@) endtype (@)
|
|
formants vowel/@_6
|
|
unstressed
|
|
length 130
|
|
endphoneme
|
|
|
|
|
|
phoneme @L
|
|
vowel starttype (@) endtype l
|
|
length 160
|
|
formants vwl_en/@L
|
|
unstressed
|
|
before _ vwl_en/@L
|
|
endphoneme
|
|
|
|
|
|
phoneme a
|
|
vowel starttype (e) endtype (@)
|
|
length 210
|
|
formants vwl_en_us/a
|
|
before n vnasal/ee_n2
|
|
before N vnasal/ee_n2
|
|
before m vnasal/ee_n2
|
|
reduceto a2 0
|
|
endphoneme
|
|
|
|
|
|
phoneme aa // 'bath' etc.
|
|
vowel starttype (a) endtype (@)
|
|
length 210
|
|
formants vwl_en_us/a
|
|
linkout r-
|
|
endphoneme
|
|
|
|
|
|
phoneme a2
|
|
vowel starttype (@) endtype (@)
|
|
unstressed
|
|
length 150
|
|
formants vowel/a#_3
|
|
linkout r-
|
|
endphoneme
|
|
|
|
|
|
phoneme E
|
|
vowel starttype (e) endtype (e)
|
|
length 195
|
|
formants vwl_en_us/ee
|
|
reduceto I2 0
|
|
endphoneme
|
|
|
|
|
|
phoneme I
|
|
vowel starttype (i) endtype (i)
|
|
length 160
|
|
formants vowel/ii_4
|
|
linkout ;
|
|
reduceto I2 0
|
|
endphoneme
|
|
|
|
|
|
phoneme I2
|
|
vowel starttype (i) endtype (i)
|
|
unstressed
|
|
length 160
|
|
formants vowel/ii#_3
|
|
linkout ;
|
|
endphoneme
|
|
|
|
|
|
phoneme i // optional variant of [I] for end of words
|
|
vowel starttype (i) endtype (i)
|
|
unstressed
|
|
length 170
|
|
formants vowel/ii_final
|
|
linkout ;
|
|
endphoneme
|
|
|
|
|
|
phoneme 0
|
|
vowel starttype (a) endtype (a)
|
|
length 200
|
|
formants vowel/aa_8
|
|
before r vwl_en_us/oor
|
|
reduceto @ 0
|
|
endphoneme
|
|
|
|
|
|
phoneme V
|
|
vowel starttype (a) endtype (@)
|
|
length 180
|
|
formants vowel/V_6
|
|
reduceto @ 0
|
|
endphoneme
|
|
|
|
|
|
phoneme U
|
|
vowel starttype (o) endtype (o)
|
|
length 145
|
|
formants vowel/8_2
|
|
endphoneme
|
|
|
|
|
|
phoneme A:
|
|
vowel starttype (a) endtype (a)
|
|
length 210
|
|
formants vowel/aa_8
|
|
before r vwl_en_us/ar
|
|
linkout r-
|
|
endphoneme
|
|
|
|
|
|
phoneme A@ // Used for [A:] when followed by 'r', becomes [A:]+[r] in American
|
|
vowel starttype (a) endtype (@)
|
|
length 250
|
|
formants vwl_en_us/ar
|
|
appendph r
|
|
endphoneme
|
|
|
|
|
|
phoneme 3:
|
|
vowel starttype (@) endtype (@)
|
|
length 240
|
|
formants vwl_en_us/3_us2
|
|
linkout r-
|
|
endphoneme
|
|
|
|
|
|
phoneme i:
|
|
vowel starttype (i) endtype (i)
|
|
length 170
|
|
formants vowel/i_en
|
|
linkout ;
|
|
endphoneme
|
|
|
|
|
|
phoneme O:
|
|
vowel starttype (a) endtype (a)
|
|
length 210
|
|
formants vowel/aa_4
|
|
// formants vowel/aa_4
|
|
before r vwl_en_us/oor
|
|
// before r vwl_en_us/or
|
|
reduceto @ 0
|
|
endphoneme
|
|
|
|
|
|
phoneme O@
|
|
vowel starttype (o) endtype (@)
|
|
length 250
|
|
formants vwl_en_us/oor
|
|
// formants vwl_en_us/or
|
|
appendph r
|
|
endphoneme
|
|
|
|
|
|
phoneme o@
|
|
vowel starttype (o) endtype (@)
|
|
length 250
|
|
formants vwl_en_us/or
|
|
appendph r
|
|
endphoneme
|
|
|
|
|
|
phoneme O
|
|
vowel starttype (a) endtype (a)
|
|
length 200
|
|
formants vowel/aa#
|
|
reduceto @ 0
|
|
endphoneme
|
|
|
|
|
|
phoneme u:
|
|
vowel starttype (u) endtype (u)
|
|
length 180
|
|
formants vdiph2/uw
|
|
endphoneme
|
|
|
|
|
|
phoneme aU
|
|
vowel starttype (a) endtype (o)
|
|
length 235
|
|
formants vdiph/aoo
|
|
endphoneme
|
|
|
|
|
|
phoneme oU
|
|
vowel starttype (@) endtype (u)
|
|
length 230
|
|
formants vdiph/8u
|
|
endphoneme
|
|
|
|
|
|
phoneme aI
|
|
vowel starttype (a) endtype (i)
|
|
length 250
|
|
formants vdiph/aae
|
|
endphoneme
|
|
|
|
|
|
phoneme eI
|
|
vowel starttype (e) endtype (i)
|
|
length 230
|
|
formants vdiph2/ei_4
|
|
endphoneme
|
|
|
|
|
|
phoneme OI
|
|
vowel starttype (o) endtype (i)
|
|
length 285
|
|
formants vdiph/ooi_4
|
|
endphoneme
|
|
|
|
|
|
phoneme e@
|
|
vowel starttype (e) endtype (@)
|
|
length 270
|
|
formants vwl_en_us/er
|
|
appendph r
|
|
endphoneme
|
|
|
|
|
|
phoneme i@3
|
|
vowel starttype (i) endtype (@)
|
|
length 250
|
|
formants vwl_en_us/ir
|
|
appendph r
|
|
endphoneme
|
|
|
|
|
|
phoneme U@
|
|
vowel starttype (@) endtype (@)
|
|
length 240
|
|
formants vwl_en_us/ur
|
|
linkout r-
|
|
endphoneme
|
|
|
|
|
|
phoneme aI@
|
|
vowel starttype (a) endtype (@)
|
|
length 260
|
|
formants vwl_en_us/ai@
|
|
linkout r-
|
|
endphoneme
|
|
|
|
|
|
phoneme aU@
|
|
vowel starttype (a) endtype (@)
|
|
length 260
|
|
formants vwl_en/aU@
|
|
linkout r-
|
|
endphoneme
|
|
|
|
|
|
//==============
|
|
// Consonants
|
|
//==============
|
|
|
|
phoneme r/ // used for [r] when not preceding a vowel
|
|
liquid
|
|
length 100
|
|
lengthmod 2 //
|
|
formants NULL
|
|
endphoneme
|
|
|
|
|
|
phoneme t# // reduced [t] as in "city"
|
|
vcd alv stop
|
|
vowelin f1=1 f2=1700 -300 300 f3=-100 80
|
|
vowelout f1=2 f2=1700 -300 300 f3=-100 80
|
|
formants d/tap2+x/d%70
|
|
after @ d/x_tap
|
|
lengthmod 5
|
|
endphoneme
|
|
|