diff vamp-sdk/PluginBase.h @ 9:44113b1e296b

* Add valueNames to parameter descriptor * Change valueCount and valueNames to binCount and binNames in output descriptor, to avoid confusion with other uses of value * Some explanatory notes about FFT alignment
author cannam
date Wed, 05 Apr 2006 16:50:07 +0000
parents 8f10d35a4090
children 68b8b32a2070
line wrap: on
line diff
--- a/vamp-sdk/PluginBase.h	Mon Apr 03 14:19:02 2006 +0000
+++ b/vamp-sdk/PluginBase.h	Wed Apr 05 16:50:07 2006 +0000
@@ -141,6 +141,19 @@
 	 * false.
 	 */
 	float quantizeStep;
+
+        /**
+         * Names for the quantized values.  If isQuantized is true,
+         * this may either be empty or contain one string for each of
+         * the quantize steps from minValue up to maxValue inclusive.
+         * Undefined if isQuantized is false.
+         *
+         * If these names are provided, they should be shown to the
+         * user in preference to the values themselves.  The user may
+         * never see the actual numeric values unless they are also
+         * encoded in the names.
+         */
+        std::vector<std::string> valueNames;
     };
 
     typedef std::vector<ParameterDescriptor> ParameterList;