Audacity
3.0.3

Functions  
double  ComputeWarpFactor (const Envelope &env, double t0, double t1) 
Compute the integral warp factor between two nonwarped time points. More...  
double anonymous_namespace{Mix.cpp}::ComputeWarpFactor  (  const Envelope &  env, 
double  t0,  
double  t1  
) 
Compute the integral warp factor between two nonwarped time points.
Calculate the relative length increase of the chosen segment from the original sound. So if this time track has a low value (i.e. makes the sound slower), the NEW warped sound will be longer than the original sound, so the return value of this function is larger.
t0  The starting time to calculate from 
t1  The ending time to calculate to 
Definition at line 403 of file Mix.cpp.
References Envelope::AverageOfInverse().
Referenced by Mixer::MixVariableRates().