comparison FChTransformF0gram.cpp @ 33:b21704074c9c spect tip

Ensure default parameter values match the actual internal defaults
author Chris Cannam
date Fri, 07 Feb 2020 11:49:39 +0000
parents 60e2ef9fc5fc
children
comparison
equal deleted inserted replaced
32:297eb6a19824 33:b21704074c9c
258 alpha_max.name = "Maximum alpha value"; 258 alpha_max.name = "Maximum alpha value";
259 alpha_max.description = "Maximum value for the alpha parameter of the transform."; 259 alpha_max.description = "Maximum value for the alpha parameter of the transform.";
260 alpha_max.unit = "Hz/s"; 260 alpha_max.unit = "Hz/s";
261 alpha_max.minValue = -10; 261 alpha_max.minValue = -10;
262 alpha_max.maxValue = 10; 262 alpha_max.maxValue = 10;
263 alpha_max.defaultValue = 5; 263 alpha_max.defaultValue = 4;
264 alpha_max.isQuantized = true; 264 alpha_max.isQuantized = true;
265 alpha_max.quantizeStep = 1.0; 265 alpha_max.quantizeStep = 1.0;
266 list.push_back(alpha_max); 266 list.push_back(alpha_max);
267 267
268 ParameterDescriptor num_warps; 268 ParameterDescriptor num_warps;
282 alpha_dist.name = "alpha distribution"; 282 alpha_dist.name = "alpha distribution";
283 alpha_dist.description = "Type of distribution of alpha values (linear or log)."; 283 alpha_dist.description = "Type of distribution of alpha values (linear or log).";
284 alpha_dist.unit = ""; 284 alpha_dist.unit = "";
285 alpha_dist.minValue = 0; 285 alpha_dist.minValue = 0;
286 alpha_dist.maxValue = 1; 286 alpha_dist.maxValue = 1;
287 alpha_dist.defaultValue = 1; 287 alpha_dist.defaultValue = 0;
288 alpha_dist.isQuantized = true; 288 alpha_dist.isQuantized = true;
289 alpha_dist.quantizeStep = 1.0; 289 alpha_dist.quantizeStep = 1.0;
290 // lin (0), log (1) 290 // lin (0), log (1)
291 alpha_dist.valueNames.push_back("lin"); 291 alpha_dist.valueNames.push_back("lin");
292 alpha_dist.valueNames.push_back("log"); 292 alpha_dist.valueNames.push_back("log");