27 static void stretchFrame(
const vector<double> &frame,
int shiftedStart,
double shiftFactor, vector<double> &out);
37 static void stretchChannel(
const vector<double> &channel,
double shiftFactor, vector<double> &out);
46 static vector<vector<double>>
changeSpeed(
const vector<vector<double>>& samples,
double shiftFactor);
Class to stretch/compress an audio file without changing the pitch.
Definition timestretch.h:16
static vector< vector< double > > changeSpeed(const vector< vector< double > > &samples, double shiftFactor)
Perform time stretching algorithm on each channel independently.
static void stretchChannel(const vector< double > &channel, double shiftFactor, vector< double > &out)
Use phase vocoder to stretch/compress audio samples.