comparison src/Silvet.cpp @ 344:c9a0015413e2

Fix incorrect max value for processing mode parameter
author Chris Cannam
date Wed, 12 Aug 2015 15:01:19 +0100
parents 460cabb27bf7
children eee4c7fd15ab
comparison
equal deleted inserted replaced
343:460cabb27bf7 344:c9a0015413e2
147 desc.identifier = "mode"; 147 desc.identifier = "mode";
148 desc.name = "Processing mode"; 148 desc.name = "Processing mode";
149 desc.unit = ""; 149 desc.unit = "";
150 desc.description = "Sets the tradeoff of processing speed against transcription quality. Live mode is much faster and detects notes with relatively low latency; Intensive mode (the default) is slower but will almost always produce better results."; 150 desc.description = "Sets the tradeoff of processing speed against transcription quality. Live mode is much faster and detects notes with relatively low latency; Intensive mode (the default) is slower but will almost always produce better results.";
151 desc.minValue = 0; 151 desc.minValue = 0;
152 desc.maxValue = 2; 152 desc.maxValue = 1;
153 desc.defaultValue = int(defaultMode); 153 desc.defaultValue = int(defaultMode);
154 desc.isQuantized = true; 154 desc.isQuantized = true;
155 desc.quantizeStep = 1; 155 desc.quantizeStep = 1;
156 desc.valueNames.push_back("Live (faster and lower latency)"); 156 desc.valueNames.push_back("Live (faster and lower latency)");
157 desc.valueNames.push_back("Intensive (higher quality)"); 157 desc.valueNames.push_back("Intensive (higher quality)");