Mercurial > hg > vamp-aubio-plugins
changeset 38:76c13f0c40ab
Remove no-longer-supported-by-aubio onset detection function
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 18 Jul 2012 13:28:53 +0100 |
parents | 119e22552925 |
children | 7147f8b60a16 |
files | README plugins/Onset.cpp |
diffstat | 2 files changed, 2 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- 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.)
--- 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; }