55 bool PrefsIO(
bool read);
60 return 1u << (3 + mWindowSizeChoice);
64 return 1u << (1 + mStepsPerWindowChoice);
68 return 1 + WindowSize() / 2;
72 return WindowSize() / StepsPerWindow();
static Settings & settings()
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
virtual EffectType GetType() const =0
Type determines how it behaves.
TranslatableString GetDescription() const override
bool TrackProgress(int whichTrack, double frac, const TranslatableString &={}) const
ComponentInterfaceSymbol GetSymbol() const override
Performs effect computation.
unsigned StepsPerWindow() const
size_t WindowSize() const
int mStepsPerWindowChoice
int mNoiseReductionChoice
double mFreqSmoothingBands
size_t SpectrumSize() const
A two-pass effect to reduce background noise.
std::unique_ptr< Settings > mSettings
static const ComponentInterfaceSymbol Symbol
std::unique_ptr< Statistics > mStatistics
virtual bool Process(EffectInstance &instance, EffectSettings &settings)=0
Holds a msgid for the translation catalog; may also bind format arguments.
Externalized state of a plug-in.