changeset 67:f435d3b3ba8b

plugins/Tempo.cpp: add parameters and output descriptions
author Paul Brossier <piem@piem.org>
date Mon, 26 Jan 2015 14:46:15 +0100
parents 4cdf4fcf2a28
children 43e22cc4992d
files plugins/Tempo.cpp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/Tempo.cpp	Mon Jan 26 14:45:39 2015 +0100
+++ b/plugins/Tempo.cpp	Mon Jan 26 14:46:15 2015 +0100
@@ -136,6 +136,7 @@
     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;
@@ -154,6 +155,7 @@
     desc = ParameterDescriptor();
     desc.identifier = "peakpickthreshold";
     desc.name = "Peak Picker Threshold";
+    desc.description = "Peak picking threshold, the higher the least detection";
     desc.minValue = 0;
     desc.maxValue = 1;
     desc.defaultValue = 0.3;
@@ -163,6 +165,7 @@
     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;
@@ -216,6 +219,7 @@
     OutputDescriptor d;
     d.identifier = "beats";
     d.name = "Beats";
+    d.description = "List of times at which a beat was detected";
     d.unit = "";
     d.hasFixedBinCount = true;
     d.binCount = 0;
@@ -225,6 +229,7 @@
 
     d.identifier = "tempo";
     d.name = "Tempo";
+    d.desc = "Overall estimated tempo";
     d.unit = "bpm";
     d.hasFixedBinCount = true;
     d.binCount = 1;