18#undef PACKAGE_BUGREPORT
21#include "SoundTouch.h"
45 SetLinearEffectFlag(
true);
61 return XO(
"Changes the tempo of a selection without changing its pitch");
66 return L
"Change_Tempo";
106 bool success =
false;
116 success = Delegate(proxy,
settings);
121 auto initer = [&](soundtouch::SoundTouch* soundtouch) {
124 double mT1Dashed = mT0 + (mT1 - mT0) / (
m_PercentChange / 100.0 + 1.0);
126 mT0, mT1, std::make_unique<LinearTimeWarper>(mT0, mT0, mT1, mT1Dashed)
128 success = SoundTouchBase::ProcessWithTimeWarper(initer, warper,
false);
Contains declarations for TimeWarper, IdentityTimeWarper, ShiftTimeWarper, LinearTimeWarper,...
static Settings & settings()
Generates EffectParameterMethods overrides from variadic template arguments.
EffectType GetType() const override
bool CheckWhetherSkipEffect(const EffectSettings &settings) const override
const EffectParameterMethods & Parameters() const override
ManualPageID ManualPage() const override
virtual ~ChangeTempoBase()
double CalcPreviewInputLength(const EffectSettings &settings, double previewLength) const override
ComponentInterfaceSymbol GetSymbol() const override
bool Process(EffectInstance &instance, EffectSettings &settings) override
static const ComponentInterfaceSymbol Symbol
bool SupportsAutomation() const override
TranslatableString GetDescription() const override
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
Performs effect computation.
Interface for manipulations of an Effect's settings.
virtual void Reset(Effect &effect) const =0
No change before the specified region; during the region, warp according to the given warper; after t...
void setParameters(double rateStart, double rateEnd, double pitchStart, double pitchEnd, SlideType rateSlideType, SlideType pitchSlideType, bool bLinkRatePitch, bool bRateReferenceInput, bool bPitchReferenceInput)
TranslatableString mProxyEffectName
Holds a msgid for the translation catalog; may also bind format arguments.
Externalized state of a plug-in.