mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 14:47:26 +00:00
Fix: Events callback, fix word length information for words with multibyte characters. Fix: Re-translating a word in a different language after the first langauge has started speaking individual letters, gave silence. Announce punctuation. If character name is not defined, use English. Announce punctuation. Fix pitch of the voice which announces punctuation characters. [[Phonemes]] text input. Allow the language-switch phoneme eg. [[_^_EN hEloU _^_FR]] in the input. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@152 d46cf337-b52f-0410-862d-fd96e6ae7743
282 lines
4.2 KiB
Plaintext
282 lines
4.2 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 @L
|
|
vowel starttype (@) endtype l
|
|
length 160
|
|
formants vwl_en/@L
|
|
unstressed
|
|
before _ vwl_en/@L
|
|
endphoneme
|
|
|
|
|
|
phoneme a
|
|
vowel starttype (a) endtype (@)
|
|
length 210
|
|
formants vwl_en_us/a
|
|
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 185
|
|
// formants vowel/ee_2
|
|
formants vwl_en_us/ee
|
|
reduceto I 0
|
|
endphoneme
|
|
|
|
|
|
phoneme I
|
|
vowel starttype (i) endtype (i)
|
|
length 155
|
|
formants vwl_en_us/ii
|
|
linkout ;
|
|
endphoneme
|
|
|
|
|
|
phoneme I2
|
|
vowel starttype (i) endtype (i)
|
|
unstressed
|
|
length 155
|
|
formants vwl_en_us/ii
|
|
linkout ;
|
|
endphoneme
|
|
|
|
|
|
phoneme i // optional variant of [I] for end of words
|
|
vowel starttype (i) endtype (i)
|
|
length 190
|
|
// formants vwl_en_us/i_final3
|
|
formants vowel/i#
|
|
linkout ;
|
|
endphoneme
|
|
|
|
|
|
phoneme 0
|
|
vowel starttype (o) endtype (o)
|
|
length 190
|
|
formants vowel/aa_8
|
|
reduceto @ 0
|
|
endphoneme
|
|
|
|
|
|
phoneme V
|
|
vowel starttype (a) endtype (@)
|
|
length 155
|
|
formants vowel/V_6
|
|
reduceto @ 0
|
|
endphoneme
|
|
|
|
|
|
phoneme U
|
|
vowel starttype (o) endtype (o)
|
|
length 140
|
|
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_us
|
|
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
|
|
before r vwl_en_us/or
|
|
reduceto @ 0
|
|
endphoneme
|
|
|
|
|
|
phoneme O@
|
|
vowel starttype (o) endtype (@)
|
|
length 260
|
|
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_4
|
|
reduceto @ 0
|
|
endphoneme
|
|
|
|
|
|
phoneme u:
|
|
vowel starttype (u) endtype (u)
|
|
length 170
|
|
formants vowel/u#_6
|
|
// formants vowel/u#_5
|
|
endphoneme
|
|
|
|
|
|
phoneme aU
|
|
vowel starttype (a) endtype (o)
|
|
length 235
|
|
formants vdiph/aoo
|
|
endphoneme
|
|
|
|
|
|
phoneme oU
|
|
vowel starttype (@) endtype (u)
|
|
length 235
|
|
formants vdiph/8u
|
|
endphoneme
|
|
|
|
|
|
phoneme aI
|
|
vowel starttype (a) endtype (i)
|
|
length 235
|
|
formants vdiph/aae
|
|
endphoneme
|
|
|
|
|
|
phoneme eI
|
|
vowel starttype (e) endtype (i)
|
|
length 225
|
|
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 230
|
|
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
|
|
|