Mercurial > hg > constant-q-cpp
diff yeti/cqt.yeti @ 65:bb1799a6d690
Pull out tests
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 14 Feb 2014 11:55:03 +0000 |
parents | 0cce8a3c7b98 |
children | 27007f8302f4 |
line wrap: on
line diff
--- a/yeti/cqt.yeti Fri Feb 14 11:19:52 2014 +0000 +++ b/yeti/cqt.yeti Fri Feb 14 11:55:03 2014 +0000 @@ -16,7 +16,7 @@ cqt { maxFreq, minFreq, binsPerOctave } str = (sampleRate = str.sampleRate; octaves = ceil (log2 (maxFreq / minFreq)); - actualMinFreq = (maxFreq / (pow 2 octaves)) * (pow 2 (1/binsPerOctave)); +// actualMinFreq = (maxFreq / (pow 2 octaves)) * (pow 2 (1/binsPerOctave)); kdata = cqtkernel.makeKernel { sampleRate, maxFreq, binsPerOctave }; @@ -88,7 +88,7 @@ // and split into single-atom columns emptyHops = kdata.firstCentre / kdata.atomSpacing; //!!! int? round? - maxDrop = emptyHops * (pow 2 (octaves-1)) - emptyHops; +// maxDrop = emptyHops * (pow 2 (octaves-1)) - emptyHops; // eprintln "maxDrop = \(maxDrop)"; cqblocks =