2014-11-10 21:30:44 +00:00
|
|
|
/**********************************************************************
|
|
|
|
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
|
|
|
|
NoiseReduction.h
|
|
|
|
|
|
|
|
Dominic Mazzoni
|
|
|
|
Vaughan Johnson (Preview)
|
|
|
|
Paul Licameli
|
|
|
|
|
|
|
|
**********************************************************************/
|
|
|
|
|
|
|
|
#ifndef __AUDACITY_EFFECT_NOISE_REDUCTION__
|
|
|
|
#define __AUDACITY_EFFECT_NOISE_REDUCTION__
|
|
|
|
|
|
|
|
#include "Effect.h"
|
|
|
|
|
2016-02-14 18:23:08 +00:00
|
|
|
#include "../MemoryX.h"
|
2014-11-10 21:30:44 +00:00
|
|
|
|
2015-04-19 03:49:05 +00:00
|
|
|
#define NOISEREDUCTION_PLUGIN_SYMBOL XO("Noise Reduction")
|
2015-04-17 03:53:42 +00:00
|
|
|
|
2016-02-24 06:06:39 +00:00
|
|
|
class EffectNoiseReduction final : public Effect {
|
2014-11-10 21:30:44 +00:00
|
|
|
public:
|
|
|
|
|
|
|
|
EffectNoiseReduction();
|
|
|
|
virtual ~EffectNoiseReduction();
|
|
|
|
|
|
|
|
using Effect::TrackProgress;
|
|
|
|
|
2015-04-17 03:53:42 +00:00
|
|
|
// IdentInterface implementation
|
|
|
|
|
2016-02-24 06:06:47 +00:00
|
|
|
wxString GetSymbol() override;
|
|
|
|
wxString GetDescription() override;
|
2015-04-17 03:53:42 +00:00
|
|
|
|
|
|
|
// EffectIdentInterface implementation
|
|
|
|
|
2016-02-24 06:06:47 +00:00
|
|
|
EffectType GetType() override;
|
2015-04-17 03:53:42 +00:00
|
|
|
|
|
|
|
// Effect implementation
|
|
|
|
|
|
|
|
// using Effect::TrackProgress;
|
2014-11-10 21:30:44 +00:00
|
|
|
|
2016-02-24 06:06:47 +00:00
|
|
|
bool PromptUser(wxWindow *parent) override;
|
2014-11-10 21:30:44 +00:00
|
|
|
|
2016-02-24 06:06:47 +00:00
|
|
|
bool Init() override;
|
|
|
|
bool CheckWhetherSkipEffect() override;
|
|
|
|
bool Process() override;
|
2014-11-10 21:30:44 +00:00
|
|
|
|
|
|
|
class Settings;
|
|
|
|
class Statistics;
|
|
|
|
class Dialog;
|
|
|
|
|
|
|
|
private:
|
|
|
|
class Worker;
|
2014-11-14 04:18:23 +00:00
|
|
|
friend class Dialog;
|
2014-11-10 21:30:44 +00:00
|
|
|
|
2016-02-06 01:27:09 +00:00
|
|
|
std::unique_ptr<Settings> mSettings;
|
|
|
|
std::unique_ptr<Statistics> mStatistics;
|
2014-11-10 21:30:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|