From: Paul Brossier Date: Mon, 26 Jan 2015 13:45:02 +0000 (+0100) Subject: plugins/Pitch.cpp: add parameters and output descriptions X-Git-Tag: 0.5.0~48 X-Git-Url: https://git.aubio.org/?p=vamp-aubio-plugins.git;a=commitdiff_plain;h=91d2b9a633ae8d1ae9816717350047ff37ae8643 plugins/Pitch.cpp: add parameters and output descriptions --- diff --git a/plugins/Pitch.cpp b/plugins/Pitch.cpp index c6a5372..20189fc 100644 --- a/plugins/Pitch.cpp +++ b/plugins/Pitch.cpp @@ -133,6 +133,7 @@ Pitch::getParameterDescriptors() const ParameterDescriptor desc; desc.identifier = "pitchtype"; desc.name = "Pitch Detection Function Type"; + desc.description = "Type of pitch detection function to use"; desc.minValue = 0; desc.maxValue = 4; desc.defaultValue = (int)PitchYinFFT; @@ -148,6 +149,7 @@ Pitch::getParameterDescriptors() const desc = ParameterDescriptor(); desc.identifier = "minfreq"; desc.name = "Minimum Fundamental Frequency"; + desc.description = "Lower frequency to look for"; desc.minValue = 1; desc.maxValue = m_inputSampleRate/2; desc.defaultValue = aubio_miditofreq(32); @@ -158,6 +160,7 @@ Pitch::getParameterDescriptors() const desc = ParameterDescriptor(); desc.identifier = "maxfreq"; desc.name = "Maximum Fundamental Frequency"; + desc.description = "Highest frequency to look for"; desc.minValue = 1; desc.maxValue = m_inputSampleRate/2; desc.defaultValue = aubio_miditofreq(95); @@ -168,6 +171,7 @@ Pitch::getParameterDescriptors() const desc = ParameterDescriptor(); desc.identifier = "wraprange"; desc.name = "Fold Higher or Lower Frequencies into Range"; + desc.description = "Frequencies detected outside the range will be transposed to higher or lower octaves"; desc.minValue = 0; desc.maxValue = 1; desc.defaultValue = 0; @@ -178,6 +182,7 @@ Pitch::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 = -90; @@ -236,6 +241,7 @@ Pitch::getOutputDescriptors() const OutputDescriptor d; d.identifier = "frequency"; d.name = "Fundamental Frequency"; + d.description = "List of detected frequencies"; d.unit = "Hz"; d.hasFixedBinCount = true; d.binCount = 1;