Mercurial > hg > constant-q-cpp
diff yeti/test.yeti @ 44:337d3b324c75
Some work on alignment
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 21 Nov 2013 17:04:19 +0000 |
parents | f5bd00c97de3 |
children | e2b7f7462618 |
line wrap: on
line diff
--- a/yeti/test.yeti Wed Nov 20 21:39:42 2013 +0000 +++ b/yeti/test.yeti Thu Nov 21 17:04:19 2013 +0000 @@ -13,17 +13,17 @@ //testStream = manipulate.withDuration 96000 (syn.sinusoid 48000 500); //testStream = manipulate.withDuration 96000 (syn.pulseTrain 48000 4); -//testStream = af.open "sweep-48000.wav"; +testStream = af.open "sweep-48000.wav"; //testStream = af.open "sweep.wav"; // So the stream is [ 0, 1, 0, -1, 0, 1, 0, -1, ... ] : -testStream = manipulate.withDuration 64 (syn.sinusoid 8 2); +//testStream = manipulate.withDuration 64 (syn.sinusoid 8 2); //testStream = manipulate.withDuration 32 (syn.pulseTrain 8 0.001); eprintln "have test stream"; -cq = cqt { maxFreq = testStream.sampleRate/2, minFreq = 1, binsPerOctave = 4 } testStream; +cq = cqt { maxFreq = testStream.sampleRate/2, minFreq = 50, binsPerOctave = 24 } testStream; eprintln "bin frequencies: \(cq.kernel.binFrequencies)";