diff src/Silvet.cpp @ 185:78212f764251 noteagent

Merge from default branch
author Chris Cannam
date Wed, 28 May 2014 14:56:01 +0100
parents 9b9cdfccbd14 59e3cca75b8d
children 9d70d687e4eb
line wrap: on
line diff
--- a/src/Silvet.cpp	Wed May 28 14:54:01 2014 +0100
+++ b/src/Silvet.cpp	Wed May 28 14:56:01 2014 +0100
@@ -499,6 +499,8 @@
 
         EM em(&pack, m_hqMode);
 
+        em.setPitchSparsity(pack.pitchSparsity);
+
         for (int j = 0; j < iterations; ++j) {
             em.iterate(filtered.at(i).data());
         }
@@ -648,7 +650,7 @@
         filtered.push_back(m_postFilter[j]->get());
     }
 
-    double threshold = 1;
+    double threshold = 1; //!!! pack.levelThreshold
 
     double columnDuration = 1.0 / m_colsPerSec;
     int postFilterLatency = int(m_postFilter[0]->getSize() / 2);