diff yeti/test.yeti @ 41:ae7d2e558ed1

More debug testing
author Chris Cannam <c.cannam@qmul.ac.uk>
date Tue, 19 Nov 2013 19:27:45 +0000
parents 031386846e3c
children f5bd00c97de3
line wrap: on
line diff
--- a/yeti/test.yeti	Tue Nov 19 14:37:23 2013 +0000
+++ b/yeti/test.yeti	Tue Nov 19 19:27:45 2013 +0000
@@ -16,9 +16,10 @@
 //testStream = af.open "sweep-48000.wav";
 //testStream = af.open "sweep.wav";
 
-testStream = manipulate.withDuration 64 (syn.sinusoid 8 2);
+//testStream = manipulate.withDuration 64 (syn.sinusoid 8 2);
+// So the stream is [ 0, 1, 0, -1, 0, 1, 0, -1, ... ]
 
-// So the stream is [ 0, 1, 0, -1, 0, 1, 0, -1, ... ]
+testStream = manipulate.withDuration 32 (syn.pulseTrain 8 0.001);
 
 eprintln "have test stream";
 
@@ -26,10 +27,12 @@
 
 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.output);