summaryrefslogtreecommitdiff
path: root/rotord/vampHost.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/vampHost.h')
-rw-r--r--rotord/vampHost.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/rotord/vampHost.h b/rotord/vampHost.h
index 18fe297..f6693a9 100644
--- a/rotord/vampHost.h
+++ b/rotord/vampHost.h
@@ -59,7 +59,6 @@ namespace vampHost {
bool init(const string &soname,const string &id,const int &_channels,const int &_bits,const int &_samples,const int &_rate,const int &_outputNo=0,const string &_output="");
void process_frame(uint8_t *data,int samples_in_frame);
void cleanup();
- vector<float> beats;
private:
PluginLoader *loader;
PluginLoader::PluginKey key;
@@ -71,6 +70,15 @@ namespace vampHost {
int in_block,blocks_processed;
string output;
float **plugbuf;
+
+ int featureNo;
+ map<float,int> features;
+ //what's the best way to store features?
+ //how will it be used?
+ //we ask for a signal at a time, return interpolated value representing feature number + fraction
+ //is there a quick way to search the keys and return the last one below a given value
+
+
};
string getQMBeats(const string soundfile);