Mercurial > hg > constant-q-cpp
changeset 60:d6b07e6bf1db
Merge with pulled changes
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 03 Feb 2014 12:41:43 +0000 |
parents | a219bab90abe |
children | 625d922494f5 |
files | yeti/test.yeti |
diffstat | 1 files changed, 21 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/yeti/test.yeti Fri Jan 31 11:40:01 2014 +0000 +++ b/yeti/test.yeti Mon Feb 03 12:41:43 2014 +0000 @@ -7,12 +7,33 @@ mat = load may.matrix; vec = load may.vector; win = load may.signal.window; +test = load may.test.test; mm = load may.mathmisc; manipulate = load may.stream.manipulate; syn = load may.stream.syntheticstream; +{ cqtkernel } = load cqtkernel; { cqt } = load cqt; +// We want to test: +// +// Kernel design -- check size (number of bins, number of atoms); +// check an example kernel against known data +// +// Time alignment -- feed a dirac train, check that peaks in all bins +// align +// +// Frequency discrimination -- feed a sinusoid, check peaks +// +// Latency compensation -- for dirac at 0, check peak can be found at +// 0 plus the declared latency +// +// Signal-noise ratio +// +// Specimen output for simple test case + +/* + // Test with a single windowed sinusoid, repeating at various frequencies sinTestStream sampleRate duration signalFreq = // duration is in samples