summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rotord/src/nodes_audio_analysis.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/rotord/src/nodes_audio_analysis.cpp b/rotord/src/nodes_audio_analysis.cpp
index a6aa4ec..ea44048 100644
--- a/rotord/src/nodes_audio_analysis.cpp
+++ b/rotord/src/nodes_audio_analysis.cpp
@@ -116,6 +116,17 @@ namespace Rotor{
//add tempo and intensity according to a weighting
//score the results (ie 1st place, 2nd place) to end up with a set of integer numbers
+ //how to group with similarity?
+ //segments come with similarity groups
+ // 1 - are the wanted segments less than discovered?
+ // N - do nothing
+ // 2 - get intensity and tempo averages
+ // 2 - count the groups
+ // 3 - are the groups less than the discovered segments?
+ // N - group by intensity as normal
+ // 4 - are the groups less than the wanted levels?
+
+
//for (auto a:analysers) a.second.cleanup(); //WHY NOT WORK - its as if the call is const
analysers["segmenter"].cleanup();
analysers["tempo"].cleanup();