Audacity 3.2.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
EffectTimeScale Class Referencefinal

An EffectTimeScale does high quality sliding time scaling/pitch shifting. More...

#include <TimeScale.h>

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

Public Member Functions

 EffectTimeScale ()
 
virtual ~EffectTimeScale ()
 
ComponentInterfaceSymbol GetSymbol () const override
 
TranslatableString GetDescription () const override
 
ManualPageID ManualPage () const override
 Name of a page in the Audacity alpha manual, default is empty. More...
 
EffectType GetType () const override
 Type determines how it behaves. More...
 
std::any BeginPreview (const EffectSettings &settings) override
 Called when Preview() starts, to allow temporary effect state changes. More...
 
bool Process (EffectInstance &instance, EffectSettings &settings) override
 
std::unique_ptr< EffectEditorPopulateOrExchange (ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) override
 Add controls to effect panel; always succeeds. More...
 
bool TransferDataToWindow (const EffectSettings &settings) override
 
bool TransferDataFromWindow (EffectSettings &settings) override
 
double CalcPreviewInputLength (const EffectSettings &settings, double previewLength) const override
 
- Public Member Functions inherited from EffectSBSMS
bool Process (EffectInstance &instance, EffectSettings &settings) override
 
void setParameters (double rateStart, double rateEnd, double pitchStart, double pitchEnd, SlideType rateSlideType, SlideType pitchSlideType, bool bLinkRatePitch, bool bRateReferenceInput, bool bPitchReferenceInput)
 
void setParameters (double tempoRatio, double pitchRatio)
 
- Public Member Functions inherited from StatefulEffect
 ~StatefulEffect () override
 
std::shared_ptr< EffectInstanceMakeInstance () const override
 Make an object maintaining short-term state of an Effect. More...
 
- Public Member Functions inherited from StatefulEffectBase
virtual bool Init ()
 
virtual bool Process (EffectInstance &instance, EffectSettings &settings)=0
 
virtual bool RealtimeInitialize (EffectSettings &settings, double sampleRate)
 
virtual bool RealtimeAddProcessor (EffectSettings &settings, EffectOutputs *pOutputs, unsigned numChannels, float sampleRate)
 
virtual bool RealtimeSuspend ()
 
virtual bool RealtimeResume ()
 
virtual bool RealtimeProcessStart (MessagePackage &package)
 settings are possibly changed, since last call, by an asynchronous dialog More...
 
virtual size_t RealtimeProcess (size_t group, EffectSettings &settings, const float *const *inBuf, float *const *outBuf, size_t numSamples)
 
virtual bool RealtimeProcessEnd (EffectSettings &settings) noexcept
 settings can be updated to let a dialog change appearance at idle More...
 
virtual bool RealtimeFinalize (EffectSettings &settings) noexcept
 
virtual size_t SetBlockSize (size_t maxBlockSize)
 
virtual size_t GetBlockSize () const
 
virtual unsigned GetAudioInCount () const
 How many input buffers to allocate at once. More...
 
virtual unsigned GetAudioOutCount () const
 How many output buffers to allocate at once. More...
 
virtual sampleCount GetLatency () const
 
virtual bool NeedsDither () const
 
virtual bool ProcessInitialize (EffectSettings &settings, double sampleRate, ChannelNames chanMap=nullptr)
 
virtual bool ProcessFinalize () noexcept
 
- Public Member Functions inherited from Effect
 Effect ()
 
virtual ~Effect ()
 
PluginPath GetPath () const override
 
bool VisitSettings (SettingsVisitor &visitor, EffectSettings &settings) override
 
bool VisitSettings (ConstSettingsVisitor &visitor, const EffectSettings &settings) const override
 
ComponentInterfaceSymbol GetSymbol () const override
 
VendorSymbol GetVendor () const override
 
wxString GetVersion () const override
 
TranslatableString GetDescription () const override
 
EffectType GetType () const override
 Type determines how it behaves. More...
 
EffectFamilySymbol GetFamily () const override
 Report identifier and user-visible name of the effect protocol. More...
 
bool IsInteractive () const override
 Whether the effect needs a dialog for entry of settings. More...
 
bool IsDefault () const override
 Whether the effect sorts "above the line" in the menus. More...
 
RealtimeSince RealtimeSupport () const override
 Since which version of Audacity has the effect supported realtime? More...
 
bool SupportsAutomation () const override
 Whether the effect has any automatable controls. More...
 
bool SaveSettings (const EffectSettings &settings, CommandParameters &parms) const override
 Store settings as keys and values. More...
 
bool LoadSettings (const CommandParameters &parms, EffectSettings &settings) const override
 Restore settings from keys and values. More...
 
OptionalMessage LoadUserPreset (const RegistryPath &name, EffectSettings &settings) const override
 
bool SaveUserPreset (const RegistryPath &name, const EffectSettings &settings) const override
 Save settings in the configuration file as a user-named preset. More...
 
RegistryPaths GetFactoryPresets () const override
 Report names of factory presets. More...
 
OptionalMessage LoadFactoryPreset (int id, EffectSettings &settings) const override
 
OptionalMessage LoadFactoryDefaults (EffectSettings &settings) const override
 
virtual const EffectParameterMethodsParameters () const
 
bool CanExportPresets () const override
 Whether the effect supports export of presets to files, and importing too. More...
 
bool HasOptions () const override
 
const EffectSettingsManagerGetDefinition () const override
 
virtual NumericFormatSymbol GetSelectionFormat ()
 
bool SaveSettingsAsString (const EffectSettings &settings, wxString &parms) const override
 
OptionalMessage LoadSettingsFromString (const wxString &parms, EffectSettings &settings) const override
 
bool IsBatchProcessing () const override
 
void SetBatchProcessing () override
 
void UnsetBatchProcessing () override
 
unsigned TestUIFlags (unsigned mask)
 
bool Delegate (Effect &delegate, EffectSettings &settings, InstanceFinder finder={})
 Re-invoke DoEffect on another Effect object that implements the work. More...
 
- Public Member Functions inherited from EffectBase
 EffectBase ()
 
 ~EffectBase () override
 
bool IsLinearEffect () const
 
bool PreviewsFullSelection () const
 
void SetTracks (TrackList *pTracks)
 
virtual std::any BeginPreview (const EffectSettings &settings)
 Called when Preview() starts, to allow temporary effect state changes. More...
 
bool DoEffect (EffectSettings &settings, const InstanceFinder &finder, double projectRate, TrackList *list, WaveTrackFactory *factory, NotifyingSelectedRegion &selectedRegion, unsigned flags, const EffectSettingsAccessPtr &pAccess) override
 
virtual double CalcPreviewInputLength (const EffectSettings &settings, double previewLength) const =0
 
void CountWaveTracks ()
 
- Public Member Functions inherited from EffectPlugin
EffectPluginoperator= (EffectPlugin &)=delete
 
virtual ~EffectPlugin ()
 
virtual bool HasOptions () const =0
 
virtual bool CanExportPresets () const =0
 Whether the effect supports export of presets to files, and importing too. More...
 
virtual const EffectSettingsManagerGetDefinition () const =0
 
virtual bool SaveSettingsAsString (const EffectSettings &settings, wxString &parms) const =0
 
virtual OptionalMessage LoadSettingsFromString (const wxString &parms, EffectSettings &settings) const =0
 
virtual bool IsBatchProcessing () const =0
 
virtual void SetBatchProcessing ()=0
 
virtual void UnsetBatchProcessing ()=0
 
virtual bool DoEffect (EffectSettings &settings, const InstanceFinder &finder, double projectRate, TrackList *list, WaveTrackFactory *factory, NotifyingSelectedRegion &selectedRegion, unsigned flags, const EffectSettingsAccessPtr &pAccess=nullptr)=0
 
- Public Member Functions inherited from EffectInstanceFactory
virtual ~EffectInstanceFactory ()
 
virtual std::shared_ptr< EffectInstanceMakeInstance () const =0
 Make an object maintaining short-term state of an Effect. More...
 
- Public Member Functions inherited from EffectSettingsManager
virtual ~EffectSettingsManager ()
 
virtual bool VisitSettings (SettingsVisitor &visitor, EffectSettings &settings)
 
virtual bool VisitSettings (ConstSettingsVisitor &visitor, const EffectSettings &settings) const
 
virtual EffectSettings MakeSettings () const
 
virtual bool CopySettingsContents (const EffectSettings &src, EffectSettings &dst) const
 Update one settings object from another. More...
 
virtual std::unique_ptr< EffectOutputsMakeOutputs () const
 Produce an object to hold values to send to effect output meters. More...
 
- Public Member Functions inherited from EffectDefinitionInterface
virtual ~EffectDefinitionInterface ()
 
virtual EffectType GetType () const =0
 Type determines how it behaves. More...
 
virtual EffectType GetClassification () const
 Determines which menu it appears in; default same as GetType(). More...
 
virtual EffectFamilySymbol GetFamily () const =0
 Report identifier and user-visible name of the effect protocol. More...
 
virtual bool IsInteractive () const =0
 Whether the effect needs a dialog for entry of settings. More...
 
virtual bool IsDefault () const =0
 Whether the effect sorts "above the line" in the menus. More...
 
virtual RealtimeSince RealtimeSupport () const =0
 Since which version of Audacity has the effect supported realtime? More...
 
bool SupportsRealtime () const
 
virtual bool SupportsAutomation () const =0
 Whether the effect has any automatable controls. More...
 
virtual bool EnablesDebug () const
 Whether the effect dialog should have a Debug button; default, always false. More...
 
virtual ManualPageID ManualPage () const
 Name of a page in the Audacity alpha manual, default is empty. More...
 
virtual FilePath HelpPage () const
 Fully qualified local help file name, default is empty. More...
 
virtual bool IsHiddenFromMenus () const
 Default is false. More...
 
- Public Member Functions inherited from ComponentInterface
virtual ~ComponentInterface ()
 
virtual PluginPath GetPath () const =0
 
virtual ComponentInterfaceSymbol GetSymbol () const =0
 
virtual VendorSymbol GetVendor () const =0
 
virtual wxString GetVersion () const =0
 
virtual TranslatableString GetDescription () const =0
 
TranslatableString GetName () const
 
- Public Member Functions inherited from StatefulEffectUIServices
 ~StatefulEffectUIServices () override
 
std::unique_ptr< EffectEditorPopulateUI (const EffectPlugin &plugin, ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) const override
 Allows PopulateOrExchange to return null. More...
 
virtual std::unique_ptr< EffectEditorPopulateOrExchange (ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs)
 Add controls to effect panel; always succeeds. More...
 
virtual bool TransferDataToWindow (const EffectSettings &settings)
 
virtual bool TransferDataFromWindow (EffectSettings &settings)
 
- Public Member Functions inherited from BasicEffectUIServices
int ShowClientInterface (const EffectPlugin &plugin, wxWindow &parent, wxDialog &dialog, EffectEditor *pEditor, bool forceModal) const override
 
void ExportPresets (const EffectPlugin &plugin, const EffectSettings &settings) const override
 
OptionalMessage ImportPresets (const EffectPlugin &plugin, EffectSettings &settings) const override
 
void ShowOptions (const EffectPlugin &plugin) const override
 
bool ValidateUI (const EffectPlugin &context, EffectSettings &) const override
 
bool CloseUI () const override
 
- Public Member Functions inherited from EffectUIServices
virtual ~EffectUIServices ()
 
virtual int ShowHostInterface (EffectBase &plugin, wxWindow &parent, const EffectDialogFactory &factory, std::shared_ptr< EffectInstance > &pInstance, EffectSettingsAccess &access, bool forceModal=false)
 
virtual int ShowClientInterface (const EffectPlugin &plugin, wxWindow &parent, wxDialog &dialog, EffectEditor *pEditor, bool forceModal=false) const =0
 
virtual std::unique_ptr< EffectEditorPopulateUI (const EffectPlugin &plugin, ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) const =0
 Adds controls to a panel that is given as the parent window of S More...
 
virtual void ExportPresets (const EffectPlugin &plugin, const EffectSettings &settings) const =0
 
virtual OptionalMessage ImportPresets (const EffectPlugin &plugin, EffectSettings &settings) const =0
 
virtual void ShowOptions (const EffectPlugin &plugin) const =0
 
virtual bool ValidateUI (const EffectPlugin &context, EffectSettings &settings) const =0
 
virtual bool CloseUI () const =0
 

Static Public Member Functions

static EffectTimeScaleFetchParameters (EffectTimeScale &e, EffectSettings &)
 
- Static Public Member Functions inherited from EffectSBSMS
static double getInvertedStretchedTime (double rateStart, double rateEnd, SlideType slideType, double outputTime)
 
static double getRate (double rateStart, double rateEnd, SlideType slideType, double t)
 
- Static Public Member Functions inherited from Effect
static EffectFetchParameters (Effect &e, EffectSettings &)
 
- Static Public Member Functions inherited from EffectBase
static std::optional< InstancePointerFindInstance (EffectPlugin &plugin)
 
static InstanceFinder DefaultInstanceFinder (EffectPlugin &plugin)
 
- Static Public Member Functions inherited from EffectDefinitionInterface
static Identifier GetSquashedName (const Identifier &ident)
 A utility that strips spaces and CamelCases a name. More...
 
- Static Public Member Functions inherited from EffectUIServices
static int DoMessageBox (const EffectPlugin &plugin, const TranslatableString &message, long style=DefaultMessageBoxStyle, const TranslatableString &titleStr={})
 

Static Public Attributes

static const ComponentInterfaceSymbol Symbol { wxT("Sliding Stretch"), XO("Sliding Stretch") }
 
- Static Public Attributes inherited from EffectPlugin
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 OnText_RatePercentChangeStart (wxCommandEvent &evt)
 
void OnText_RatePercentChangeEnd (wxCommandEvent &evt)
 
void OnText_PitchPercentChangeStart (wxCommandEvent &evt)
 
void OnText_PitchPercentChangeEnd (wxCommandEvent &evt)
 
void OnText_PitchHalfStepsStart (wxCommandEvent &evt)
 
void OnText_PitchHalfStepsEnd (wxCommandEvent &evt)
 
void OnSlider_RatePercentChangeStart (wxCommandEvent &evt)
 
void OnSlider_RatePercentChangeEnd (wxCommandEvent &evt)
 
void OnCheckBox_PreAnalyze (wxCommandEvent &evt)
 
void Update_Text_RatePercentChangeStart ()
 
void Update_Text_RatePercentChangeEnd ()
 
void Update_Text_PitchPercentChangeStart ()
 
void Update_Text_PitchPercentChangeEnd ()
 
void Update_Text_PitchHalfStepsStart ()
 
void Update_Text_PitchHalfStepsEnd ()
 
void Update_Slider_RatePercentChangeStart ()
 
void Update_Slider_RatePercentChangeEnd ()
 
const EffectParameterMethodsParameters () const override
 

Static Private Member Functions

static double PercentChangeToRatio (double percentChange)
 
static double HalfStepsToPercentChange (double halfSteps)
 
static double PercentChangeToHalfSteps (double percentChange)
 

Private Attributes

wxWeakRef< wxWindow > mUIParent {}
 
bool bPreview
 
double previewSelectedDuration
 
SlideType slideTypeRate
 
SlideType slideTypePitch
 
double m_RatePercentChangeStart
 
double m_RatePercentChangeEnd
 
double m_PitchHalfStepsStart
 
double m_PitchHalfStepsEnd
 
double m_PitchPercentChangeStart
 
double m_PitchPercentChangeEnd
 
wxTextCtrl * m_pTextCtrl_RatePercentChangeStart
 
wxTextCtrl * m_pTextCtrl_RatePercentChangeEnd
 
wxSlider * m_pSlider_RatePercentChangeStart
 
wxSlider * m_pSlider_RatePercentChangeEnd
 
wxTextCtrl * m_pTextCtrl_PitchHalfStepsStart
 
wxTextCtrl * m_pTextCtrl_PitchHalfStepsEnd
 
wxTextCtrl * m_pTextCtrl_PitchPercentChangeStart
 
wxTextCtrl * m_pTextCtrl_PitchPercentChangeEnd
 

Static Private Attributes

static constexpr EffectParameter RatePercentStart
 
static constexpr EffectParameter RatePercentEnd
 
static constexpr EffectParameter HalfStepsStart
 
static constexpr EffectParameter HalfStepsEnd
 
static constexpr EffectParameter PitchPercentStart
 
static constexpr EffectParameter PitchPercentEnd
 

Additional Inherited Members

- Public Types inherited from StatefulEffectBase
using MessagePackage = EffectInstance::MessagePackage
 
- Public Types inherited from EffectPlugin
using EffectSettingsAccessPtr = std::shared_ptr< EffectSettingsAccess >
 
using InstancePointer = std::shared_ptr< EffectInstanceEx >
 
using InstanceFinder = std::function< std::optional< InstancePointer >(EffectSettings &settings) >
 
- Public Types inherited from EffectDefinitionInterface
enum class  RealtimeSince : unsigned { Never , After_3_1 , Always }
 In which versions of Audacity was an effect realtime capable? More...
 
- Public Types inherited from EffectUIServices
enum  : long { DefaultMessageBoxStyle = wxOK | wxCENTRE }
 
- Public Attributes inherited from EffectBase
std::shared_ptr< TrackListmTracks {}
 
int mNumTracks {}
 
BasicUI::ProgressDialogmProgress {}
 
double mProjectRate {}
 
WaveTrackFactorymFactory {}
 
double mT0 {}
 
double mT1 {}
 
bool mIsPreview { false }
 
ComponentInterfaceSymbol GetSymbol () const override
 
- Protected Member Functions inherited from Effect
bool CheckWhetherSkipEffect (const EffectSettings &settings) const override
 Default implementation returns false. More...
 
double CalcPreviewInputLength (const EffectSettings &settings, double previewLength) const override
 Default implementation returns previewLength More...
 
bool TotalProgress (double frac, const TranslatableString &={}) const
 
bool TrackProgress (int whichTrack, double frac, const TranslatableString &={}) const
 
bool TrackGroupProgress (int whichGroup, double frac, const TranslatableString &={}) const
 
int GetNumWaveTracks () const
 
int GetNumWaveGroups () const
 
void GetBounds (const WaveTrack &track, sampleCount *start, sampleCount *len)
 
- Protected Member Functions inherited from EffectBase
virtual bool CheckWhetherSkipEffect (const EffectSettings &settings) const =0
 After Init(), tell whether Process() should be skipped. More...
 
void SetLinearEffectFlag (bool linearEffectFlag)
 
void SetPreviewFullSelectionFlag (bool previewDurationFlag)
 
bool IsPreviewing () const
 
const TrackListinputTracks () const
 
const AudacityProjectFindProject () const
 
- Protected Attributes inherited from EffectSBSMS
TranslatableString mProxyEffectName { XO("SBSMS Time / Pitch Stretch") }
 
- Protected Attributes inherited from EffectBase
wxArrayString mPresetNames
 
unsigned mUIFlags { 0 }
 

Detailed Description

An EffectTimeScale does high quality sliding time scaling/pitch shifting.

Definition at line 26 of file TimeScale.h.

Constructor & Destructor Documentation

◆ EffectTimeScale()

EffectTimeScale::EffectTimeScale ( )

Definition at line 67 of file TimeScale.cpp.

68{
69 Parameters().Reset(*this);
70
71 slideTypeRate = SlideLinearOutputRate;
72 slideTypePitch = SlideLinearOutputRate;
73 bPreview = false;
75
77}
void SetLinearEffectFlag(bool linearEffectFlag)
Definition: EffectBase.cpp:214
virtual void Reset(Effect &effect) const =0
SlideType slideTypePitch
Definition: TimeScale.h:89
double previewSelectedDuration
Definition: TimeScale.h:87
SlideType slideTypeRate
Definition: TimeScale.h:88
const EffectParameterMethods & Parameters() const override
Definition: TimeScale.cpp:38

Referenced by Parameters().

Here is the caller graph for this function:

◆ ~EffectTimeScale()

EffectTimeScale::~EffectTimeScale ( )
virtual

Definition at line 79 of file TimeScale.cpp.

80{
81}

Member Function Documentation

◆ BeginPreview()

std::any EffectTimeScale::BeginPreview ( const EffectSettings settings)
overridevirtual

Called when Preview() starts, to allow temporary effect state changes.

default returns a null

Returns
will undo its effects in its destructor before Preview() finishes

Reimplemented from EffectBase.

Definition at line 124 of file TimeScale.cpp.

125{
126 previewSelectedDuration = settings.extra.GetDuration();
127 return { CopyableValueRestorer{ bPreview, true } };
128}
static Settings & settings()
Definition: TrackInfo.cpp:83

References bPreview, previewSelectedDuration, and settings().

Here is the call graph for this function:

◆ CalcPreviewInputLength()

double EffectTimeScale::CalcPreviewInputLength ( const EffectSettings settings,
double  previewLength 
) const
overridevirtual

Implements EffectBase.

Definition at line 109 of file TimeScale.cpp.

111{
112 double inputLength = settings.extra.GetDuration();
113 if(inputLength == 0.0) {
114 return 0.0;
115 } else {
118 double tOut = previewLength/inputLength;
119 double t = EffectSBSMS::getInvertedStretchedTime(rateStart1,rateEnd1,slideTypeRate,tOut);
120 return t * inputLength;
121 }
122}
static double getInvertedStretchedTime(double rateStart, double rateEnd, SlideType slideType, double outputTime)
static double PercentChangeToRatio(double percentChange)
Definition: TimeScale.cpp:278
double m_RatePercentChangeEnd
Definition: TimeScale.h:91
double m_RatePercentChangeStart
Definition: TimeScale.h:90

References EffectSBSMS::getInvertedStretchedTime(), m_RatePercentChangeEnd, m_RatePercentChangeStart, PercentChangeToRatio(), settings(), and slideTypeRate.

Here is the call graph for this function:

◆ FetchParameters()

static EffectTimeScale * EffectTimeScale::FetchParameters ( EffectTimeScale e,
EffectSettings  
)
inlinestatic

Definition at line 30 of file TimeScale.h.

30{ return &e; }

◆ GetDescription()

TranslatableString EffectTimeScale::GetDescription ( ) const
overridevirtual

Implements ComponentInterface.

Definition at line 90 of file TimeScale.cpp.

91{
92 return XO("Allows continuous changes to the tempo and/or pitch");
93}
XO("Cut/Copy/Paste")

References XO().

Here is the call graph for this function:

◆ GetSymbol()

ComponentInterfaceSymbol EffectTimeScale::GetSymbol ( ) const
overridevirtual

Reimplemented from EffectSBSMS.

Definition at line 85 of file TimeScale.cpp.

86{
87 return Symbol;
88}
static const ComponentInterfaceSymbol Symbol
Definition: TimeScale.h:31

References Symbol.

◆ GetType()

EffectType EffectTimeScale::GetType ( ) const
overridevirtual

Type determines how it behaves.

Implements EffectDefinitionInterface.

Definition at line 102 of file TimeScale.cpp.

103{
104 return EffectTypeProcess;
105}
@ EffectTypeProcess

References EffectTypeProcess.

◆ HalfStepsToPercentChange()

double EffectTimeScale::HalfStepsToPercentChange ( double  halfSteps)
inlinestaticprivate

Definition at line 283 of file TimeScale.cpp.

284{
285 return 100.0 * (pow(2.0,halfSteps/12.0) - 1.0);
286}

Referenced by OnText_PitchHalfStepsEnd(), and OnText_PitchHalfStepsStart().

Here is the caller graph for this function:

◆ ManualPage()

ManualPageID EffectTimeScale::ManualPage ( ) const
overridevirtual

Name of a page in the Audacity alpha manual, default is empty.

Reimplemented from EffectDefinitionInterface.

Definition at line 95 of file TimeScale.cpp.

96{
97 return L"Sliding_Stretch";
98}

◆ OnCheckBox_PreAnalyze()

void EffectTimeScale::OnCheckBox_PreAnalyze ( wxCommandEvent &  evt)
private

◆ OnSlider_RatePercentChangeEnd()

void EffectTimeScale::OnSlider_RatePercentChangeEnd ( wxCommandEvent &  evt)
private

Definition at line 363 of file TimeScale.cpp.

364{
365 m_RatePercentChangeEnd = (double) evt.GetInt();
366
368}
void Update_Text_RatePercentChangeEnd()
Definition: TimeScale.cpp:299

References m_RatePercentChangeEnd, and Update_Text_RatePercentChangeEnd().

Here is the call graph for this function:

◆ OnSlider_RatePercentChangeStart()

void EffectTimeScale::OnSlider_RatePercentChangeStart ( wxCommandEvent &  evt)
private

Definition at line 356 of file TimeScale.cpp.

357{
358 m_RatePercentChangeStart = (double) evt.GetInt();
359
361}
void Update_Text_RatePercentChangeStart()
Definition: TimeScale.cpp:294

References m_RatePercentChangeStart, and Update_Text_RatePercentChangeStart().

Here is the call graph for this function:

◆ OnText_PitchHalfStepsEnd()

void EffectTimeScale::OnText_PitchHalfStepsEnd ( wxCommandEvent &  evt)
private

Definition at line 382 of file TimeScale.cpp.

383{
385 mUIParent, mUIParent->TransferDataFromWindow()))
386 {
387 return;
388 }
389
392}
static bool EnableApply(wxWindow *parent, bool enable=true)
Enable or disable the Apply button of the dialog that contains parent.
static double HalfStepsToPercentChange(double halfSteps)
Definition: TimeScale.cpp:283
double m_PitchHalfStepsEnd
Definition: TimeScale.h:93
wxWeakRef< wxWindow > mUIParent
Definition: TimeScale.h:84
double m_PitchPercentChangeEnd
Definition: TimeScale.h:95
void Update_Text_PitchPercentChangeEnd()
Definition: TimeScale.cpp:329

References EffectEditor::EnableApply(), HalfStepsToPercentChange(), m_PitchHalfStepsEnd, m_PitchPercentChangeEnd, mUIParent, and Update_Text_PitchPercentChangeEnd().

Here is the call graph for this function:

◆ OnText_PitchHalfStepsStart()

void EffectTimeScale::OnText_PitchHalfStepsStart ( wxCommandEvent &  evt)
private

Definition at line 370 of file TimeScale.cpp.

371{
373 mUIParent, mUIParent->TransferDataFromWindow()))
374 {
375 return;
376 }
377
380}
double m_PitchPercentChangeStart
Definition: TimeScale.h:94
double m_PitchHalfStepsStart
Definition: TimeScale.h:92
void Update_Text_PitchPercentChangeStart()
Definition: TimeScale.cpp:324

References EffectEditor::EnableApply(), HalfStepsToPercentChange(), m_PitchHalfStepsStart, m_PitchPercentChangeStart, mUIParent, and Update_Text_PitchPercentChangeStart().

Here is the call graph for this function:

◆ OnText_PitchPercentChangeEnd()

void EffectTimeScale::OnText_PitchPercentChangeEnd ( wxCommandEvent &  evt)
private

Definition at line 406 of file TimeScale.cpp.

407{
409 mUIParent, mUIParent->TransferDataFromWindow()))
410 {
411 return;
412 }
413
416}
static double PercentChangeToHalfSteps(double percentChange)
Definition: TimeScale.cpp:289
void Update_Text_PitchHalfStepsEnd()
Definition: TimeScale.cpp:319

References EffectEditor::EnableApply(), m_PitchHalfStepsEnd, m_PitchPercentChangeEnd, mUIParent, PercentChangeToHalfSteps(), and Update_Text_PitchHalfStepsEnd().

Here is the call graph for this function:

◆ OnText_PitchPercentChangeStart()

void EffectTimeScale::OnText_PitchPercentChangeStart ( wxCommandEvent &  evt)
private

Definition at line 394 of file TimeScale.cpp.

395{
397 mUIParent, mUIParent->TransferDataFromWindow()))
398 {
399 return;
400 }
401
404}
void Update_Text_PitchHalfStepsStart()
Definition: TimeScale.cpp:314

References EffectEditor::EnableApply(), m_PitchHalfStepsStart, m_PitchPercentChangeStart, mUIParent, PercentChangeToHalfSteps(), and Update_Text_PitchHalfStepsStart().

Here is the call graph for this function:

◆ OnText_RatePercentChangeEnd()

void EffectTimeScale::OnText_RatePercentChangeEnd ( wxCommandEvent &  evt)
private

Definition at line 345 of file TimeScale.cpp.

346{
348 mUIParent, mUIParent->TransferDataFromWindow()))
349 {
350 return;
351 }
352
354}
void Update_Slider_RatePercentChangeEnd()
Definition: TimeScale.cpp:309

References EffectEditor::EnableApply(), mUIParent, and Update_Slider_RatePercentChangeEnd().

Here is the call graph for this function:

◆ OnText_RatePercentChangeStart()

void EffectTimeScale::OnText_RatePercentChangeStart ( wxCommandEvent &  evt)
private

Definition at line 334 of file TimeScale.cpp.

335{
337 mUIParent, mUIParent->TransferDataFromWindow()))
338 {
339 return;
340 }
341
343}
void Update_Slider_RatePercentChangeStart()
Definition: TimeScale.cpp:304

References EffectEditor::EnableApply(), mUIParent, and Update_Slider_RatePercentChangeStart().

Here is the call graph for this function:

◆ Parameters()

const EffectParameterMethods & EffectTimeScale::Parameters ( ) const
overrideprivatevirtual

Reimplemented from Effect.

Definition at line 38 of file TimeScale.cpp.

39{
43 > parameters;
44 return parameters;
45}
Generates EffectParameterMethods overrides from variadic template arguments.
static constexpr EffectParameter RatePercentEnd
Definition: TimeScale.h:111
static constexpr EffectParameter RatePercentStart
Definition: TimeScale.h:109
static constexpr EffectParameter HalfStepsEnd
Definition: TimeScale.h:115
static constexpr EffectParameter PitchPercentEnd
Definition: TimeScale.h:119
static constexpr EffectParameter PitchPercentStart
Definition: TimeScale.h:117
static constexpr EffectParameter HalfStepsStart
Definition: TimeScale.h:113

References EffectTimeScale(), HalfStepsEnd, HalfStepsStart, PitchPercentEnd, PitchPercentStart, RatePercentEnd, and RatePercentStart.

Here is the call graph for this function:

◆ PercentChangeToHalfSteps()

double EffectTimeScale::PercentChangeToHalfSteps ( double  percentChange)
inlinestaticprivate

Definition at line 289 of file TimeScale.cpp.

290{
291 return 12.0 * log2(PercentChangeToRatio(percentChange));
292}

References PercentChangeToRatio().

Referenced by OnText_PitchPercentChangeEnd(), and OnText_PitchPercentChangeStart().

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

◆ PercentChangeToRatio()

double EffectTimeScale::PercentChangeToRatio ( double  percentChange)
inlinestaticprivate

Definition at line 278 of file TimeScale.cpp.

279{
280 return 1.0 + percentChange / 100.0;
281}

Referenced by CalcPreviewInputLength(), PercentChangeToHalfSteps(), and Process().

Here is the caller graph for this function:

◆ PopulateOrExchange()

std::unique_ptr< EffectEditor > EffectTimeScale::PopulateOrExchange ( ShuttleGui S,
EffectInstance instance,
EffectSettingsAccess access,
const EffectOutputs pOutputs 
)
overridevirtual

Add controls to effect panel; always succeeds.

Returns
if not null, then return it from PopulateUI instead of a DefaultEffectEditor; default implementation returns null

Reimplemented from StatefulEffectUIServices.

Definition at line 148 of file TimeScale.cpp.

151{
152 mUIParent = S.GetParent();
153 S.SetBorder(5);
154 S.AddSpace(0, 5);
155
156 S.StartMultiColumn(2, wxALIGN_CENTER);
157 {
158 // Rate Start
159 S.StartStatic(XO("Initial Tempo Change (%)"));
160 {
161 S.StartMultiColumn(1, wxCENTER);
162 {
164 .Validator<FloatingPointValidator<double>>(
166 NumValidatorStyle::NO_TRAILING_ZEROES,
168 .AddTextBox( {}, L"", 12);
169 }
170 S.EndMultiColumn();
171 S.StartHorizontalLay(wxEXPAND, 0);
172 {
174 .Style(wxSL_HORIZONTAL)
176 }
177 S.EndHorizontalLay();
178 }
179 S.EndStatic();
180
181 S.StartStatic(XO("Final Tempo Change (%)"));
182 {
183 S.StartMultiColumn(1, wxCENTER);
184 {
186 .Validator<FloatingPointValidator<double>>(
188 NumValidatorStyle::NO_TRAILING_ZEROES,
190 .AddTextBox( {}, L"", 12);
191 }
192 S.EndMultiColumn();
193 S.StartHorizontalLay(wxEXPAND, 0);
194 {
196 .Style(wxSL_HORIZONTAL)
198 }
199 S.EndHorizontalLay();
200 }
201 S.EndStatic();
202
203 // Pitch Start
204 S.StartStatic(XO("Initial Pitch Shift"));
205 {
206 S.StartMultiColumn(2, wxCENTER);
207 {
209 .Validator<FloatingPointValidator<double>>(
211 NumValidatorStyle::NO_TRAILING_ZEROES,
213 .AddTextBox(XXO("(&semitones) [-12 to 12]:"), L"", 12);
214
215
217 .Validator<FloatingPointValidator<double>>(
219 NumValidatorStyle::NO_TRAILING_ZEROES,
221 .AddTextBox(XXO("(%) [-50 to 100]:"), L"", 12);
222 }
223 S.EndMultiColumn();
224 }
225 S.EndStatic();
226
227 // Pitch End
228 S.StartStatic(XO("Final Pitch Shift"));
229 {
230 S.StartMultiColumn(2, wxCENTER);
231 {
233 .Validator<FloatingPointValidator<double>>(
235 NumValidatorStyle::NO_TRAILING_ZEROES,
237 .AddTextBox(XXO("(s&emitones) [-12 to 12]:"), L"", 12);
238
240 .Validator<FloatingPointValidator<double>>(
242 NumValidatorStyle::NO_TRAILING_ZEROES,
244 .AddTextBox(XXO("(%) [-50 to 100]:"), L"", 12);
245 }
246 S.EndMultiColumn();
247 }
248 S.EndStatic();
249 }
250 S.EndMultiColumn();
251
252 return nullptr;
253}
XXO("&Cut/Copy/Paste Toolbar")
@ ID_RatePercentChangeEnd
Definition: TimeScale.cpp:31
@ ID_PitchHalfStepsEnd
Definition: TimeScale.cpp:33
@ ID_RatePercentChangeStart
Definition: TimeScale.cpp:30
@ ID_PitchPercentChangeEnd
Definition: TimeScale.cpp:35
@ ID_PitchHalfStepsStart
Definition: TimeScale.cpp:32
@ ID_PitchPercentChangeStart
Definition: TimeScale.cpp:34
#define S(N)
Definition: ToChars.cpp:64
wxTextCtrl * m_pTextCtrl_PitchHalfStepsEnd
Definition: TimeScale.h:102
wxSlider * m_pSlider_RatePercentChangeStart
Definition: TimeScale.h:99
wxTextCtrl * m_pTextCtrl_RatePercentChangeStart
Definition: TimeScale.h:97
wxTextCtrl * m_pTextCtrl_RatePercentChangeEnd
Definition: TimeScale.h:98
wxSlider * m_pSlider_RatePercentChangeEnd
Definition: TimeScale.h:100
wxTextCtrl * m_pTextCtrl_PitchHalfStepsStart
Definition: TimeScale.h:101
wxTextCtrl * m_pTextCtrl_PitchPercentChangeStart
Definition: TimeScale.h:103
wxTextCtrl * m_pTextCtrl_PitchPercentChangeEnd
Definition: TimeScale.h:104
const Type def
Default value.
const Type min
Minimum value.
const Type max
Maximum value.

References EffectParameter< Structure, Member, Type, Value >::def, HalfStepsEnd, HalfStepsStart, ID_PitchHalfStepsEnd, ID_PitchHalfStepsStart, ID_PitchPercentChangeEnd, ID_PitchPercentChangeStart, ID_RatePercentChangeEnd, ID_RatePercentChangeStart, m_PitchHalfStepsEnd, m_PitchHalfStepsStart, m_PitchPercentChangeEnd, m_PitchPercentChangeStart, m_pSlider_RatePercentChangeEnd, m_pSlider_RatePercentChangeStart, m_pTextCtrl_PitchHalfStepsEnd, m_pTextCtrl_PitchHalfStepsStart, m_pTextCtrl_PitchPercentChangeEnd, m_pTextCtrl_PitchPercentChangeStart, m_pTextCtrl_RatePercentChangeEnd, m_pTextCtrl_RatePercentChangeStart, m_RatePercentChangeEnd, m_RatePercentChangeStart, EffectParameter< Structure, Member, Type, Value >::max, EffectParameter< Structure, Member, Type, Value >::min, mUIParent, PitchPercentStart, RatePercentEnd, RatePercentStart, S, XO(), and XXO().

Here is the call graph for this function:

◆ Process()

bool EffectTimeScale::Process ( EffectInstance instance,
EffectSettings settings 
)
overridevirtual

Reimplemented from EffectSBSMS.

Definition at line 130 of file TimeScale.cpp.

132{
137
138 if(bPreview) {
139 double t = (mT1-mT0) / previewSelectedDuration;
140 rateEnd1 = EffectSBSMS::getRate(rateStart1,rateEnd1,slideTypeRate,t);
141 pitchEnd1 = EffectSBSMS::getRate(pitchStart1,pitchEnd1,slideTypePitch,t);
142 }
143
144 EffectSBSMS::setParameters(rateStart1,rateEnd1,pitchStart1,pitchEnd1,slideTypeRate,slideTypePitch,false,false,false);
145 return EffectSBSMS::Process(instance, settings);
146}
double mT1
Definition: EffectBase.h:116
double mT0
Definition: EffectBase.h:115
void setParameters(double rateStart, double rateEnd, double pitchStart, double pitchEnd, SlideType rateSlideType, SlideType pitchSlideType, bool bLinkRatePitch, bool bRateReferenceInput, bool bPitchReferenceInput)
bool Process(EffectInstance &instance, EffectSettings &settings) override
static double getRate(double rateStart, double rateEnd, SlideType slideType, double t)

References bPreview, EffectSBSMS::getRate(), m_PitchPercentChangeEnd, m_PitchPercentChangeStart, m_RatePercentChangeEnd, m_RatePercentChangeStart, EffectBase::mT0, EffectBase::mT1, PercentChangeToRatio(), previewSelectedDuration, EffectSBSMS::Process(), EffectSBSMS::setParameters(), settings(), slideTypePitch, and slideTypeRate.

Here is the call graph for this function:

◆ TransferDataFromWindow()

bool EffectTimeScale::TransferDataFromWindow ( EffectSettings settings)
overridevirtual

Update the given settings from controls; default does nothing, returns true

Reimplemented from StatefulEffectUIServices.

Definition at line 268 of file TimeScale.cpp.

269{
270 if (!mUIParent->Validate() || !mUIParent->TransferDataFromWindow())
271 {
272 return false;
273 }
274
275 return true;
276}

References mUIParent.

◆ TransferDataToWindow()

bool EffectTimeScale::TransferDataToWindow ( const EffectSettings settings)
overridevirtual

Update controls for the settings; default does nothing, returns true

Reimplemented from StatefulEffectUIServices.

Definition at line 255 of file TimeScale.cpp.

256{
257 if (!mUIParent->TransferDataToWindow())
258 {
259 return false;
260 }
261
264
265 return true;
266}

References mUIParent, Update_Slider_RatePercentChangeEnd(), and Update_Slider_RatePercentChangeStart().

Here is the call graph for this function:

◆ Update_Slider_RatePercentChangeEnd()

void EffectTimeScale::Update_Slider_RatePercentChangeEnd ( )
private

Definition at line 309 of file TimeScale.cpp.

310{
312}

References m_pSlider_RatePercentChangeEnd, and m_RatePercentChangeEnd.

Referenced by OnText_RatePercentChangeEnd(), and TransferDataToWindow().

Here is the caller graph for this function:

◆ Update_Slider_RatePercentChangeStart()

void EffectTimeScale::Update_Slider_RatePercentChangeStart ( )
private

Definition at line 304 of file TimeScale.cpp.

305{
307}

References m_pSlider_RatePercentChangeStart, and m_RatePercentChangeStart.

Referenced by OnText_RatePercentChangeStart(), and TransferDataToWindow().

Here is the caller graph for this function:

◆ Update_Text_PitchHalfStepsEnd()

void EffectTimeScale::Update_Text_PitchHalfStepsEnd ( )
private

Definition at line 319 of file TimeScale.cpp.

320{
321 m_pTextCtrl_PitchHalfStepsEnd->GetValidator()->TransferToWindow();
322}

References m_pTextCtrl_PitchHalfStepsEnd.

Referenced by OnText_PitchPercentChangeEnd().

Here is the caller graph for this function:

◆ Update_Text_PitchHalfStepsStart()

void EffectTimeScale::Update_Text_PitchHalfStepsStart ( )
private

Definition at line 314 of file TimeScale.cpp.

315{
316 m_pTextCtrl_PitchHalfStepsStart->GetValidator()->TransferToWindow();
317}

References m_pTextCtrl_PitchHalfStepsStart.

Referenced by OnText_PitchPercentChangeStart().

Here is the caller graph for this function:

◆ Update_Text_PitchPercentChangeEnd()

void EffectTimeScale::Update_Text_PitchPercentChangeEnd ( )
private

Definition at line 329 of file TimeScale.cpp.

330{
331 m_pTextCtrl_PitchPercentChangeEnd->GetValidator()->TransferToWindow();
332}

References m_pTextCtrl_PitchPercentChangeEnd.

Referenced by OnText_PitchHalfStepsEnd().

Here is the caller graph for this function:

◆ Update_Text_PitchPercentChangeStart()

void EffectTimeScale::Update_Text_PitchPercentChangeStart ( )
private

Definition at line 324 of file TimeScale.cpp.

325{
326 m_pTextCtrl_PitchPercentChangeStart->GetValidator()->TransferToWindow();
327}

References m_pTextCtrl_PitchPercentChangeStart.

Referenced by OnText_PitchHalfStepsStart().

Here is the caller graph for this function:

◆ Update_Text_RatePercentChangeEnd()

void EffectTimeScale::Update_Text_RatePercentChangeEnd ( )
private

Definition at line 299 of file TimeScale.cpp.

300{
301 m_pTextCtrl_RatePercentChangeEnd->GetValidator()->TransferToWindow();
302}

References m_pTextCtrl_RatePercentChangeEnd.

Referenced by OnSlider_RatePercentChangeEnd().

Here is the caller graph for this function:

◆ Update_Text_RatePercentChangeStart()

void EffectTimeScale::Update_Text_RatePercentChangeStart ( )
private

Definition at line 294 of file TimeScale.cpp.

295{
296 m_pTextCtrl_RatePercentChangeStart->GetValidator()->TransferToWindow();
297}

References m_pTextCtrl_RatePercentChangeStart.

Referenced by OnSlider_RatePercentChangeStart().

Here is the caller graph for this function:

Member Data Documentation

◆ bPreview

bool EffectTimeScale::bPreview
private

Definition at line 86 of file TimeScale.h.

Referenced by BeginPreview(), and Process().

◆ HalfStepsEnd

constexpr EffectParameter EffectTimeScale::HalfStepsEnd
staticconstexprprivate
Initial value:
L"PitchHalfStepsEnd", 0.0, -12.0, 12.0, 1 }

Definition at line 115 of file TimeScale.h.

Referenced by Parameters(), and PopulateOrExchange().

◆ HalfStepsStart

constexpr EffectParameter EffectTimeScale::HalfStepsStart
staticconstexprprivate
Initial value:
L"PitchHalfStepsStart", 0.0, -12.0, 12.0, 1 }

Definition at line 113 of file TimeScale.h.

Referenced by Parameters(), and PopulateOrExchange().

◆ m_PitchHalfStepsEnd

double EffectTimeScale::m_PitchHalfStepsEnd
private

◆ m_PitchHalfStepsStart

double EffectTimeScale::m_PitchHalfStepsStart
private

◆ m_PitchPercentChangeEnd

double EffectTimeScale::m_PitchPercentChangeEnd
private

◆ m_PitchPercentChangeStart

double EffectTimeScale::m_PitchPercentChangeStart
private

◆ m_pSlider_RatePercentChangeEnd

wxSlider* EffectTimeScale::m_pSlider_RatePercentChangeEnd
private

Definition at line 100 of file TimeScale.h.

Referenced by PopulateOrExchange(), and Update_Slider_RatePercentChangeEnd().

◆ m_pSlider_RatePercentChangeStart

wxSlider* EffectTimeScale::m_pSlider_RatePercentChangeStart
private

Definition at line 99 of file TimeScale.h.

Referenced by PopulateOrExchange(), and Update_Slider_RatePercentChangeStart().

◆ m_pTextCtrl_PitchHalfStepsEnd

wxTextCtrl* EffectTimeScale::m_pTextCtrl_PitchHalfStepsEnd
private

Definition at line 102 of file TimeScale.h.

Referenced by PopulateOrExchange(), and Update_Text_PitchHalfStepsEnd().

◆ m_pTextCtrl_PitchHalfStepsStart

wxTextCtrl* EffectTimeScale::m_pTextCtrl_PitchHalfStepsStart
private

Definition at line 101 of file TimeScale.h.

Referenced by PopulateOrExchange(), and Update_Text_PitchHalfStepsStart().

◆ m_pTextCtrl_PitchPercentChangeEnd

wxTextCtrl* EffectTimeScale::m_pTextCtrl_PitchPercentChangeEnd
private

Definition at line 104 of file TimeScale.h.

Referenced by PopulateOrExchange(), and Update_Text_PitchPercentChangeEnd().

◆ m_pTextCtrl_PitchPercentChangeStart

wxTextCtrl* EffectTimeScale::m_pTextCtrl_PitchPercentChangeStart
private

Definition at line 103 of file TimeScale.h.

Referenced by PopulateOrExchange(), and Update_Text_PitchPercentChangeStart().

◆ m_pTextCtrl_RatePercentChangeEnd

wxTextCtrl* EffectTimeScale::m_pTextCtrl_RatePercentChangeEnd
private

Definition at line 98 of file TimeScale.h.

Referenced by PopulateOrExchange(), and Update_Text_RatePercentChangeEnd().

◆ m_pTextCtrl_RatePercentChangeStart

wxTextCtrl* EffectTimeScale::m_pTextCtrl_RatePercentChangeStart
private

Definition at line 97 of file TimeScale.h.

Referenced by PopulateOrExchange(), and Update_Text_RatePercentChangeStart().

◆ m_RatePercentChangeEnd

double EffectTimeScale::m_RatePercentChangeEnd
private

◆ m_RatePercentChangeStart

double EffectTimeScale::m_RatePercentChangeStart
private

◆ mUIParent

wxWeakRef<wxWindow> EffectTimeScale::mUIParent {}
private

◆ PitchPercentEnd

constexpr EffectParameter EffectTimeScale::PitchPercentEnd
staticconstexprprivate
Initial value:
L"PitchPercentChangeEnd", 0.0, -50.0, 100.0, 1 }

Definition at line 119 of file TimeScale.h.

Referenced by Parameters().

◆ PitchPercentStart

constexpr EffectParameter EffectTimeScale::PitchPercentStart
staticconstexprprivate
Initial value:
L"PitchPercentChangeStart", 0.0, -50.0, 100.0, 1 }

Definition at line 117 of file TimeScale.h.

Referenced by Parameters(), and PopulateOrExchange().

◆ previewSelectedDuration

double EffectTimeScale::previewSelectedDuration
private

Definition at line 87 of file TimeScale.h.

Referenced by BeginPreview(), and Process().

◆ RatePercentEnd

constexpr EffectParameter EffectTimeScale::RatePercentEnd
staticconstexprprivate
Initial value:
L"RatePercentChangeEnd", 0.0, -90.0, 500, 1 }

Definition at line 111 of file TimeScale.h.

Referenced by Parameters(), and PopulateOrExchange().

◆ RatePercentStart

constexpr EffectParameter EffectTimeScale::RatePercentStart
staticconstexprprivate
Initial value:
L"RatePercentChangeStart", 0.0, -90.0, 500, 1 }

Definition at line 109 of file TimeScale.h.

Referenced by Parameters(), and PopulateOrExchange().

◆ slideTypePitch

SlideType EffectTimeScale::slideTypePitch
private

Definition at line 89 of file TimeScale.h.

Referenced by Process().

◆ slideTypeRate

SlideType EffectTimeScale::slideTypeRate
private

Definition at line 88 of file TimeScale.h.

Referenced by CalcPreviewInputLength(), and Process().

◆ Symbol

const ComponentInterfaceSymbol EffectTimeScale::Symbol { wxT("Sliding Stretch"), XO("Sliding Stretch") }
static

Definition at line 31 of file TimeScale.h.

Referenced by GetSymbol().


The documentation for this class was generated from the following files: