Audacity 3.2.0
|
Functions | |
WAVE_TRACK_API bool | HasPitchOrSpeed (const WaveTrack &track, double t0, double t1) |
WAVE_TRACK_API void | WithClipRenderingProgress (std::function< void(const ProgressReporter &)> action, TranslatableString title=defaultStretchRenderingTitle) |
WAVE_TRACK_API bool | SetClipStretchRatio (const WaveTrack &track, WaveTrack::Interval &interval, double stretchRatio) |
Variables | |
WAVE_TRACK_API const TranslatableString | defaultStretchRenderingTitle |
bool TimeStretching::HasPitchOrSpeed | ( | const WaveTrack & | track, |
double | t0, | ||
double | t1 | ||
) |
Whether any clips, whose play regions intersect the interval, have non-unit stretch ratio
Definition at line 23 of file TimeStretching.cpp.
References WaveTrack::Intervals().
Referenced by EffectOutputTracks::EffectOutputTracks(), AmplifyBase::Init(), AutoDuckBase::Process(), and Repair::Process().
bool TimeStretching::SetClipStretchRatio | ( | const WaveTrack & | track, |
WaveTrack::Interval & | interval, | ||
double | stretchRatio | ||
) |
Definition at line 40 of file TimeStretching.cpp.
References WaveClip::End(), details::end(), forward, WaveTrack::GetNextInterval(), WaveClip::GetStretchRatio(), WaveClip::Start(), and WaveClip::StretchRightTo().
Referenced by ClipPitchAndSpeedButtonHandle::DoRelease(), and PitchAndSpeedDialog::SetClipSpeed().
void TimeStretching::WithClipRenderingProgress | ( | std::function< void(const ProgressReporter &)> | action, |
TranslatableString | title = defaultStretchRenderingTitle |
||
) |
Definition at line 32 of file TimeStretching.cpp.
References title, UserException::WithCancellableProgress(), and XO().
Referenced by EffectOutputTracks::EffectOutputTracks(), anonymous_namespace{EditMenus.cpp}::OnJoin(), anonymous_namespace{LabelMenus.cpp}::OnJoinLabels(), WaveTrackAffordanceControls::OnRenderClipStretching(), and anonymous_namespace{EditMenus.cpp}::OnSilence().
|
extern |
Audacity: A Digital Audio Editor
Paul Licameli
Definition at line 20 of file TimeStretching.cpp.
Referenced by AutoDuckBase::Process().