mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-11 08:30:31 +00:00
Typo fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user