diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-10-31 12:57:59 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-10-31 12:57:59 +0000 |
| commit | 834835c99dd9fd182ca3116b5bc3e7ae8b3815ad (patch) | |
| tree | add4c59353b4d5cb914e44a92fcfb08f5981838c /rotord/src/nodes_audio_analysis.cpp | |
| parent | b3abde4531510b7accbc58174ecd9ec27c52ee3a (diff) | |
thumbnail stills and svgs
Diffstat (limited to 'rotord/src/nodes_audio_analysis.cpp')
| -rw-r--r-- | rotord/src/nodes_audio_analysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/src/nodes_audio_analysis.cpp b/rotord/src/nodes_audio_analysis.cpp index 5318bb1..a2a9c63 100644 --- a/rotord/src/nodes_audio_analysis.cpp +++ b/rotord/src/nodes_audio_analysis.cpp @@ -122,7 +122,6 @@ namespace Rotor{ cerr<<analysers["segmenter"].features.size()<<" segments"<<endl; cerr<<analysers["tempo"].features.size()<<" tempo features"<<endl; cerr<<analysers["intensity"].features.size()<<" intensity features"<<endl; - auto g=++analysers["segmenter"].features.begin(); int i=0; float min_tempo=9999999.0f; float min_intensity=9999999.0f; @@ -131,6 +130,7 @@ namespace Rotor{ vector<float> tempos; vector<float> intensities; vector<float> times; + auto g=++analysers["segmenter"].features.begin(); for (auto f=analysers["segmenter"].features.begin();g!=analysers["segmenter"].features.end();f++,g++,i++){ cerr<<"segment "<<i<<": "<<f->first<<" to "<<g->first<<endl; times.push_back(f->first); |
