diff --git a/src/libespeak-ng/klatt.c b/src/libespeak-ng/klatt.c index 29bf9d05..78254409 100644 --- a/src/libespeak-ng/klatt.c +++ b/src/libespeak-ng/klatt.c @@ -1000,9 +1000,7 @@ static void SetSynth_Klatt(int length, frame_t *fr1, frame_t *fr2, voice_t *wvoi if ((cmd == WCMD_WAVE) || (cmd == WCMD_PAUSE)) break; // next is not from spectrum, so continue until end of wave cycle } - } - if (control & 1) { for (ix = 1; ix < 6; ix++) { if (prev_fr.ffreq[ix] != fr1->ffreq[ix]) { // Discontinuity in formants. diff --git a/src/libespeak-ng/soundicon.c b/src/libespeak-ng/soundicon.c index 7b883528..3d124d80 100644 --- a/src/libespeak-ng/soundicon.c +++ b/src/libespeak-ng/soundicon.c @@ -98,8 +98,8 @@ static espeak_ng_STATUS LoadSoundFile(const char *fname, int index, espeak_ng_ER strcpy(fname_temp, tmpnam(NULL)); #endif - sprintf(command, "sox \"%s\" -r %d -c1 -b 16 -t wav %s\n", fname, samplerate, fname_temp); - if (system(command) == 0) +// sprintf(command, "sox \"%s\" -r %d -c1 -b 16 -t wav %s\n", fname, samplerate, fname_temp); +// if (system(command) == 0) fname = fname_temp; } }