annotate gmm_baseline_experiments/external_libs/librosa/librosa-0.3.1/tests/README.md @ 5:b523456082ca
tip
Update path to dataset and reflect modified chunk naming convention.
author |
peterf |
date |
Mon, 01 Feb 2016 21:35:27 +0000 |
parents |
cb535b80218a |
children |
|
rev |
line source |
peterf@2
|
1 Tests
|
peterf@2
|
2 =======
|
peterf@2
|
3
|
peterf@2
|
4 This directory contains compatibility tests for librosa's core features.
|
peterf@2
|
5
|
peterf@2
|
6 The MATLAB script ``makeTestData.m`` generates input/output examples under the ``data/`` directory.
|
peterf@2
|
7
|
peterf@2
|
8 After generating the test data, run ``nosetests -v`` to perform tests and verify the outputs.
|
peterf@2
|
9
|
peterf@2
|
10
|
peterf@2
|
11 Generating test data
|
peterf@2
|
12 ====================
|
peterf@2
|
13
|
peterf@2
|
14 The data files for numerical equivalence tests are generated by the ``makeTestData`` matlab program. This relies on a variety of matlab functions which can be downloaded from the following URLs:
|
peterf@2
|
15
|
peterf@2
|
16 - http://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/
|
peterf@2
|
17 - http://www.ee.columbia.edu/~dpwe/resources/matlab/chroma-ansyn/
|
peterf@2
|
18
|
peterf@2
|
19 The following [RASTAMAT](http://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/) functions are required to run the ``makeTestData.m`` matlab program:
|
peterf@2
|
20
|
peterf@2
|
21 - ``mel2hz.m`` http://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/mel2hz.m
|
peterf@2
|
22 - ``hz2mel.m`` http://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/hz2mel.m
|
peterf@2
|
23 - ``fft2melmx.m`` http://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/fft2melmx.m
|
peterf@2
|
24
|
peterf@2
|
25 STFT/ISTFT are compared to those available [here](http://www.ee.columbia.edu/ln/rosa/matlab/pvoc/):
|
peterf@2
|
26
|
peterf@2
|
27 - ``stft.m`` http://www.ee.columbia.edu/ln/rosa/matlab/pvoc/stft.m
|
peterf@2
|
28 - ``istft.m`` http://www.ee.columbia.edu/ln/rosa/matlab/pvoc/istft.m
|
peterf@2
|
29
|
peterf@2
|
30 Beat tracking implementations are provided [here](http://labrosa.ee.columbia.edu/projects/beattrack/):
|
peterf@2
|
31 - ``tempo2.m`` http://labrosa.ee.columbia.edu/projects/beattrack/tempo2.m
|
peterf@2
|
32 - ``beat2.m`` http://labrosa.ee.columbia.edu/projects/beattrack/beat2.m
|
peterf@2
|
33
|
peterf@2
|
34 The [chroma-ansyn](http://www.ee.columbia.edu/~dpwe/resources/matlab/chroma-ansyn/chroma-ansyn.tgz) package provides the remaining functions:
|
peterf@2
|
35
|
peterf@2
|
36 - ``hz2octs.m`` http://www.ee.columbia.edu/~dpwe/resources/matlab/chroma-ansyn/hz2octs.m
|
peterf@2
|
37 - ``ifgram.m`` http://www.ee.columbia.edu/~dpwe/resources/matlab/chroma-ansyn/ifgram.m
|
peterf@2
|
38 - ``fft2chromamx.m`` http://www.ee.columbia.edu/~dpwe/resources/matlab/chroma-ansyn/fft2chromamx.m
|