summaryrefslogtreecommitdiff
path: root/rotord/vampHost.h
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-04-08 17:28:37 +0100
committerTim Redfern <tim@herge.(none)>2013-04-08 17:28:37 +0100
commit628a21f4e5785f9d52ac5c9c4bd483819fa9cf2a (patch)
tree053739212d724636a842497197182d772f1b132e /rotord/vampHost.h
parent1d2d81d7a0b05d6ce14edd7c228f2026755140f1 (diff)
thumbnailing
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);