summaryrefslogtreecommitdiff
path: root/rotord/vampHost.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/vampHost.h')
-rw-r--r--rotord/vampHost.h25
1 files changed, 17 insertions, 8 deletions
diff --git a/rotord/vampHost.h b/rotord/vampHost.h
index d4ae1ac..dfff408 100644
--- a/rotord/vampHost.h
+++ b/rotord/vampHost.h
@@ -16,6 +16,10 @@
#include <cmath>
+/*
+line 366: is returnValue the fail/succeed return value?
+*/
+
using namespace std;
using Vamp::Plugin;
@@ -40,17 +44,22 @@ namespace vampHost {
string filtername;
string inputFile;
};
- class QMBeats{
- public:
- int process(const string soundfile);
- float getProgress();
- private:
- float progress;
- Poco::Mutex mutex; //lock for progress data
+ class QMAnalyser{
+ public:
+ int process(const string soundfile);
+ float get_progress();
+ vector<float> beats;
+ private:
+ float progress;
+ Poco::Mutex mutex; //lock for progress data
};
- string getQMBeats(const string soundfile);
+ string getQMBeats(const string soundfile);
void printFeatures(int, int, int, Plugin::FeatureSet, ostream &, bool frames);
+ void getTimestamps(int output,Plugin::FeatureSet features, vector<float>& out);
int runPlugin(string myname, string soname, string id, string output,int outputNo, string inputFile, ostream& out, bool frames);
+
+ int rotorRunPlugin(string soname, string id, string output,int outputNo, string inputFile, vector<float>& out, float& progress);
+ void rotorGetFeatures(int frame, int sr, int output,Plugin::FeatureSet features, vector<float>& out, float& progress);
}