view yeti/test_cqtkernel.yeti @ 66:3d165bf186f1

Add little program to plot cq of an audio file
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 14 Feb 2014 14:24:37 +0000
parents bb1799a6d690
children b75c0eaaa6dd
line wrap: on
line source

module test_cqtkernel;

cm = load may.matrix.complex;

{ makeKernel } = load cqtkernel;

[

"minimal": \(
    k = makeKernel { sampleRate = 16, maxFreq = 8, binsPerOctave = 4 };
print k;
cm.print k.kernel;
true;
),

] is hash<string, () -> boolean>