13#ifndef __AUDACITY_EFFECT_NOISE__
14#define __AUDACITY_EFFECT_NOISE__
18#include <wx/weakref.h>
47 const float *
const *inBlock,
float *
const *outBlock,
size_t blockLen)
85 L
"Amplitude", 0.8, 0.0, 1.0, 1 };
static Settings & settings()
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
Performs effect computation.
An effect to add white noise.
TranslatableString GetDescription() const override
static constexpr EffectParameter Amp
size_t ProcessBlock(EffectSettings &settings, const float *const *inBlock, float *const *outBlock, size_t blockLen) override
Called for destructive effect computation.
bool TransferDataFromWindow(EffectSettings &settings) override
ManualPageID ManualPage() const override
Name of a page in the Audacity alpha manual, default is empty.
static const EnumValueSymbol kTypeStrings[nTypes]
static constexpr EnumParameter Type
const EffectParameterMethods & Parameters() const override
std::unique_ptr< EffectEditor > PopulateOrExchange(ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) override
Add controls to effect panel; always succeeds.
NumericTextCtrl * mNoiseDurationT
unsigned GetAudioOutCount() const override
How many output buffers to allocate at once.
ComponentInterfaceSymbol GetSymbol() const override
wxWeakRef< wxWindow > mUIParent
static const ComponentInterfaceSymbol Symbol
bool TransferDataToWindow(const EffectSettings &settings) override
static EffectNoise * FetchParameters(EffectNoise &e, EffectSettings &)
EffectType GetType() const override
Type determines how it behaves.
bool ProcessInitialize(EffectSettings &settings, double sampleRate, ChannelNames chanMap) override
Hold values to send to effect output meters.
Interface for manipulations of an Effect's settings.
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Base class for many of the effects in Audacity.
Holds a msgid for the translation catalog; may also bind format arguments.
Externalized state of a plug-in.