# HG changeset patch # User Chris Cannam # Date 1342614533 -3600 # Node ID 76c13f0c40ab02e7b6729b4818d375f4c59c7e9b # Parent 119e2255292522eacb187bfa1e18766992e6f102 Remove no-longer-supported-by-aubio onset detection function diff -r 119e22552925 -r 76c13f0c40ab README --- a/README Wed Jul 11 13:09:15 2012 +0100 +++ b/README Wed Jul 18 13:28:53 2012 +0100 @@ -18,7 +18,7 @@ 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.) diff -r 119e22552925 -r 76c13f0c40ab plugins/Onset.cpp --- a/plugins/Onset.cpp Wed Jul 11 13:09:15 2012 +0100 +++ b/plugins/Onset.cpp Wed Jul 18 13:28:53 2012 +0100 @@ -239,17 +239,6 @@ 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; } @@ -277,13 +266,7 @@ 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; }