From 628a21f4e5785f9d52ac5c9c4bd483819fa9cf2a Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 8 Apr 2013 17:28:37 +0100 Subject: thumbnailing --- rotord/vampHost.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'rotord/vampHost.h') 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 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 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); -- cgit v1.2.3