summaryrefslogtreecommitdiff
path: root/rotord/src/nodes_audio_analysis.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-11-22 15:19:51 +0000
committerTim Redfern <tim@eclectronics.org>2013-11-22 15:19:51 +0000
commit49319bd72f888046ecafa7bf236ad8d7525d4096 (patch)
treeb4a027bddd5313b845833d7a7fc4bb5bead5bde2 /rotord/src/nodes_audio_analysis.h
parentdaadf9e268759f2052ccc1e30a201fe687ee4336 (diff)
intensity segmenter update
Diffstat (limited to 'rotord/src/nodes_audio_analysis.h')
-rw-r--r--rotord/src/nodes_audio_analysis.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rotord/src/nodes_audio_analysis.h b/rotord/src/nodes_audio_analysis.h
index 21da1cc..aa0aeb0 100644
--- a/rotord/src/nodes_audio_analysis.h
+++ b/rotord/src/nodes_audio_analysis.h
@@ -296,6 +296,7 @@ namespace Rotor {
~Intensity_segmenter(){};
Intensity_segmenter* clone(map<string,string> &_settings) { return new Intensity_segmenter(_settings);};
bool init(int _channels,int _bits,int _samples,int _rate) {
+ features.clear();
return analysers["segmenter"].init("qm-vamp-plugins","qm-segmenter",_channels,_bits,_samples,_rate,0,params)\
&&analysers["tempo"].init("qm-vamp-plugins","qm-tempotracker",_channels,_bits,_samples,_rate,2,params)\
&&analysers["intensity"].init("bbc-vamp-plugins","bbc-intensity",_channels,_bits,_samples,_rate,0,params);