From 6275e8f15b63f85c2206f0acb64023610c711f24 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 10 Apr 2013 13:49:24 +0100 Subject: signal rendering path nearly there --- rotord/vampHost.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'rotord/vampHost.h') diff --git a/rotord/vampHost.h b/rotord/vampHost.h index c632e44..3758055 100644 --- a/rotord/vampHost.h +++ b/rotord/vampHost.h @@ -59,28 +59,26 @@ 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(); + + map features; + //map + //this is the best way to store features: because map allows to search for the key below and above the present time + private: PluginLoader *loader; PluginLoader::PluginKey key; Plugin *plugin; + RealTime rt; int channels,bits,samples,rate; int bytes,stride; float scale; int blockSize,stepSize,overlapSize,finalStepsRemaining,currentStep,outputNo; int in_block,blocks_processed; string output; - float *filebuf; float **plugbuf; - RealTime rt; 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