changeset 300:ba5f3b084466 livemode

A thresholding "fix"
author Chris Cannam
date Fri, 28 Nov 2014 18:15:44 +0000
parents a4216826f01c
children 00fab71b80ec
files src/LiveInstruments.cpp src/Silvet.cpp
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/LiveInstruments.cpp	Fri Nov 28 10:31:59 2014 +0000
+++ b/src/LiveInstruments.cpp	Fri Nov 28 18:15:44 2014 +0000
@@ -61,7 +61,7 @@
     live.maxPolyphony = original.maxPolyphony;
     live.pitchSparsity = original.pitchSparsity;
     live.sourceSparsity = original.sourceSparsity;
-    live.levelThreshold = original.levelThreshold;
+    live.levelThreshold = original.levelThreshold/10; //!!! but why?
 
     return live;
 }
--- a/src/Silvet.cpp	Fri Nov 28 10:31:59 2014 +0000
+++ b/src/Silvet.cpp	Fri Nov 28 18:15:44 2014 +0000
@@ -662,8 +662,8 @@
             // lowest 55 of them (assuming binsPerSemitone == 5).
             // 
             // In draft and live mode the CQ is an octave shorter,
-            // returning 540 bins, so we instead pad them with an
-            // additional 5 zeros.
+            // returning 540 bins or equivalent, so we instead pad
+            // them with an additional 5 or equivalent zeros.
             // 
             // We also need to reverse the column as we go, since the
             // raw CQ has the high frequencies first and we need it