changeset 63:0cce8a3c7b98

Comment out some debug
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 14 Feb 2014 11:19:45 +0000
parents 5b6c000589a7
children df6d89381f49
files yeti/cqt.yeti
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/yeti/cqt.yeti	Thu Feb 13 19:21:10 2014 +0000
+++ b/yeti/cqt.yeti	Fri Feb 14 11:19:45 2014 +0000
@@ -20,13 +20,13 @@
 
     kdata = cqtkernel.makeKernel { sampleRate, maxFreq, binsPerOctave };
 
-    eprintln "sampleRate = \(sampleRate), maxFreq = \(maxFreq), minFreq = \(minFreq), actualMinFreq = \(actualMinFreq), octaves = \(octaves), binsPerOctave = \(binsPerOctave), fftSize = \(kdata.fftSize), hop = \(kdata.fftHop)";
+//    eprintln "sampleRate = \(sampleRate), maxFreq = \(maxFreq), minFreq = \(minFreq), actualMinFreq = \(actualMinFreq), octaves = \(octaves), binsPerOctave = \(binsPerOctave), fftSize = \(kdata.fftSize), hop = \(kdata.fftHop)";
 
-    eprintln "atomsPerFrame = \(kdata.atomsPerFrame)";
+//    eprintln "atomsPerFrame = \(kdata.atomsPerFrame)";
 
     padding = (kdata.fftSize * (pow 2 (octaves-1)));
 
-eprintln "padding = \(padding)";
+//    eprintln "padding = \(padding)";
 
     str = manipulate.paddedBy padding str;
 
@@ -35,7 +35,7 @@
     //!!! can't be right!
     kernel = cm.transposed (cm.conjugateTransposed kdata.kernel);
 
-    eprintln "have kernel";
+//    eprintln "have kernel";
 
     fftFunc = fft.forward kdata.fftSize;
 
@@ -89,7 +89,7 @@
 
     emptyHops = kdata.firstCentre / kdata.atomSpacing; //!!! int? round?
     maxDrop = emptyHops * (pow 2 (octaves-1)) - emptyHops;
-    eprintln "maxDrop = \(maxDrop)";
+//    eprintln "maxDrop = \(maxDrop)";
 
     cqblocks =
         map do octlist:
@@ -109,7 +109,7 @@
 
 //        d = 0; //!!!
 
-        eprintln "dropping \(d)";
+//        eprintln "dropping \(d)";
         drop d octlist;
     done cqblocks [1..octaves]);
 
@@ -167,7 +167,7 @@
          _: []
         esac;
 
-eprintln "cqblocks has \(length cqblocks) entries";
+//eprintln "cqblocks has \(length cqblocks) entries";
 
     octaveLists = [:];
 
@@ -181,7 +181,7 @@
              octaveLists[octaves - octave] := octlist 
          done cqblocks [1..octaves]);
 */
-eprintln "octaveLists keys are: \(keys octaveLists)";
+//eprintln "octaveLists keys are: \(keys octaveLists)";
 
     {
         kernel = kdata with {