mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
Fix: Speak punctuation option also caused text after [[ to be spoken as phoneme codes even if espeakPHONEMES flag is not set. Speak sequences of letters and dots as individual letters, and don't speak 'dot', eg. "u.s.a." Don't announce punctuation in the alternative text inside <audio ... </audio> Vowelcharts, show the positions of multiple FMT() in vowel phonemes definitions. Phoneme definitions: New attributes: flag1, flag2, flag3 New attribute: nopause. Prevents the insertion of a short pause when this phoneme starts a word which follows a vowel. New conditions: isFlag1, isFlag2, isFlag3, isSibilant. New statement: InsertPhoneme() Phonemes: improve syllablic [m-] [n-] [N-] *_rules: add attributes $p_alt .. $p_alt3, $w_alt .. $w_alt3 *_list: add attributes: $sentence, $atstart klatt synthesizer: implement echo. espeakedit, Prosody display: Indicate stressed and secondary-stress syllables. espeakedit: remember window size and position. Intonation: New file, 'phsource/intonation' to define 'tunes' which can be used from voice files. espeakedit: add Compile -> Intonationm data Speed: Increase range to 80 to 450, with default=175. Improve speaking at high speeds. lang=en: Reduce consecutive unstressed syllables to 'diminished' stress, only in unstressed words. lang=de: Change 'r' phoneme. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@244 d46cf337-b52f-0410-862d-fd96e6ae7743
227 lines
3.1 KiB
Plaintext
227 lines
3.1 KiB
Plaintext
|
|
|
|
//*******************************************************************
|
|
// VOWELS
|
|
//*******************************************************************
|
|
|
|
phoneme @ // Schwa
|
|
vowel starttype #@ endtype #@
|
|
unstressed
|
|
length 140
|
|
IfNextVowelAppend(r-)
|
|
FMT(vowel/@_fnt)
|
|
endphoneme
|
|
|
|
|
|
phoneme @2 // Schwa, changes to I before a vowel
|
|
vowel starttype #@ endtype #@
|
|
unstressed
|
|
length 120
|
|
IF nextPh(isVowel) THEN
|
|
ChangePhoneme(I2)
|
|
ENDIF
|
|
FMT(vowel/@_fnt)
|
|
endphoneme
|
|
|
|
|
|
phoneme a
|
|
vowel starttype #a endtype #a
|
|
length 160
|
|
FMT(vowel/a_2)
|
|
endphoneme
|
|
|
|
|
|
phoneme E
|
|
vowel starttype #e endtype #e
|
|
length 170
|
|
ChangeIfDiminished(I2)
|
|
FMT(vowel/e)
|
|
endphoneme
|
|
|
|
|
|
phoneme I
|
|
vowel starttype #i endtype #i
|
|
length 140
|
|
IfNextVowelAppend(;)
|
|
FMT(vowel/ii_6)
|
|
endphoneme
|
|
|
|
|
|
phoneme I2
|
|
vowel starttype #i endtype #i
|
|
unstressed
|
|
length 140
|
|
IfNextVowelAppend(;)
|
|
FMT(vowel/ii_6)
|
|
endphoneme
|
|
|
|
|
|
phoneme i // optional variant of [I] for end of words
|
|
vowel starttype #i endtype #i
|
|
length 150
|
|
IfNextVowelAppend(;)
|
|
FMT(vowel/i)
|
|
endphoneme
|
|
|
|
|
|
phoneme 0
|
|
vowel starttype #a endtype #a
|
|
length 140
|
|
FMT(vowel/aa#)
|
|
endphoneme
|
|
|
|
|
|
phoneme V
|
|
vowel starttype #o endtype #o
|
|
length 140
|
|
FMT(vowel/oo_4)
|
|
endphoneme
|
|
|
|
|
|
phoneme U
|
|
vowel starttype #o endtype #o
|
|
length 150
|
|
FMT(vowel/uu_bck)
|
|
endphoneme
|
|
|
|
|
|
phoneme a#
|
|
vowel starttype #@ endtype #@
|
|
unstressed
|
|
length 140
|
|
FMT(vowel/a#)
|
|
endphoneme
|
|
|
|
|
|
phoneme A:
|
|
vowel starttype #a endtype #@
|
|
length 240
|
|
FMT(vowel/a_2)
|
|
endphoneme
|
|
|
|
|
|
phoneme A@
|
|
vowel starttype #a endtype #@
|
|
length 260
|
|
IfNextVowelAppend(r-)
|
|
FMT(vowel/a_2)
|
|
endphoneme
|
|
|
|
|
|
phoneme aa // 'bath' etc.
|
|
vowel starttype #a endtype #a
|
|
length 210
|
|
FMT(vowel/a_2)
|
|
endphoneme
|
|
|
|
|
|
phoneme 3:
|
|
vowel starttype #o endtype #o
|
|
length 240
|
|
IfNextVowelAppend(r-)
|
|
FMT(vowel/oo_4)
|
|
endphoneme
|
|
|
|
|
|
phoneme i:
|
|
vowel starttype #i endtype #i
|
|
length 190
|
|
IfNextVowelAppend(;)
|
|
FMT(vowel/i_fnt)
|
|
endphoneme
|
|
|
|
|
|
phoneme O:
|
|
vowel starttype #o endtype #o
|
|
length 240
|
|
FMT(vowel/oo)
|
|
endphoneme
|
|
|
|
|
|
phoneme O@
|
|
vowel starttype #o endtype #@
|
|
length 240
|
|
IfNextVowelAppend(r-)
|
|
FMT(vowel/oo)
|
|
endphoneme
|
|
|
|
|
|
phoneme o@
|
|
vowel starttype #o endtype #@
|
|
length 240
|
|
IfNextVowelAppend(r-)
|
|
FMT(vdiph2/o_oo)
|
|
endphoneme
|
|
|
|
|
|
phoneme O
|
|
vowel starttype #o endtype #o
|
|
length 150
|
|
FMT(vowel/oo)
|
|
endphoneme
|
|
|
|
|
|
phoneme u:
|
|
vowel starttype #u endtype #u
|
|
length 190
|
|
FMT(vowel/u)
|
|
endphoneme
|
|
|
|
|
|
phoneme aU
|
|
vowel starttype #a endtype #u
|
|
length 230
|
|
FMT(vdiph/aau_2)
|
|
endphoneme
|
|
|
|
|
|
phoneme oU
|
|
vowel starttype #o endtype #o
|
|
length 230
|
|
FMT(vowel/o)
|
|
endphoneme
|
|
|
|
|
|
phoneme aI
|
|
vowel starttype #a endtype #i
|
|
length 230
|
|
FMT(vdiph/ai)
|
|
endphoneme
|
|
|
|
|
|
phoneme eI
|
|
vowel starttype #i endtype #i
|
|
length 210
|
|
FMT(vowel/e)
|
|
endphoneme
|
|
|
|
|
|
phoneme OI
|
|
vowel starttype #o endtype #i
|
|
length 230
|
|
FMT(vdiph/0i_2)
|
|
endphoneme
|
|
|
|
|
|
phoneme e@
|
|
vowel starttype #e endtype #@
|
|
length 220
|
|
IfNextVowelAppend(r-)
|
|
FMT(vdiph2/e@)
|
|
endphoneme
|
|
|
|
|
|
phoneme i@
|
|
vowel starttype #i endtype #a
|
|
length 240
|
|
IfNextVowelAppend(r-)
|
|
FMT(vdiph2/ie)
|
|
endphoneme
|
|
|
|
|
|
|
|
phoneme l
|
|
import_phoneme base/l // use clear [l] before not-vowel
|
|
endphoneme
|
|
|