comparison 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
comparison
equal deleted inserted replaced
8:c4662bbef275 9:44113b1e296b
139 * Quantization resolution of the parameter values (e.g. 1.0 139 * Quantization resolution of the parameter values (e.g. 1.0
140 * if they are all integers). Undefined if isQuantized is 140 * if they are all integers). Undefined if isQuantized is
141 * false. 141 * false.
142 */ 142 */
143 float quantizeStep; 143 float quantizeStep;
144
145 /**
146 * Names for the quantized values. If isQuantized is true,
147 * this may either be empty or contain one string for each of
148 * the quantize steps from minValue up to maxValue inclusive.
149 * Undefined if isQuantized is false.
150 *
151 * If these names are provided, they should be shown to the
152 * user in preference to the values themselves. The user may
153 * never see the actual numeric values unless they are also
154 * encoded in the names.
155 */
156 std::vector<std::string> valueNames;
144 }; 157 };
145 158
146 typedef std::vector<ParameterDescriptor> ParameterList; 159 typedef std::vector<ParameterDescriptor> ParameterList;
147 160
148 /** 161 /**