changeset 44:f021dc97da29

Oops, mixed up unit and description fields
author Chris Cannam
date Fri, 28 Nov 2014 15:35:50 +0000
parents fcb6562b43f7
children a488dd5e4fb8
files SimpleCepstrum.cpp
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/SimpleCepstrum.cpp	Fri Nov 28 15:28:07 2014 +0000
+++ b/SimpleCepstrum.cpp	Fri Nov 28 15:35:50 2014 +0000
@@ -186,7 +186,8 @@
 
     d.identifier = "method";
     d.name = "Cepstrum transform method";
-    d.unit = "Method to use for calculating cepstrum, starting from the complex short-time Fourier transform of the input audio.\nInverse symmetric - Real part of inverse FFT of log magnitude spectrum, with frequencies above Nyquist reflecting those below it.\nInverse asymmetric - Real part of inverse FFT of log magnitude spectrum, with frequencies above Nyquist set to zero.\nInverse complex - Real part of inverse FFT of complex log spectrum.\nForward magnitude - Magnitude of forward FFT of log magnitude spectrum.\nForward difference - Difference between imaginary and real parts of forward FFT of log magnitude spectrum";
+    d.description = "Method to use for calculating cepstrum, starting from the complex short-time Fourier transform of the input audio.\nInverse symmetric - Real part of inverse FFT of log magnitude spectrum, with frequencies above Nyquist reflecting those below it.\nInverse asymmetric - Real part of inverse FFT of log magnitude spectrum, with frequencies above Nyquist set to zero.\nInverse complex - Real part of inverse FFT of complex log spectrum.\nForward magnitude - Magnitude of forward FFT of log magnitude spectrum.\nForward difference - Difference between imaginary and real parts of forward FFT of log magnitude spectrum";
+    d.unit = "";
     d.minValue = 0;
     d.maxValue = 4;
     d.defaultValue = 0;
@@ -201,7 +202,8 @@
 
     d.identifier = "clamp";
     d.name = "Clamp negative values in cepstrum at zero";
-    d.unit = "If set, no negative values will be returned; they will be replaced by zeroes";
+    d.description = "If set, no negative values will be returned; they will be replaced by zeroes";
+    d.unit = "";
     d.minValue = 0;
     d.maxValue = 1;
     d.defaultValue = 0;