Audacity 3.2.0
|
Unit slope but with either a jump (pasting more) or a flat interval (pasting less) More...
#include <TimeWarper.h>
Public Member Functions | |
PasteTimeWarper (double oldT1, double newT1) | |
double | Warp (double originalTime) const override |
Public Member Functions inherited from TimeWarper | |
virtual | ~TimeWarper () |
virtual double | Warp (double originalTime) const =0 |
Private Attributes | |
const double | mOldT1 |
const double | mNewT1 |
Unit slope but with either a jump (pasting more) or a flat interval (pasting less)
Definition at line 180 of file TimeWarper.h.
PasteTimeWarper::PasteTimeWarper | ( | double | oldT1, |
double | newT1 | ||
) |
Definition at line 141 of file TimeWarper.cpp.
|
overridevirtual |
Implements TimeWarper.
Definition at line 145 of file TimeWarper.cpp.
References min(), mNewT1, and mOldT1.
|
private |
Definition at line 183 of file TimeWarper.h.
Referenced by Warp().
|
private |
Definition at line 183 of file TimeWarper.h.
Referenced by Warp().