1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

reassignment added to list of algorithms in settings and preferences

This commit is contained in:
Paul Licameli
2015-05-31 14:58:20 -04:00
parent c4f7e25c1c
commit 1f94d99c43
3 changed files with 6 additions and 2 deletions

View File

@@ -190,6 +190,8 @@ const wxArrayString &SpectrogramSettings::GetAlgorithmNames()
if (theArray.IsEmpty()) {
// Keep in correspondence with enum SpectrogramSettings::Algorithm:
theArray.Add(_("Frequencies"));
/* i18n-hint: the Reassignment algorithm for spectrograms */
theArray.Add(_("Reassignment"));
/* i18n-hint: EAC abbreviates "Enhanced Autocorrelation" */
theArray.Add(_("Pitch (EAC)"));
}
@@ -557,7 +559,7 @@ int SpectrogramSettings::GetFFTLength() const
{
return windowSize
#ifdef EXPERIMENTAL_ZERO_PADDED_SPECTROGRAMS
* ((algorithm == algSTFT) ? zeroPaddingFactor : 1);
* ((algorithm != algPitchEAC) ? zeroPaddingFactor : 1);
#endif
;
}