diff src/Silvet.cpp @ 97:840c0d703bbb timing

Use single-precision floats throughout EM code
author Chris Cannam
date Tue, 06 May 2014 14:45:16 +0100
parents 21e7920556ed
children
line wrap: on
line diff
--- a/src/Silvet.cpp	Tue May 06 13:05:43 2014 +0100
+++ b/src/Silvet.cpp	Tue May 06 14:45:16 2014 +0100
@@ -401,7 +401,7 @@
             em.iterate(filtered[i]);
         }
 
-        vector<double> pitches = em.getPitchDistribution();
+        vector<float> pitches = em.getPitchDistribution();
         
         for (int j = 0; j < processingNotes; ++j) {
             pitches[j] *= sum;
@@ -498,7 +498,7 @@
 }
     
 Vamp::Plugin::FeatureList
-Silvet::postProcess(const vector<double> &pitches)        
+Silvet::postProcess(const vector<float> &pitches)
 {        
     vector<double> filtered;