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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user