librosa/tests at master · pythonthings/librosa · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

README.md

Tests

This directory contains compatibility tests for librosa's core features.

The MATLAB script makeTestData.m generates input/output examples under the data/ directory.

After generating the test data, run pytest from the top-level source directory to perform tests and verify the outputs.

Generating test data

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:

The following RASTAMAT functions are required to run the makeTestData.m matlab program:

STFT/ISTFT are compared to those available here:

Beat tracking implementations are provided here:

The chroma-ansyn package provides the remaining functions: