50 BTrack(
int hopSize_,
int frameSize_);
118 void initialise(
int hopSize_,
int frameSize_);
123 void setHopSize(
int hopSize_);
126 void resampleOnsetDetectionFunction();
131 void updateCumulativeScore(
double odfSample);
137 void calculateTempo();
144 void adaptiveThreshold(
double *x,
int N);
152 double calculateMeanOfArray(
double *array,
int startIndex,
int endIndex);
158 void normaliseArray(
double *array,
int N);
163 void calculateBalancedACF(
double *onsetDetectionFunction);
166 void calculateOutputOfCombFilterBank();
176 double resampledOnsetDF[512];
177 double *cumulativeScore;
181 double weightingVector[128];
183 double combFilterBankOutput[128];
184 double tempoObservationVector[41];
187 double prevDelta[41];
188 double prevDeltaFixed[41];
190 double tempoTransitionMatrix[41][41];
205 double estimatedTempo;
207 double latestCumulativeScoreValue;
209 double tempoToLagFactor;
217 int onsetDFBufferSize;