diff src/Silvet.cpp @ 164:629c9525b815

Some measurements suggest we get slightly better results with more iterations, but not drastically worse with fewer -- so go lower for draft and higher for hq mode
author Chris Cannam
date Tue, 20 May 2014 16:21:33 +0100
parents 6e9ddd07dc3c
children f73be84f5c90
line wrap: on
line diff
--- a/src/Silvet.cpp	Tue May 20 15:56:57 2014 +0100
+++ b/src/Silvet.cpp	Tue May 20 16:21:33 2014 +0100
@@ -352,7 +352,7 @@
 
     int width = filtered.size();
 
-    int iterations = 12; //!!! more might be good?
+    int iterations = m_hqMode ? 20 : 10;
 
     Grid pitchMatrix(width, vector<double>(processingNotes));