Audacity 3.2.0
|
Linear scaling, initialised by giving two points on the line. More...
#include <TimeWarper.h>
Public Member Functions | |
LinearTimeWarper (double tBefore0, double tAfter0, double tBefore1, double tAfter1) | |
double | Warp (double originalTime) const override |
Public Member Functions inherited from TimeWarper | |
virtual | ~TimeWarper () |
virtual double | Warp (double originalTime) const =0 |
Private Attributes | |
double | mScale |
double | mShift |
Linear scaling, initialised by giving two points on the line.
Definition at line 86 of file TimeWarper.h.
|
inline |
Definition at line 92 of file TimeWarper.h.
|
overridevirtual |
Implements TimeWarper.
Definition at line 36 of file TimeWarper.cpp.
References mScale, and mShift.
Referenced by LinearInputRateTimeWarper::Warp(), LinearOutputRateTimeWarper::Warp(), LinearInputStretchTimeWarper::Warp(), LinearOutputStretchTimeWarper::Warp(), GeometricInputTimeWarper::Warp(), and GeometricOutputTimeWarper::Warp().
|
private |
Definition at line 89 of file TimeWarper.h.
Referenced by Warp().
|
private |
Definition at line 90 of file TimeWarper.h.
Referenced by Warp().