summaryrefslogtreecommitdiff
path: root/rotord/vampHost.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/vampHost.h')
-rw-r--r--rotord/vampHost.h14
1 files changed, 6 insertions, 8 deletions
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<float,int> features;
+ //map<time,featureNo>
+ //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<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);