diff --git a/src/libespeak-ng/voices.c b/src/libespeak-ng/voices.c index e0e14be7..848abec7 100644 --- a/src/libespeak-ng/voices.c +++ b/src/libespeak-ng/voices.c @@ -408,7 +408,7 @@ void VoiceReset(int tone_only) voice->height[pk] = default_heights[pk]*2; voice->width[pk] = default_widths[pk]*2; voice->breath[pk] = 0; - voice->breathw[pk] = breath_widths[pk]; // default breath formant woidths + voice->breathw[pk] = breath_widths[pk]; // default breath formant widths voice->freqadd[pk] = 0; // adjust formant smoothing depending on sample rate diff --git a/src/libespeak-ng/wavegen.c b/src/libespeak-ng/wavegen.c index 5bd3da20..c04e7ac6 100644 --- a/src/libespeak-ng/wavegen.c +++ b/src/libespeak-ng/wavegen.c @@ -638,7 +638,7 @@ static void SetBreath() for (pk = 1; pk < N_PEAKS; pk++) { if (wvoice->breath[pk] != 0) { // breath[0] indicates that some breath formants are needed - // set the freq from the current ynthesis formant and the width from the voice data + // set the freq from the current synthesis formant and the width from the voice data setresonator(&rbreath[pk], peaks[pk].freq >> 16, wvoice->breathw[pk], 0); } } @@ -727,7 +727,7 @@ int Wavegen() for (h = 1; h < N_LOWHARM && h <= maxh2 && h <= maxh; h++) harmspect[h] += harm_inc[h]; - // bring automctic gain control back towards unity + // bring automatic gain control back towards unity if (agc < 256) agc++; }