mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-04 06:32:20 +00:00
[1.26.04] lang=pl, fixed bug where "nie" duplicated the next word.
Added attributes in voice file: voicing, breath, breathw. Added "en-wisper" voice. espeakedit, fixed crash when playing sounds using a voice file with a high pitch. lang=it, use phoneme [u], not [U] Added directory docs to svn. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@45 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+4
-2
@@ -962,7 +962,8 @@ void SpectSeq::MakeWave(int start, int end, PitchEnvelope &pitch)
|
||||
// }
|
||||
|
||||
len_samples = int(((total_length * lfactor + 50) * samplerate) / 1000);
|
||||
SetPitch(len_samples,pitch.env,pitch.pitch1-pbase,pitch.pitch2-pbase);
|
||||
// SetPitch(len_samples,pitch.env,pitch.pitch1-pbase,pitch.pitch2-pbase);
|
||||
SetPitch(len_samples,pitch.env,9,44);
|
||||
|
||||
fname_speech = WavFileName();
|
||||
OpenWaveFile2(fname_speech);
|
||||
@@ -1038,7 +1039,8 @@ void SpectFrame::MakeWave(int control, PitchEnvelope &pitche, int amplitude, int
|
||||
|
||||
len_samples = (length * samplerate) / 1000;
|
||||
pbase = voice->pitch_base >> 12;
|
||||
SetPitch(len_samples + 50,pitche.env,pitche.pitch1-pbase,pitche.pitch2-pbase);
|
||||
// SetPitch(len_samples + 50,pitche.env,pitche.pitch1-pbase,pitche.pitch2-pbase);
|
||||
SetPitch(len_samples + 50,pitche.env,9,44);
|
||||
|
||||
fname_speech = WavFileName();
|
||||
if(OpenWaveFile2(fname_speech) != 0)
|
||||
|
||||
Reference in New Issue
Block a user