Typo fixes

This commit is contained in:
Valdis Vitolins
2017-01-13 21:19:59 +02:00
parent fd30bdf026
commit 640f0d8160
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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++;
}