mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-04 22:38:33 +00:00
Fix error in big-endian data conversion program, producing bad data. Make geminated voiced stops (eg. [bb] ) longer at fast speeds. Provide conditional compilation of the mbrola interface, define macro INCLUDE_MBROLA in speech.h Mbrola: also look for mbrola voices in /usr/share/mbrola/voices Pad TUNES and frame_t structures to a multiple of 4 bytes. lang=da, Don't weaken unvoiced stops before pause. lang=el, Remove final unstressed [a] if the next word starts with [a]. lang=pt, Change final [U] to [w] if next word starts with a vowel. espeak 1.44.03 Fixes: Lang=el, mk. Was speaking words as individual letters. Lang=pl. Fix prounciation of 'ć' and 'ci'. Fix crash in big-endian data conversion program. Fix problem where changing voices reduces the speaking rate, at fast rates. speak_lib.h: add macro definitions for minimum, maximum, and normal speaking rate values. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@253 d46cf337-b52f-0410-862d-fd96e6ae7743
86 lines
1.4 KiB
Plaintext
86 lines
1.4 KiB
Plaintext
|
|
//====================================================
|
|
// Greek - based on base2
|
|
//====================================================
|
|
|
|
|
|
phoneme a
|
|
vowel starttype #a endtype #a
|
|
length 180
|
|
|
|
IF thisPh(isWordEnd) AND thisPh(isNotStressed) AND nextPh(a) THEN
|
|
ChangePhoneme(NULL)
|
|
ENDIF
|
|
|
|
IF thisPh(isDiminished) THEN
|
|
FMT(vowel/a_4)
|
|
ENDIF
|
|
FMT(vowel/a_2)
|
|
endphoneme
|
|
|
|
|
|
phoneme e
|
|
vowel starttype #e endtype #e
|
|
length 180
|
|
FMT(vowel/e_mid2)
|
|
endphoneme
|
|
|
|
phoneme i
|
|
vowel starttype #i endtype #i
|
|
length 140
|
|
IfNextVowelAppend(;)
|
|
FMT(vowel/i)
|
|
endphoneme
|
|
|
|
phoneme o
|
|
vowel starttype #o endtype #o
|
|
length 180
|
|
FMT(vowel/oo)
|
|
endphoneme
|
|
|
|
|
|
|
|
// CONSONANTS
|
|
|
|
phoneme t // revert to alveolar /t/
|
|
vls alv stop
|
|
lengthmod 2
|
|
voicingswitch d
|
|
Vowelin f1=1 f2=1600 -300 300 f3=-100 80 amp=11
|
|
Vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
|
|
IF nextPh(isPause2) THEN
|
|
WAV(ustop/t_unasp2)
|
|
ENDIF
|
|
WAV(ustop/t_unasp2)
|
|
endphoneme
|
|
|
|
|
|
phoneme d // revert to alveolar /d/
|
|
import_phoneme base/d
|
|
voicingswitch t
|
|
endphoneme
|
|
|
|
|
|
phoneme k
|
|
vls vel stop
|
|
lengthmod 2
|
|
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_)
|
|
ELIF nextPh(isRhotic) THEN
|
|
WAV(ustop/kr)
|
|
ELIF nextPh(l) THEN
|
|
WAV(ustop/kl)
|
|
ENDIF
|
|
WAV(ustop/k_unasp, 70)
|
|
endphoneme
|
|
|
|
|
|
phoneme r
|
|
import_phoneme base/R2
|
|
endphoneme
|
|
|