From 67a7395433c49c2e3ae193ca983e3349f68268eb Mon Sep 17 00:00:00 2001 From: Comment Date: Sun, 3 Mar 2013 05:40:13 +0000 Subject: yargling --- rotord/vampHost.h | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'rotord/vampHost.h') 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 +/* +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 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& 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& out, float& progress); + void rotorGetFeatures(int frame, int sr, int output,Plugin::FeatureSet features, vector& out, float& progress); } -- cgit v1.2.3