|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| std::vector< double > MayaFlux::Kinesis::Discrete::time_stretch | ( | std::span< const double > | data, |
| double | stretch_factor | ||
| ) |
Time-stretch via linear interpolation resampling Fast but alias-naive: no anti-aliasing pre-filter is applied when stretch_factor < 1.
Suitable for control signals and non-critical upsampling. For audio time-stretching use Discrete::phase_vocoder_stretch (PhaseVocoder.hpp).
| data | Source span |
| stretch_factor | >1 = longer/slower, <1 = shorter/faster; 1 returns copy |
Definition at line 220 of file Transform.cpp.
References interpolate_linear().
Here is the call graph for this function: