Mercurial > hg > precise-onset-detection
comparison src/PreciseOnsetLocator.h @ 8:184a7c232049 tip
changed files since updating computer
author | Venetian |
---|---|
date | Thu, 14 Aug 2014 17:53:57 +0100 |
parents | 7ec1ed0b2eb0 |
children |
comparison
equal
deleted
inserted
replaced
7:b1c13e8bec26 | 8:184a7c232049 |
---|---|
23 | 23 |
24 vector <double> onsetSamples;//holds the audio samples when onset is found | 24 vector <double> onsetSamples;//holds the audio samples when onset is found |
25 vector <double> recentBufferSamples; | 25 vector <double> recentBufferSamples; |
26 | 26 |
27 double getLastEnergySum(const int& startIndex, const int& vectorSize); | 27 double getLastEnergySum(const int& startIndex, const int& vectorSize); |
28 | |
29 int findExactOnset(); | |
30 int findExactOnset(float* frame); | |
28 int findExactOnset(double* frame); | 31 int findExactOnset(double* frame); |
29 | 32 |
30 int exactOnsetIndex; | 33 int exactOnsetIndex; |
31 | 34 |
32 void setup(const int& size); | 35 void setup(const int& size); |