diff examples/SpectralCentroid.cpp @ 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 c4662bbef275
children 85801331454c
line wrap: on
line diff
--- a/examples/SpectralCentroid.cpp	Mon Apr 03 14:19:02 2006 +0000
+++ b/examples/SpectralCentroid.cpp	Wed Apr 05 16:50:07 2006 +0000
@@ -118,8 +118,8 @@
     d.name = "logcentroid";
     d.unit = "Hz";
     d.description = "Log Frequency Centroid";
-    d.hasFixedValueCount = true;
-    d.valueCount = 1;
+    d.hasFixedBinCount = true;
+    d.binCount = 1;
     d.hasKnownExtents = false;
     d.isQuantized = false;
     d.sampleType = OutputDescriptor::OneSamplePerStep;