From 3dbe8f18642b684db0c8abb60c3f4a7a7e7c5dc4 Mon Sep 17 00:00:00 2001 From: Comment Date: Fri, 6 Sep 2013 09:05:39 +0100 Subject: making act segmenter --- rotord/src/nodes_audio_analysis.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rotord/src/nodes_audio_analysis.h b/rotord/src/nodes_audio_analysis.h index 8fb843c..de90d13 100644 --- a/rotord/src/nodes_audio_analysis.h +++ b/rotord/src/nodes_audio_analysis.h @@ -96,7 +96,7 @@ namespace Rotor { Act_segmenter* clone(map &_settings) { return new Act_segmenter(_settings);}; void cleanup(){ Vamp_node::cleanup(); - //cerr<<"act segmenter custom cleanup"< durations; for (map::iterator f=analyser.features.begin();f!=analyser.features.end();++f){ auto g=f; @@ -104,8 +104,6 @@ namespace Rotor { durations.push_back(g->first-f->first); } } - - //distribute acts amongst segments; if (analyser.features.size()==(int)parameters["acts"]->value+1){ for (auto f: analyser.features){ -- cgit v1.2.3