diff options
| author | Comment <tim@gray.(none)> | 2013-09-06 09:05:39 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-09-06 09:05:39 +0100 |
| commit | 3dbe8f18642b684db0c8abb60c3f4a7a7e7c5dc4 (patch) | |
| tree | c8c381e0e8dea291eb4b59dd5100fd30b2d2f529 /rotord/src | |
| parent | 79073900bbe69e9dd9cfe1ed74470e4e2c93918f (diff) | |
making act segmenter
Diffstat (limited to 'rotord/src')
| -rw-r--r-- | rotord/src/nodes_audio_analysis.h | 4 |
1 files changed, 1 insertions, 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<string,string> &_settings) { return new Act_segmenter(_settings);}; void cleanup(){ Vamp_node::cleanup(); - //cerr<<"act segmenter custom cleanup"<<endl; + //create list of segment durations vector<float> durations; for (map<double,vampHost::feature>::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){ |
