* Update to new Vamp process()
[vamp-aubio-plugins.git] / plugins / Notes.cpp
index fc186dc..eb68cee 100644 (file)
@@ -37,7 +37,7 @@ Notes::Notes(float inputSampleRate) :
     m_threshold(0.3),
     m_silence(-90),
     m_median(6),
-    m_minpitch(36),
+    m_minpitch(27),
     m_maxpitch(95),
     m_wrapRange(false),
     m_avoidLeaps(false),
@@ -328,7 +328,7 @@ Notes::getOutputDescriptors() const
 }
 
 Notes::FeatureSet
-Notes::process(float **inputBuffers, Vamp::RealTime timestamp)
+Notes::process(const float *const *inputBuffers, Vamp::RealTime timestamp)
 {
     for (size_t i = 0; i < m_stepSize; ++i) {
         for (size_t j = 0; j < m_channelCount; ++j) {