src/ofxAubioBeat.cpp: bring down silence to -60 dB
authorPaul Brossier <piem@piem.org>
Tue, 19 Jan 2016 22:00:19 +0000 (23:00 +0100)
committerPaul Brossier <piem@piem.org>
Tue, 19 Jan 2016 22:00:19 +0000 (23:00 +0100)
src/ofxAubioBeat.cpp

index ec3e19b..ce5ed36 100644 (file)
@@ -38,7 +38,7 @@ void ofxAubioBeat::setup(string method, int buf_s, int hop_s, int samplerate)
     ofxAubioBlock::setup(method, buf_s, hop_s, samplerate);
     tempo = new_aubio_tempo((char_t*)method.c_str(),
                             buf_size, hop_size, samplerate);
-    aubio_tempo_set_silence(tempo, -40);
+    aubio_tempo_set_silence(tempo, -60);
     if (tempo) {
         ofLogNotice() << "created ofxAubioBeat(" << method
           << ", " << buf_size