* Update to new Vamp process()
[vamp-aubio-plugins.git] / plugins / Notes.h
index 3f86bce..b3bc24c 100644 (file)
@@ -48,7 +48,8 @@ public:
 
     OutputList getOutputDescriptors() const;
 
-    FeatureSet process(float **inputBuffers, Vamp::RealTime timestamp);
+    FeatureSet process(const float *const *inputBuffers,
+                       Vamp::RealTime timestamp);
 
     FeatureSet getRemainingFeatures();
 
@@ -69,12 +70,18 @@ protected:
     size_t m_stepSize;
     size_t m_blockSize;
     size_t m_channelCount;
+    int m_minpitch;
+    int m_maxpitch;
+    bool m_wrapRange;
+    bool m_avoidLeaps;
     std::deque<float> m_notebuf;
     size_t m_count;
+    Vamp::RealTime m_delay;
     Vamp::RealTime m_currentOnset;
     Vamp::RealTime m_lastTimeStamp;
     float m_currentLevel;
     bool m_haveCurrent;
+    int m_prevPitch;
 
     void pushNote(FeatureSet &, const Vamp::RealTime &);
 };