Remove no-longer-supported-by-aubio onset detection function
authorChris Cannam <cannam@all-day-breakfast.com>
Wed, 18 Jul 2012 12:28:53 +0000 (13:28 +0100)
committerChris Cannam <cannam@all-day-breakfast.com>
Wed, 18 Jul 2012 12:28:53 +0000 (13:28 +0100)
README
plugins/Onset.cpp

diff --git a/README b/README
index 9ae0518..bc6f6da 100644 (file)
--- a/README
+++ b/README
@@ -18,7 +18,7 @@ Edit the Makefile appropriately, and type "make".  If the build
 succeeds, copy the vamp-aubio library file into your personal or
 system Vamp plugin location.
 
 succeeds, copy the vamp-aubio library file into your personal or
 system Vamp plugin location.
 
-These plugins are Copyright 2007 Chris Cannam, distributed under the
+These plugins are Copyright 2007-2012 Chris Cannam, distributed under the
 GNU General Public License.  (Of course, the real work is done by the
 aubio library.)
 
 GNU General Public License.  (Of course, the real work is done by the
 aubio library.)
 
index 4494b07..e5875c5 100644 (file)
@@ -239,17 +239,6 @@ Onset::getOutputDescriptors() const
     d.sampleRate = 0;
     list.push_back(d);
 
     d.sampleRate = 0;
     list.push_back(d);
 
-    d = OutputDescriptor();
-    d.identifier = "detectionfunction";
-    d.name = "Onset Detection Function";
-    d.unit = "";
-    d.hasFixedBinCount = true;
-    d.binCount = 1;
-    d.hasKnownExtents = false;
-    d.isQuantized = false;
-    d.sampleType = OutputDescriptor::OneSamplePerStep;
-    list.push_back(d);
-
     return list;
 }
 
     return list;
 }
 
@@ -277,13 +266,7 @@ Onset::process(const float *const *inputBuffers,
             m_lastOnset = timestamp;
         }
     }
             m_lastOnset = timestamp;
         }
     }
-/*!!! todo!
-    Feature feature;
-    for (size_t j = 0; j < m_channelCount; ++j) {
-        feature.values.push_back(m_onset->data[j][0]);
-    }
-    returnFeatures[1].push_back(feature);
-*/
+
     return returnFeatures;
 }
 
     return returnFeatures;
 }