1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-08 20:52:09 +01:00

Removal of all the stuff marked as 'Experimental CLEANSPEECH' about a year ago.

This commit is contained in:
martynshaw99
2013-04-29 23:23:14 +00:00
parent 4ca5984081
commit 1af35d4168
20 changed files with 4 additions and 1220 deletions

View File

@@ -66,16 +66,6 @@ BatchProcessDialog::BatchProcessDialog(wxWindow * parent):
{
AudacityProject * p = GetActiveProject();
#ifdef CLEANSPEECH
if (p->GetCleanSpeechMode())
{
/*i18n-hint: CleanSpeech is the name of a mode Audacity can operate
* in that was invented to process lots of sermons, remove long
* pauses and background noise.*/
SetTitle(_("CleanSpeech Batch Processing"));
}
#endif // CLEANSPEECH
SetLabel(_("Apply Chain")); // Provide visual label
SetName(_("Apply Chain")); // Provide audible label
Populate();
@@ -128,11 +118,7 @@ void BatchProcessDialog::PopulateOrExchange(ShuttleGui &S)
}
// Get and validate the currently active chain
#ifdef CLEANSPEECH
wxString name = gPrefs->Read(wxT("/Batch/ActiveChain"), wxT("CleanSpeech"));
#else
wxString name = gPrefs->Read(wxT("/Batch/ActiveChain"), wxT(""));
#endif // CLEANSPEECH
int item = mChains->FindItem(-1, name);
if (item == -1) {
@@ -218,14 +204,7 @@ void BatchProcessDialog::OnApplyToFiles(wxCommandEvent &event)
}
wxString path = gPrefs->Read(wxT("/DefaultOpenPath"), ::wxGetCwd());
#ifdef CLEANSPEECH
wxString prompt = project->GetCleanSpeechMode() ?
_("Select vocal file(s) for batch CleanSpeech Chain...") :
_("Select file(s) for batch processing...");
// CleanSpeech used to hard-code a restricted file type list here
#else
wxString prompt = _("Select file(s) for batch processing...");
#endif // CLEANSPEECH
FormatList l;
wxString filter;
@@ -442,11 +421,7 @@ void EditChainsDialog::Populate()
// ----------------------- End of main section --------------
// Get and validate the currently active chain
#ifdef CLEANSPEECH
mActiveChain = gPrefs->Read(wxT("/Batch/ActiveChain"), wxT("CleanSpeech"));
#else
mActiveChain = gPrefs->Read(wxT("/Batch/ActiveChain"), wxT(""));
#endif // CLEANSPEECH
// Go populate the chains list.
PopulateChains();