Audacity  3.0.3
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
EffectNoise Class Referencefinal

An effect to add white noise. More...

#include <Noise.h>

Inheritance diagram for EffectNoise:
[legend]
Collaboration diagram for EffectNoise:
[legend]

Public Member Functions

 EffectNoise ()
 
virtual ~EffectNoise ()
 
ComponentInterfaceSymbol GetSymbol () override
 
TranslatableString GetDescription () override
 
wxString ManualPage () override
 
EffectType GetType () override
 
unsigned GetAudioOutCount () override
 
size_t ProcessBlock (float **inBlock, float **outBlock, size_t blockLen) override
 
bool DefineParams (ShuttleParams &S) override
 
bool GetAutomationParameters (CommandParameters &parms) override
 
bool SetAutomationParameters (CommandParameters &parms) override
 
bool Startup () override
 
void PopulateOrExchange (ShuttleGui &S) override
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
- Public Member Functions inherited from Effect
 Effect ()
 
virtual ~Effect ()
 
PluginPath GetPath () override
 
VendorSymbol GetVendor () override
 
wxString GetVersion () override
 
EffectFamilySymbol GetFamily () override
 
bool IsInteractive () override
 
bool IsDefault () override
 
bool IsLegacy () override
 
bool SupportsRealtime () override
 
bool SupportsAutomation () override
 
bool SetHost (EffectHostInterface *host) override
 
unsigned GetAudioInCount () override
 
int GetMidiInCount () override
 
int GetMidiOutCount () override
 
sampleCount GetLatency () override
 
size_t GetTailSize () override
 
void SetSampleRate (double rate) override
 
size_t SetBlockSize (size_t maxBlockSize) override
 
size_t GetBlockSize () const override
 
bool IsReady () override
 
bool ProcessInitialize (sampleCount totalLen, ChannelNames chanMap=NULL) override
 
bool ProcessFinalize () override
 
bool RealtimeInitialize () override
 
bool RealtimeAddProcessor (unsigned numChannels, float sampleRate) override
 
bool RealtimeFinalize () override
 
bool RealtimeSuspend () override
 
bool RealtimeResume () override
 
bool RealtimeProcessStart () override
 
size_t RealtimeProcess (int group, float **inbuf, float **outbuf, size_t numSamples) override
 
bool RealtimeProcessEnd () override
 
bool ShowInterface (wxWindow &parent, const EffectDialogFactory &factory, bool forceModal=false) override
 
bool LoadUserPreset (const RegistryPath &name) override
 
bool SaveUserPreset (const RegistryPath &name) override
 
RegistryPaths GetFactoryPresets () override
 
bool LoadFactoryPreset (int id) override
 
bool LoadFactoryDefaults () override
 
void SetHostUI (EffectUIHostInterface *host) override
 
bool PopulateUI (ShuttleGui &S) final
 
bool IsGraphicalUI () override
 
bool ValidateUI () override
 
bool HideUI () override
 
bool CloseUI () override
 
bool CanExportPresets () override
 
void ExportPresets () override
 
void ImportPresets () override
 
bool HasOptions () override
 
void ShowOptions () override
 
double GetDefaultDuration () override
 
double GetDuration () override
 
NumericFormatSymbol GetDurationFormat () override
 
virtual NumericFormatSymbol GetSelectionFormat ()
 
void SetDuration (double duration) override
 
RegistryPath GetUserPresetsGroup (const RegistryPath &name) override
 
RegistryPath GetCurrentSettingsGroup () override
 
RegistryPath GetFactoryDefaultsGroup () override
 
virtual wxString GetSavedStateGroup ()
 
bool HasSharedConfigGroup (const RegistryPath &group) override
 
bool GetSharedConfigSubgroups (const RegistryPath &group, RegistryPaths &subgroups) override
 
bool GetSharedConfig (const RegistryPath &group, const RegistryPath &key, wxString &value, const wxString &defval={}) override
 
bool GetSharedConfig (const RegistryPath &group, const RegistryPath &key, int &value, int defval=0) override
 
bool GetSharedConfig (const RegistryPath &group, const RegistryPath &key, bool &value, bool defval=false) override
 
bool GetSharedConfig (const RegistryPath &group, const RegistryPath &key, float &value, float defval=0.0) override
 
bool GetSharedConfig (const RegistryPath &group, const RegistryPath &key, double &value, double defval=0.0) override
 
bool SetSharedConfig (const RegistryPath &group, const RegistryPath &key, const wxString &value) override
 
bool SetSharedConfig (const RegistryPath &group, const RegistryPath &key, const int &value) override
 
bool SetSharedConfig (const RegistryPath &group, const RegistryPath &key, const bool &value) override
 
bool SetSharedConfig (const RegistryPath &group, const RegistryPath &key, const float &value) override
 
bool SetSharedConfig (const RegistryPath &group, const RegistryPath &key, const double &value) override
 
bool RemoveSharedConfigSubgroup (const RegistryPath &group) override
 
bool RemoveSharedConfig (const RegistryPath &group, const RegistryPath &key) override
 
bool HasPrivateConfigGroup (const RegistryPath &group) override
 
bool GetPrivateConfigSubgroups (const RegistryPath &group, RegistryPaths &paths) override
 
bool GetPrivateConfig (const RegistryPath &group, const RegistryPath &key, wxString &value, const wxString &defval={}) override
 
bool GetPrivateConfig (const RegistryPath &group, const RegistryPath &key, int &value, int defval=0) override
 
bool GetPrivateConfig (const RegistryPath &group, const RegistryPath &key, bool &value, bool defval=false) override
 
bool GetPrivateConfig (const RegistryPath &group, const RegistryPath &key, float &value, float defval=0.0) override
 
bool GetPrivateConfig (const RegistryPath &group, const RegistryPath &key, double &value, double defval=0.0) override
 
bool SetPrivateConfig (const RegistryPath &group, const RegistryPath &key, const wxString &value) override
 
bool SetPrivateConfig (const RegistryPath &group, const RegistryPath &key, const int &value) override
 
bool SetPrivateConfig (const RegistryPath &group, const RegistryPath &key, const bool &value) override
 
bool SetPrivateConfig (const RegistryPath &group, const RegistryPath &key, const float &value) override
 
bool SetPrivateConfig (const RegistryPath &group, const RegistryPath &key, const double &value) override
 
bool RemovePrivateConfigSubgroup (const RegistryPath &group) override
 
bool RemovePrivateConfig (const RegistryPath &group, const RegistryPath &key) override
 
virtual PluginID GetID ()
 
virtual bool Startup (EffectClientInterface *client)
 
virtual bool GetAutomationParameters (wxString &parms)
 
virtual bool SetAutomationParameters (const wxString &parms)
 
virtual RegistryPaths GetUserPresets ()
 
virtual bool HasCurrentSettings ()
 
virtual bool HasFactoryDefaults ()
 
virtual wxString HelpPage ()
 
virtual void SetUIFlags (unsigned flags)
 
virtual unsigned TestUIFlags (unsigned mask)
 
virtual bool IsBatchProcessing ()
 
virtual void SetBatchProcessing (bool start)
 
void SetPresetParameters (const wxArrayString *Names, const wxArrayString *Values)
 
bool DoEffect (double projectRate, TrackList *list, WaveTrackFactory *factory, NotifyingSelectedRegion &selectedRegion, wxWindow *pParent=nullptr, const EffectDialogFactory &dialogFactory={})
 
bool Delegate (Effect &delegate, wxWindow &parent, const EffectDialogFactory &factory)
 
virtual bool IsHidden ()
 
int MessageBox (const TranslatableString &message, long style=DefaultMessageBoxStyle, const TranslatableString &titleStr={})
 
- Public Member Functions inherited from EffectClientInterface
virtual ~EffectClientInterface ()
 
- Public Member Functions inherited from EffectDefinitionInterface
virtual ~EffectDefinitionInterface ()
 
virtual EffectType GetClassification ()
 
- Public Member Functions inherited from ComponentInterface
virtual ~ComponentInterface ()
 
TranslatableString GetName ()
 
virtual bool DefineParams (ShuttleParams &WXUNUSED(S))
 
- Public Member Functions inherited from EffectUIClientInterface
virtual ~EffectUIClientInterface ()
 
- Public Member Functions inherited from EffectHostInterface
virtual ~EffectHostInterface ()
 
- Public Member Functions inherited from ConfigClientInterface
virtual ~ConfigClientInterface ()
 

Static Public Attributes

static const ComponentInterfaceSymbol Symbol { XO("Noise") }
 
- Static Public Attributes inherited from Effect
static const wxString kUserPresetIdent = wxT("User Preset:")
 
static const wxString kFactoryPresetIdent = wxT("Factory Preset:")
 
static const wxString kCurrentSettingsIdent = wxT("<Current Settings>")
 
static const wxString kFactoryDefaultsIdent = wxT("<Factory Defaults>")
 

Private Attributes

int mType
 
double mAmp
 
float y
 
float z
 
float buf0
 
float buf1
 
float buf2
 
float buf3
 
float buf4
 
float buf5
 
float buf6
 
NumericTextCtrlmNoiseDurationT
 

Additional Inherited Members

- Public Types inherited from Effect
enum  : long { DefaultMessageBoxStyle = wxOK | wxCENTRE }
 
using VetoDialogHook = bool(*)(wxDialog *)
 
- Public Types inherited from EffectClientInterface
using EffectDialogFactory = std::function< wxDialog *(wxWindow &parent, EffectHostInterface *, EffectUIClientInterface *) >
 
- Static Public Member Functions inherited from Effect
static VetoDialogHook SetVetoDialogHook (VetoDialogHook hook)
 
static CommandID GetSquashedName (wxString name)
 
static void IncEffectCounter ()
 
- Protected Member Functions inherited from Effect
virtual bool Init ()
 
virtual bool CheckWhetherSkipEffect ()
 
virtual bool Process ()
 
virtual bool ProcessPass ()
 
virtual bool InitPass1 ()
 
virtual bool InitPass2 ()
 
virtual int GetPass ()
 
virtual void End ()
 
virtual double CalcPreviewInputLength (double previewLength)
 
virtual void Preview (bool dryOnly)
 
virtual bool EnableApply (bool enable=true)
 
virtual bool EnablePreview (bool enable=true)
 
virtual void EnableDebug (bool enable=true)
 
bool TotalProgress (double frac, const TranslatableString &={})
 
bool TrackProgress (int whichTrack, double frac, const TranslatableString &={})
 
bool TrackGroupProgress (int whichGroup, double frac, const TranslatableString &={})
 
int GetNumWaveTracks ()
 
int GetNumWaveGroups ()
 
void GetBounds (const WaveTrack &track, const WaveTrack *pRight, sampleCount *start, sampleCount *len)
 
void SetLinearEffectFlag (bool linearEffectFlag)
 
void SetPreviewFullSelectionFlag (bool previewDurationFlag)
 
bool IsPreviewing ()
 
void IncludeNotSelectedPreviewTracks (bool includeNotSelected)
 
void CopyInputTracks (bool allSyncLockSelected=false)
 
std::shared_ptr< AddedAnalysisTrackAddAnalysisTrack (const wxString &name=wxString())
 
ModifiedAnalysisTrack ModifyAnalysisTrack (const LabelTrack *pOrigTrack, const wxString &name=wxString())
 
void ReplaceProcessedTracks (const bool bGoodResult)
 
TrackAddToOutputTracks (const std::shared_ptr< Track > &t)
 
const TrackListinputTracks () const
 
const AudacityProjectFindProject () const
 
- Protected Attributes inherited from Effect
ProgressDialogmProgress
 
double mProjectRate
 
double mSampleRate
 
wxWeakRef< NotifyingSelectedRegionmpSelectedRegion {}
 
WaveTrackFactorymFactory
 
std::shared_ptr< TrackListmOutputTracks
 
double mT0
 
double mT1
 
wxArrayString mPresetNames
 
wxArrayString mPresetValues
 
int mPass
 
wxDialog * mUIDialog
 
wxWindow * mUIParent
 
int mUIResultID
 
unsigned mUIFlags
 
sampleCount mSampleCnt
 
- Static Protected Attributes inherited from Effect
static int nEffectsDone =0
 

Detailed Description

An effect to add white noise.

Definition at line 21 of file Noise.h.

Constructor & Destructor Documentation

◆ EffectNoise()

EffectNoise::EffectNoise ( )

Definition at line 68 of file Noise.cpp.

69 {
70  mType = DEF_Type;
71  mAmp = DEF_Amp;
72 
73  SetLinearEffectFlag(true);
74 
75  y = z = buf0 = buf1 = buf2 = buf3 = buf4 = buf5 = buf6 = 0;
76 }

References buf0, buf1, buf2, buf3, buf4, buf5, buf6, mAmp, mType, Effect::SetLinearEffectFlag(), y, and z.

Here is the call graph for this function:

◆ ~EffectNoise()

EffectNoise::~EffectNoise ( )
virtual

Definition at line 78 of file Noise.cpp.

79 {
80 }

Member Function Documentation

◆ DefineParams()

bool EffectNoise::DefineParams ( ShuttleParams S)
override

Definition at line 177 of file Noise.cpp.

177  {
178  S.SHUTTLE_ENUM_PARAM( mType, Type, kTypeStrings, nTypes );
179  S.SHUTTLE_PARAM( mAmp, Amp );
180  return true;
181 }

References kTypeStrings, mAmp, mType, and nTypes.

◆ GetAudioOutCount()

unsigned EffectNoise::GetAudioOutCount ( )
overridevirtual

Reimplemented from Effect.

Definition at line 108 of file Noise.cpp.

109 {
110  return 1;
111 }

◆ GetAutomationParameters()

bool EffectNoise::GetAutomationParameters ( CommandParameters parms)
overridevirtual

Reimplemented from Effect.

Definition at line 183 of file Noise.cpp.

184 {
185  parms.Write(KEY_Type, kTypeStrings[mType].Internal());
186  parms.Write(KEY_Amp, mAmp);
187 
188  return true;
189 }

References kTypeStrings, mAmp, and mType.

◆ GetDescription()

TranslatableString EffectNoise::GetDescription ( )
overridevirtual

Reimplemented from Effect.

Definition at line 89 of file Noise.cpp.

90 {
91  return XO("Generates one of three different types of noise");
92 }

References XO.

◆ GetSymbol()

ComponentInterfaceSymbol EffectNoise::GetSymbol ( )
overridevirtual

Reimplemented from Effect.

Definition at line 84 of file Noise.cpp.

85 {
86  return Symbol;
87 }

References Symbol.

◆ GetType()

EffectType EffectNoise::GetType ( )
overridevirtual

Reimplemented from Effect.

Definition at line 101 of file Noise.cpp.

102 {
103  return EffectTypeGenerate;
104 }

References EffectTypeGenerate.

◆ ManualPage()

wxString EffectNoise::ManualPage ( )
overridevirtual

Reimplemented from Effect.

Definition at line 94 of file Noise.cpp.

95 {
96  return wxT("Noise");
97 }

◆ PopulateOrExchange()

void EffectNoise::PopulateOrExchange ( ShuttleGui S)
overridevirtual

Reimplemented from Effect.

Definition at line 232 of file Noise.cpp.

233 {
234  wxASSERT(nTypes == WXSIZEOF(kTypeStrings));
235 
236  S.StartMultiColumn(2, wxCENTER);
237  {
238  S.Validator<wxGenericValidator>(&mType)
239  .AddChoice(XXO("&Noise type:"), Msgids(kTypeStrings, nTypes));
240 
241  S.Validator<FloatingPointValidator<double>>(
242  6, &mAmp, NumValidatorStyle::NO_TRAILING_ZEROES, MIN_Amp, MAX_Amp
243  )
244  .AddTextBox(XXO("&Amplitude (0-1):"), wxT(""), 12);
245 
246  S.AddPrompt(XXO("&Duration:"));
248  NumericTextCtrl(S.GetParent(), wxID_ANY,
251  GetDuration(),
252  mProjectRate,
254  .AutoPos(true));
255  S.Name(XO("Duration"))
256  .Position(wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL | wxALL)
258  }
259  S.EndMultiColumn();
260 }

References ShuttleGuiBase::AddPrompt(), ShuttleGuiBase::AddWindow(), NumericTextCtrl::Options::AutoPos(), ShuttleGuiBase::EndMultiColumn(), Effect::GetDuration(), Effect::GetDurationFormat(), ShuttleGuiBase::GetParent(), kTypeStrings, mAmp, mNoiseDurationT, Effect::mProjectRate, Msgids(), mType, ShuttleGui::Name(), nTypes, ShuttleGui::Position(), safenew, ShuttleGuiBase::StartMultiColumn(), NumericConverter::TIME, ShuttleGui::Validator(), XO, and XXO.

Here is the call graph for this function:

◆ ProcessBlock()

size_t EffectNoise::ProcessBlock ( float **  inBlock,
float **  outBlock,
size_t  blockLen 
)
overridevirtual

Reimplemented from Effect.

Definition at line 113 of file Noise.cpp.

114 {
115  float *buffer = outbuf[0];
116 
117  float white;
118  float amplitude;
119  float div = ((float) RAND_MAX) / 2.0f;
120 
121  switch (mType)
122  {
123  default:
124  case kWhite: // white
125  for (decltype(size) i = 0; i < size; i++)
126  {
127  buffer[i] = mAmp * ((rand() / div) - 1.0f);
128  }
129  break;
130 
131  case kPink: // pink
132  // based on Paul Kellet's "instrumentation grade" algorithm.
133 
134  // 0.129f is an experimental normalization factor.
135  amplitude = mAmp * 0.129f;
136  for (decltype(size) i = 0; i < size; i++)
137  {
138  white = (rand() / div) - 1.0f;
139  buf0 = 0.99886f * buf0 + 0.0555179f * white;
140  buf1 = 0.99332f * buf1 + 0.0750759f * white;
141  buf2 = 0.96900f * buf2 + 0.1538520f * white;
142  buf3 = 0.86650f * buf3 + 0.3104856f * white;
143  buf4 = 0.55000f * buf4 + 0.5329522f * white;
144  buf5 = -0.7616f * buf5 - 0.0168980f * white;
145  buffer[i] = amplitude *
146  (buf0 + buf1 + buf2 + buf3 + buf4 + buf5 + buf6 + white * 0.5362);
147  buf6 = white * 0.115926;
148  }
149  break;
150 
151  case kBrownian: // Brownian
152  //float leakage=0.997; // experimental value at 44.1kHz
153  //double scaling = 0.05; // experimental value at 44.1kHz
154  // min and max protect against instability at extreme sample rates.
155  float leakage = ((mSampleRate - 144.0) / mSampleRate < 0.9999)
156  ? (mSampleRate - 144.0) / mSampleRate
157  : 0.9999f;
158 
159  float scaling = (9.0 / sqrt(mSampleRate) > 0.01)
160  ? 9.0 / sqrt(mSampleRate)
161  : 0.01f;
162 
163  for (decltype(size) i = 0; i < size; i++)
164  {
165  white = (rand() / div) - 1.0f;
166  z = leakage * y + white * scaling;
167  y = fabs(z) > 1.0
168  ? leakage * y - white * scaling
169  : z;
170  buffer[i] = mAmp * y;
171  }
172  break;
173  }
174 
175  return size;
176 }

References buf0, buf1, buf2, buf3, buf4, buf5, buf6, kBrownian, kPink, kWhite, mAmp, Effect::mSampleRate, mType, y, and z.

◆ SetAutomationParameters()

bool EffectNoise::SetAutomationParameters ( CommandParameters parms)
overridevirtual

Reimplemented from Effect.

Definition at line 191 of file Noise.cpp.

192 {
194  ReadAndVerifyDouble(Amp);
195 
196  mType = Type;
197  mAmp = Amp;
198 
199  return true;
200 }

References kTypeStrings, mAmp, mType, nTypes, ReadAndVerifyDouble, and ReadAndVerifyEnum.

◆ Startup()

bool EffectNoise::Startup ( )
overridevirtual

Reimplemented from Effect.

Definition at line 204 of file Noise.cpp.

205 {
206  wxString base = wxT("/Effects/Noise/");
207 
208  // Migrate settings from 2.1.0 or before
209 
210  // Already migrated, so bail
211  if (gPrefs->Exists(base + wxT("Migrated")))
212  {
213  return true;
214  }
215 
216  // Load the old "current" settings
217  if (gPrefs->Exists(base))
218  {
219  gPrefs->Read(base + wxT("Type"), &mType, 0L);
220  gPrefs->Read(base + wxT("Amplitude"), &mAmp, 0.8f);
221 
223 
224  // Do not migrate again
225  gPrefs->Write(base + wxT("Migrated"), true);
226  gPrefs->Flush();
227  }
228 
229  return true;
230 }

References FileConfig::Flush(), Effect::GetCurrentSettingsGroup(), gPrefs, mAmp, mType, and Effect::SaveUserPreset().

Here is the call graph for this function:

◆ TransferDataFromWindow()

bool EffectNoise::TransferDataFromWindow ( )
overridevirtual

Reimplemented from Effect.

Definition at line 274 of file Noise.cpp.

275 {
276  if (!mUIParent->Validate() || !mUIParent->TransferDataFromWindow())
277  {
278  return false;
279  }
280 
282 
283  return true;
284 }

References NumericConverter::GetValue(), mNoiseDurationT, Effect::mUIParent, and Effect::SetDuration().

Here is the call graph for this function:

◆ TransferDataToWindow()

bool EffectNoise::TransferDataToWindow ( )
overridevirtual

Reimplemented from Effect.

Definition at line 262 of file Noise.cpp.

263 {
264  if (!mUIParent->TransferDataToWindow())
265  {
266  return false;
267  }
268 
270 
271  return true;
272 }

References Effect::GetDuration(), mNoiseDurationT, Effect::mUIParent, and NumericTextCtrl::SetValue().

Here is the call graph for this function:

Member Data Documentation

◆ buf0

float EffectNoise::buf0
private

Definition at line 61 of file Noise.h.

Referenced by EffectNoise(), and ProcessBlock().

◆ buf1

float EffectNoise::buf1
private

Definition at line 61 of file Noise.h.

Referenced by EffectNoise(), and ProcessBlock().

◆ buf2

float EffectNoise::buf2
private

Definition at line 61 of file Noise.h.

Referenced by EffectNoise(), and ProcessBlock().

◆ buf3

float EffectNoise::buf3
private

Definition at line 61 of file Noise.h.

Referenced by EffectNoise(), and ProcessBlock().

◆ buf4

float EffectNoise::buf4
private

Definition at line 61 of file Noise.h.

Referenced by EffectNoise(), and ProcessBlock().

◆ buf5

float EffectNoise::buf5
private

Definition at line 61 of file Noise.h.

Referenced by EffectNoise(), and ProcessBlock().

◆ buf6

float EffectNoise::buf6
private

Definition at line 61 of file Noise.h.

Referenced by EffectNoise(), and ProcessBlock().

◆ mAmp

double EffectNoise::mAmp
private

◆ mNoiseDurationT

NumericTextCtrl* EffectNoise::mNoiseDurationT
private

Definition at line 63 of file Noise.h.

Referenced by PopulateOrExchange(), TransferDataFromWindow(), and TransferDataToWindow().

◆ mType

int EffectNoise::mType
private

◆ Symbol

const ComponentInterfaceSymbol EffectNoise::Symbol { XO("Noise") }
static

Definition at line 24 of file Noise.h.

Referenced by GetSymbol().

◆ y

float EffectNoise::y
private

Definition at line 61 of file Noise.h.

Referenced by EffectNoise(), and ProcessBlock().

◆ z

float EffectNoise::z
private

Definition at line 61 of file Noise.h.

Referenced by EffectNoise(), and ProcessBlock().


The documentation for this class was generated from the following files:
Effect::GetDuration
double GetDuration() override
Definition: Effect.cpp:815
EffectNoise::buf2
float buf2
Definition: Noise.h:61
Effect::SetLinearEffectFlag
void SetLinearEffectFlag(bool linearEffectFlag)
Definition: Effect.cpp:2000
EffectNoise::buf0
float buf0
Definition: Noise.h:61
NumericTextCtrl::Options::AutoPos
Options & AutoPos(bool enable)
Definition: NumericTextCtrl.h:189
gPrefs
FileConfig * gPrefs
Definition: Prefs.cpp:67
EffectTypeGenerate
@ EffectTypeGenerate
Definition: EffectInterface.h:58
kPink
@ kPink
Definition: Noise.cpp:36
XO
#define XO(s)
Definition: Internat.h:32
ShuttleGuiBase::EndMultiColumn
void EndMultiColumn()
Definition: ShuttleGui.cpp:1212
kBrownian
@ kBrownian
Definition: Noise.cpp:37
EffectNoise::mType
int mType
Definition: Noise.h:58
EffectNoise::y
float y
Definition: Noise.h:61
Effect::SaveUserPreset
bool SaveUserPreset(const RegistryPath &name) override
Definition: Effect.cpp:569
NumericTextCtrl
Definition: NumericTextCtrl.h:171
NumericTextCtrl::SetValue
void SetValue(double newValue)
Definition: NumericTextCtrl.cpp:1472
NumericTextCtrl::Options
Definition: NumericTextCtrl.h:177
EffectNoise::mNoiseDurationT
NumericTextCtrl * mNoiseDurationT
Definition: Noise.h:63
EffectNoise::buf1
float buf1
Definition: Noise.h:61
Effect::mProjectRate
double mProjectRate
Definition: Effect.h:457
ReadAndVerifyEnum
#define ReadAndVerifyEnum(name, list, listSize)
Definition: Effect.h:620
XXO
#define XXO(s)
Definition: Internat.h:45
EffectNoise::buf3
float buf3
Definition: Noise.h:61
ShuttleGuiBase::StartMultiColumn
void StartMultiColumn(int nCols, int PositionFlags=wxALIGN_LEFT)
Definition: ShuttleGui.cpp:1203
Msgids
TranslatableStrings Msgids(const EnumValueSymbol strings[], size_t nStrings)
Definition: Internat.cpp:267
NumericConverter::TIME
@ TIME
Definition: NumericTextCtrl.h:51
ShuttleGuiBase::GetParent
wxWindow * GetParent()
Definition: ShuttleGui.h:503
ShuttleGui::Validator
ShuttleGui & Validator(const Factory &f)
Definition: ShuttleGui.h:685
kWhite
@ kWhite
Definition: Noise.cpp:35
EffectNoise::mAmp
double mAmp
Definition: Noise.h:59
ReadAndVerifyDouble
#define ReadAndVerifyDouble(name)
Definition: Effect.h:632
EffectNoise::Symbol
static const ComponentInterfaceSymbol Symbol
Definition: Noise.h:24
Effect::GetCurrentSettingsGroup
RegistryPath GetCurrentSettingsGroup() override
Definition: Effect.cpp:865
EffectNoise::buf4
float buf4
Definition: Noise.h:61
Effect::SetDuration
void SetDuration(double duration) override
Definition: Effect.cpp:837
nTypes
@ nTypes
Definition: Noise.cpp:38
ShuttleGui::Name
ShuttleGui & Name(const TranslatableString &name)
Definition: ShuttleGui.h:670
Effect::mSampleRate
double mSampleRate
Definition: Effect.h:459
ShuttleGuiBase::AddWindow
wxWindow * AddWindow(wxWindow *pWindow)
Definition: ShuttleGui.cpp:292
FileConfig::Flush
virtual bool Flush(bool bCurrentOnly=false) wxOVERRIDE
Definition: FileConfig.cpp:151
ShuttleGui::Position
ShuttleGui & Position(int flags)
Definition: ShuttleGui.h:719
Effect::mUIParent
wxWindow * mUIParent
Definition: Effect.h:477
EffectNoise::buf5
float buf5
Definition: Noise.h:61
kTypeStrings
static const EnumValueSymbol kTypeStrings[nTypes]
Definition: Noise.cpp:41
Effect::GetDurationFormat
NumericFormatSymbol GetDurationFormat() override
Definition: Effect.cpp:825
ShuttleGuiBase::AddPrompt
void AddPrompt(const TranslatableString &Prompt, int wrapWidth=0)
Right aligned text string.
Definition: ShuttleGui.cpp:231
EffectNoise::z
float z
Definition: Noise.h:61
safenew
#define safenew
Definition: MemoryX.h:8
NumericConverter::GetValue
double GetValue()
Definition: NumericTextCtrl.cpp:1172
EffectNoise::buf6
float buf6
Definition: Noise.h:61