1 #ifndef _LoopingSDIFFileReader_
2 #define _LoopingSDIFFileReader_
11 #define DEFAULT_NUMBER_OF_CROSSFADE_FRAMES 100
85 float crossfadeFactor);
90 void CrossfadeResidualSpectrum(
Spectrum& sourceSpectrum1,
93 float crossfadeFactor);
100 int ChooseLoopRandomly(
int frameBufferPosition,
int indexOfCurrentLoop);
104 Frame* outgoingFrame;
106 int numberOfCrossfadeFrames;
108 std::vector<SimpleLoopMetadata> listOfLoops;
110 int indexOfCurrentLoop;