diff yeti/test.yeti @ 40:031386846e3c

Return bin frequencies, for reference; some padding
author Chris Cannam <c.cannam@qmul.ac.uk>
date Tue, 19 Nov 2013 14:37:23 +0000
parents c0514dd5be60
children ae7d2e558ed1
line wrap: on
line diff
--- a/yeti/test.yeti	Mon Nov 18 17:11:47 2013 +0000
+++ b/yeti/test.yeti	Tue Nov 19 14:37:23 2013 +0000
@@ -24,12 +24,14 @@
 
 cq = cqt { maxFreq = testStream.sampleRate/2, minFreq = 1, binsPerOctave = 4 } testStream;
 
-for cq do c:
+eprintln "bin frequencies: \(cq.kernel.binFrequencies)";
+
+for cq.output do c:
     mm = cm.magnitudes c;
     for (mat.asColumns mm) (println . strJoin "," . vec.list);
 done;
 
-bigM = mat.concatHorizontal (map cm.magnitudes cq);
+bigM = mat.concatHorizontal (map cm.magnitudes cq.output);
 
 eprintln "overall output size = \(mat.size bigM)";