From: Paul Brossier Date: Mon, 26 Jan 2015 13:44:37 +0000 (+0100) Subject: plugins/Onset.cpp: add parameters and output descriptions X-Git-Tag: 0.5.0~49 X-Git-Url: https://git.aubio.org/?p=vamp-aubio-plugins.git;a=commitdiff_plain;h=3b9e08ddf9c733031bb15a1e77ddc0e027a1f65c plugins/Onset.cpp: add parameters and output descriptions --- diff --git a/plugins/Onset.cpp b/plugins/Onset.cpp index 42ca268..87949b3 100644 --- a/plugins/Onset.cpp +++ b/plugins/Onset.cpp @@ -137,6 +137,7 @@ Onset::getParameterDescriptors() const ParameterDescriptor desc; desc.identifier = "onsettype"; desc.name = "Onset Detection Function Type"; + desc.description = "Type of onset detection function to use"; desc.minValue = 0; desc.maxValue = 7; desc.defaultValue = (int)OnsetComplex; @@ -155,6 +156,7 @@ Onset::getParameterDescriptors() const desc = ParameterDescriptor(); desc.identifier = "peakpickthreshold"; desc.name = "Peak Picker Threshold"; + desc.description = "Threshold used for peak picking, the higher the more detections"; desc.minValue = 0; desc.maxValue = 1; desc.defaultValue = 0.3; @@ -164,6 +166,7 @@ Onset::getParameterDescriptors() const desc = ParameterDescriptor(); desc.identifier = "silencethreshold"; desc.name = "Silence Threshold"; + desc.description = "Silence threshold, the higher the least detection"; desc.minValue = -120; desc.maxValue = 0; desc.defaultValue = -70; @@ -174,6 +177,7 @@ Onset::getParameterDescriptors() const desc = ParameterDescriptor(); desc.identifier = "minioi"; desc.name = "Minimum Inter-Onset Interval"; + desc.description = "Time interval below which two consecutive onsets should be merged"; desc.minValue = 0; desc.maxValue = 40; desc.defaultValue = 4; @@ -232,6 +236,7 @@ Onset::getOutputDescriptors() const OutputDescriptor d; d.identifier = "onsets"; d.name = "Onsets"; + d.description = "List of times at which a note onset was detected"; d.unit = ""; d.hasFixedBinCount = true; d.binCount = 0;