# HG changeset patch # User Paul Brossier # Date 1422279975 -3600 # Node ID f435d3b3ba8b2112ba901570e01914be5b26f30b # Parent 4cdf4fcf2a28652c662758410d67acc3fb16959e plugins/Tempo.cpp: add parameters and output descriptions diff -r 4cdf4fcf2a28 -r f435d3b3ba8b plugins/Tempo.cpp --- 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;