Audacity 3.2.0
Noise.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 Noise.h
6
7 Dominic Mazzoni
8
9 An effect to add white noise.
10
11**********************************************************************/
12
13#ifndef __AUDACITY_EFFECT_NOISE__
14#define __AUDACITY_EFFECT_NOISE__
15
16#include "NoiseBase.h"
18#include <wx/weakref.h>
19
20class NumericTextCtrl;
21class ShuttleGui;
22
24{
25public:
26 std::unique_ptr<EffectEditor> PopulateOrExchange(
28 const EffectOutputs* pOutputs) override;
29 bool TransferDataToWindow(const EffectSettings& settings) override;
31
32private:
34 wxWeakRef<wxWindow> mUIParent {};
35};
36
37#endif
#define S(N)
Definition: ToChars.cpp:64
static Settings & settings()
Definition: TrackInfo.cpp:51
Performs effect computation.
An effect to add white noise.
Definition: Noise.h:24
bool TransferDataFromWindow(EffectSettings &settings) override
Definition: Noise.cpp:77
std::unique_ptr< EffectEditor > PopulateOrExchange(ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) override
Add controls to effect panel; always succeeds.
Definition: Noise.cpp:30
NumericTextCtrl * mNoiseDurationT
Definition: Noise.h:33
wxWeakRef< wxWindow > mUIParent
Definition: Noise.h:34
bool TransferDataToWindow(const EffectSettings &settings) override
Definition: Noise.cpp:66
Hold values to send to effect output meters.
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:640
Externalized state of a plug-in.