Browse Source

Remove the remaining SPECT_EDITOR code from espeakedit.

master
Reece H. Dunn 9 years ago
parent
commit
cc66180705
1 changed files with 0 additions and 13 deletions
  1. 0
    13
      src/libespeak-ng/wavegen.c

+ 0
- 13
src/libespeak-ng/wavegen.c View File

@@ -747,11 +747,6 @@ int PeaksToHarmspect(wavegen_peaks_t *peaks, int pitch, int *htab, int control)
int ix;
int h1;

#ifdef SPECT_EDITOR
if (harm_sqrt_n > 0)
return HarmToHarmspect(pitch, htab);
#endif

// initialise as much of *out as we will need
if (wvoice == NULL)
return 1;
@@ -888,14 +883,6 @@ static void AdvanceParameters()
if ((peaks[ix].height = (int)peaks[ix].height1) < 0)
peaks[ix].height = 0;
}

#ifdef SPECT_EDITOR
if (harm_sqrt_n != 0) {
// We are generating from a harmonic spectrum at a given pitch, not from formant peaks
for (ix = 0; ix < harm_sqrt_n; ix++)
harm_sqrt[ix] += harm_sqrt_inc[ix];
}
#endif
}

#ifndef PLATFORM_RISCOS

Loading…
Cancel
Save