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

An Effect that repeats audio several times over. More...

#include <Repeat.h>

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

Public Member Functions

 EffectRepeat ()
 
virtual ~EffectRepeat ()
 
ComponentInterfaceSymbol GetSymbol () override
 
TranslatableString GetDescription () override
 
wxString ManualPage () override
 
EffectType GetType () override
 
bool DefineParams (ShuttleParams &S) override
 
bool GetAutomationParameters (CommandParameters &parms) override
 
bool SetAutomationParameters (CommandParameters &parms) override
 
bool Process () 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
 
unsigned GetAudioOutCount () 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
 
size_t ProcessBlock (float **inBlock, float **outBlock, size_t blockLen) 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 Startup ()
 
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("Repeat") }
 
- 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 Member Functions

void OnRepeatTextChange (wxCommandEvent &evt)
 
void DisplayNewTime ()
 

Private Attributes

int repeatCount
 
wxTextCtrl * mRepeatCount
 
wxStaticText * mCurrentTime
 
wxStaticText * mTotalTime
 

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 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 that repeats audio several times over.

Definition at line 21 of file Repeat.h.

Constructor & Destructor Documentation

◆ EffectRepeat()

EffectRepeat::EffectRepeat ( )

Definition at line 55 of file Repeat.cpp.

56 {
57  repeatCount = DEF_Count;
58 
59  SetLinearEffectFlag(true);
60 }

◆ ~EffectRepeat()

EffectRepeat::~EffectRepeat ( )
virtual

Definition at line 62 of file Repeat.cpp.

63 {
64 }

Member Function Documentation

◆ DefineParams()

bool EffectRepeat::DefineParams ( ShuttleParams S)
override

Definition at line 91 of file Repeat.cpp.

91  {
92  S.SHUTTLE_PARAM( repeatCount, Count );
93  return true;
94 }

References repeatCount.

◆ DisplayNewTime()

void EffectRepeat::DisplayNewTime ( )
private

Definition at line 224 of file Repeat.cpp.

225 {
226  long l;
227  wxString str;
228  mRepeatCount->GetValue().ToLong(&l);
229 
232  mT1 - mT0,
233  mProjectRate);
234 
235  str = wxString::Format( _("Current selection length: %s"), nc.GetString() );
236 
237  mCurrentTime->SetLabel(str);
238  mCurrentTime->SetName(str); // fix for bug 577 (NVDA/Narrator screen readers do not read static text in dialogs)
239 
240  if (l > 0) {
241  EnableApply(true);
242  repeatCount = l;
243 
244  nc.SetValue((mT1 - mT0) * (repeatCount + 1));
245  str = wxString::Format( _("New selection length: %s"), nc.GetString() );
246  }
247  else {
248  str = _("Warning: No repeats.");
249  EnableApply(false);
250  }
251  mTotalTime->SetLabel(str);
252  mTotalTime->SetName(str); // fix for bug 577 (NVDA/Narrator screen readers do not read static text in dialogs)
253 }

References _, Effect::EnableApply(), Effect::GetSelectionFormat(), NumericConverter::GetString(), mCurrentTime, Effect::mProjectRate, mRepeatCount, Effect::mT0, Effect::mT1, mTotalTime, repeatCount, NumericConverter::SetValue(), and NumericConverter::TIME.

Referenced by OnRepeatTextChange(), and TransferDataToWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetAutomationParameters()

bool EffectRepeat::GetAutomationParameters ( CommandParameters parms)
overridevirtual

Reimplemented from Effect.

Definition at line 96 of file Repeat.cpp.

97 {
98  parms.Write(KEY_Count, repeatCount);
99 
100  return true;
101 }

References repeatCount.

◆ GetDescription()

TranslatableString EffectRepeat::GetDescription ( )
overridevirtual

Reimplemented from Effect.

Definition at line 73 of file Repeat.cpp.

74 {
75  return XO("Repeats the selection the specified number of times");
76 }

References XO.

◆ GetSymbol()

ComponentInterfaceSymbol EffectRepeat::GetSymbol ( )
overridevirtual

Reimplemented from Effect.

Definition at line 68 of file Repeat.cpp.

69 {
70  return Symbol;
71 }

References Symbol.

◆ GetType()

EffectType EffectRepeat::GetType ( )
overridevirtual

Reimplemented from Effect.

Definition at line 85 of file Repeat.cpp.

86 {
87  return EffectTypeProcess;
88 }

References EffectTypeProcess.

◆ ManualPage()

wxString EffectRepeat::ManualPage ( )
overridevirtual

Reimplemented from Effect.

Definition at line 78 of file Repeat.cpp.

79 {
80  return wxT("Repeat");
81 }

◆ OnRepeatTextChange()

void EffectRepeat::OnRepeatTextChange ( wxCommandEvent &  evt)
private

Definition at line 255 of file Repeat.cpp.

256 {
257  DisplayNewTime();
258 }

References DisplayNewTime().

Here is the call graph for this function:

◆ PopulateOrExchange()

void EffectRepeat::PopulateOrExchange ( ShuttleGui S)
overridevirtual

Reimplemented from Effect.

Definition at line 178 of file Repeat.cpp.

179 {
180  S.StartHorizontalLay(wxCENTER, false);
181  {
182  mRepeatCount = S.Validator<IntegerValidator<int>>(
183  &repeatCount, NumValidatorStyle::DEFAULT,
184  MIN_Count, 2147483647 / mProjectRate
185  )
186  .AddTextBox(XXO("&Number of repeats to add:"), wxT(""), 12);
187  }
188  S.EndHorizontalLay();
189 
190  S.StartMultiColumn(1, wxCENTER);
191  {
193  XO("Current selection length: dd:hh:mm:ss"));
194  mTotalTime = S.AddVariableText(XO("New selection length: dd:hh:mm:ss"));
195  }
196  S.EndMultiColumn();
197 }

References ShuttleGuiBase::AddVariableText(), ShuttleGuiBase::EndHorizontalLay(), ShuttleGuiBase::EndMultiColumn(), mCurrentTime, Effect::mProjectRate, mRepeatCount, mTotalTime, repeatCount, ShuttleGuiBase::StartHorizontalLay(), ShuttleGuiBase::StartMultiColumn(), ShuttleGui::Validator(), XO, and XXO.

Here is the call graph for this function:

◆ Process()

bool EffectRepeat::Process ( )
overridevirtual

Reimplemented from Effect.

Definition at line 114 of file Repeat.cpp.

115 {
116  // Set up mOutputTracks.
117  // This effect needs all for sync-lock grouping.
118  CopyInputTracks(true);
119 
120  int nTrack = 0;
121  bool bGoodResult = true;
122  double maxDestLen = 0.0; // used to change selection to generated bit
123 
124  mOutputTracks->Any().VisitWhile( bGoodResult,
125  [&](LabelTrack *track)
126  {
127  if (track->GetSelected() || track->IsSyncLockSelected())
128  {
129  if (!track->Repeat(mT0, mT1, repeatCount))
130  bGoodResult = false;
131  }
132  },
133  [&](WaveTrack *track, const Track::Fallthrough &fallthrough)
134  {
135  if (!track->GetSelected())
136  return fallthrough(); // Fall through to next lambda
137  auto start = track->TimeToLongSamples(mT0);
138  auto end = track->TimeToLongSamples(mT1);
139  auto len = end - start;
140  double tLen = track->LongSamplesToTime(len);
141  double tc = mT0 + tLen;
142 
143  if (len <= 0)
144  return;
145 
146  auto dest = track->Copy(mT0, mT1);
147  for(int j=0; j<repeatCount; j++)
148  {
149  if (TrackProgress(nTrack, j / repeatCount)) // TrackProgress returns true on Cancel.
150  {
151  bGoodResult = false;
152  return;
153  }
154  track->Paste(tc, dest.get());
155  tc += tLen;
156  }
157  if (tc > maxDestLen)
158  maxDestLen = tc;
159  nTrack++;
160  },
161  [&](Track *t)
162  {
163  if( t->IsSyncLockSelected() )
164  t->SyncLockAdjust(mT1, mT1 + (mT1 - mT0) * repeatCount);
165  }
166  );
167 
168  if (bGoodResult)
169  {
170  // Select the NEW bits + original bit
171  mT1 = maxDestLen;
172  }
173 
174  ReplaceProcessedTracks(bGoodResult);
175  return bGoodResult;
176 }

References WaveTrack::Copy(), Effect::CopyInputTracks(), Track::GetSelected(), Track::IsSyncLockSelected(), WaveTrack::LongSamplesToTime(), Effect::mOutputTracks, Effect::mT0, Effect::mT1, WaveTrack::Paste(), repeatCount, Effect::ReplaceProcessedTracks(), WaveTrack::TimeToLongSamples(), and Effect::TrackProgress().

Here is the call graph for this function:

◆ SetAutomationParameters()

bool EffectRepeat::SetAutomationParameters ( CommandParameters parms)
overridevirtual

Reimplemented from Effect.

Definition at line 103 of file Repeat.cpp.

104 {
105  ReadAndVerifyInt(Count);
106 
107  repeatCount = Count;
108 
109  return true;
110 }

References ReadAndVerifyInt, and repeatCount.

◆ TransferDataFromWindow()

bool EffectRepeat::TransferDataFromWindow ( )
overridevirtual

Reimplemented from Effect.

Definition at line 208 of file Repeat.cpp.

209 {
210  if (!mUIParent->Validate())
211  {
212  return false;
213  }
214 
215  long l;
216 
217  mRepeatCount->GetValue().ToLong(&l);
218 
219  repeatCount = (int) l;
220 
221  return true;
222 }

References mRepeatCount, Effect::mUIParent, and repeatCount.

◆ TransferDataToWindow()

bool EffectRepeat::TransferDataToWindow ( )
overridevirtual

Reimplemented from Effect.

Definition at line 199 of file Repeat.cpp.

200 {
201  mRepeatCount->ChangeValue(wxString::Format(wxT("%d"), repeatCount));
202 
203  DisplayNewTime();
204 
205  return true;
206 }

References DisplayNewTime(), mRepeatCount, and repeatCount.

Here is the call graph for this function:

Member Data Documentation

◆ mCurrentTime

wxStaticText* EffectRepeat::mCurrentTime
private

Definition at line 62 of file Repeat.h.

Referenced by DisplayNewTime(), and PopulateOrExchange().

◆ mRepeatCount

wxTextCtrl* EffectRepeat::mRepeatCount
private

◆ mTotalTime

wxStaticText* EffectRepeat::mTotalTime
private

Definition at line 63 of file Repeat.h.

Referenced by DisplayNewTime(), and PopulateOrExchange().

◆ repeatCount

int EffectRepeat::repeatCount
private

◆ Symbol

const ComponentInterfaceSymbol EffectRepeat::Symbol { XO("Repeat") }
static

Definition at line 24 of file Repeat.h.

Referenced by GetSymbol().


The documentation for this class was generated from the following files:
WaveTrack
A Track that contains audio waveform data.
Definition: WaveTrack.h:68
EffectTypeProcess
@ EffectTypeProcess
Definition: EffectInterface.h:59
Effect::SetLinearEffectFlag
void SetLinearEffectFlag(bool linearEffectFlag)
Definition: Effect.cpp:2000
Effect::EnableApply
virtual bool EnableApply(bool enable=true)
Definition: Effect.cpp:1925
Effect::GetSelectionFormat
virtual NumericFormatSymbol GetSelectionFormat()
Definition: Effect.cpp:830
EffectRepeat::DisplayNewTime
void DisplayNewTime()
Definition: Repeat.cpp:224
Effect::CopyInputTracks
void CopyInputTracks(bool allSyncLockSelected=false)
Definition: Effect.cpp:2070
Effect::mT1
double mT1
Definition: Effect.h:466
EffectRepeat::Symbol
static const ComponentInterfaceSymbol Symbol
Definition: Repeat.h:24
XO
#define XO(s)
Definition: Internat.h:32
LabelTrack
A LabelTrack is a Track that holds labels (LabelStruct).
Definition: LabelTrack.h:88
ShuttleGuiBase::EndMultiColumn
void EndMultiColumn()
Definition: ShuttleGui.cpp:1212
WaveTrack::Copy
Track::Holder Copy(double t0, double t1, bool forClipboard=true) const override
Definition: WaveTrack.cpp:583
Track::IsSyncLockSelected
bool IsSyncLockSelected() const
Definition: Track.cpp:245
Effect::mProjectRate
double mProjectRate
Definition: Effect.h:457
ReadAndVerifyInt
#define ReadAndVerifyInt(name)
Definition: Effect.h:631
XXO
#define XXO(s)
Definition: Internat.h:45
ShuttleGuiBase::EndHorizontalLay
void EndHorizontalLay()
Definition: ShuttleGui.cpp:1170
Effect::mT0
double mT0
Definition: Effect.h:465
ShuttleGuiBase::StartHorizontalLay
void StartHorizontalLay(int PositionFlags=wxALIGN_CENTRE, int iProp=1)
Definition: ShuttleGui.cpp:1160
WaveTrack::LongSamplesToTime
double LongSamplesToTime(sampleCount pos) const
Convert correctly between a number of samples and an (absolute) time in seconds.
Definition: WaveTrack.cpp:1772
ShuttleGuiBase::StartMultiColumn
void StartMultiColumn(int nCols, int PositionFlags=wxALIGN_LEFT)
Definition: ShuttleGui.cpp:1203
Effect::ReplaceProcessedTracks
void ReplaceProcessedTracks(const bool bGoodResult)
Definition: Effect.cpp:2192
WaveTrack::Paste
void Paste(double t0, const Track *src) override
Definition: WaveTrack.cpp:1171
NumericConverter::TIME
@ TIME
Definition: NumericTextCtrl.h:51
Track::Fallthrough
Continuation<> Fallthrough
Type of arguments passed as optional second parameter to TypeSwitch<void>() cases.
Definition: Track.h:487
ShuttleGui::Validator
ShuttleGui & Validator(const Factory &f)
Definition: ShuttleGui.h:685
Effect::mOutputTracks
std::shared_ptr< TrackList > mOutputTracks
Definition: Effect.h:464
Track::GetSelected
bool GetSelected() const
Definition: Track.h:414
NumericConverter
NumericConverter provides the advanced formatting control used in the selection bar of Audacity.
Definition: NumericTextCtrl.h:47
WaveTrack::TimeToLongSamples
sampleCount TimeToLongSamples(double t0) const
Convert correctly between an (absolute) time in seconds and a number of samples.
Definition: WaveTrack.cpp:1767
EffectRepeat::mRepeatCount
wxTextCtrl * mRepeatCount
Definition: Repeat.h:61
Track
Abstract base class for an object holding data associated with points on a time axis.
Definition: Track.h:238
Effect::mUIParent
wxWindow * mUIParent
Definition: Effect.h:477
EffectRepeat::mCurrentTime
wxStaticText * mCurrentTime
Definition: Repeat.h:62
_
#define _(s)
Definition: Internat.h:76
EffectRepeat::mTotalTime
wxStaticText * mTotalTime
Definition: Repeat.h:63
EffectRepeat::repeatCount
int repeatCount
Definition: Repeat.h:59
ShuttleGuiBase::AddVariableText
wxStaticText * AddVariableText(const TranslatableString &Str, bool bCenter=false, int PositionFlags=0, int wrapWidth=0)
Definition: ShuttleGui.cpp:456
Effect::TrackProgress
bool TrackProgress(int whichTrack, double frac, const TranslatableString &={})
Definition: Effect.cpp:2024