From c5085b5a31c1e25bf83ae910710996863531f8b2 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Fri, 30 Aug 2013 18:27:08 +0100 Subject: value output from audio analysis --- rotord/src/vampHost.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'rotord/src/vampHost.h') diff --git a/rotord/src/vampHost.h b/rotord/src/vampHost.h index d1dfc81..241ffce 100644 --- a/rotord/src/vampHost.h +++ b/rotord/src/vampHost.h @@ -32,7 +32,11 @@ using Vamp::HostExt::PluginInputDomainAdapter; #define HOST_VERSION "1.5" namespace vampHost { - + struct feature{ + feature():number(0){}; + int number; + vector values; + }; class Settings{ public: Settings(string _so="",string _filter="",string _input="") { @@ -60,7 +64,8 @@ namespace vampHost { void process_frame(uint8_t *data,int samples_in_frame); void cleanup(); - map features; + //map features; + 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 -- cgit v1.2.3