Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.3 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.3 KB

Harmonic Change Detection Function (HCDF) library

This library is used to compute HCDF. Here is described the algorithm in detail. As many of the solutions overlap partilly, all the algorithm data computed in the different blocks is saved in out folder in order to not compute same blocks parameterization two times.

Installation

Install Vamp-plugins:

	pip3 install requeriments.txt

Usage

The library can be imported as a module with import HCDF. All the functions than begins by get are blocks from HCDF function. The rest are auxiliar functions.

HCDF.py act as script allowing the user to print to the console Harmonic Change Detection Function (HCDF) focus on maximizing recall or f-score. It is assumed that the first command line argument is the name file of the audio file located in audio_files and the second one is, if is focus on recall or f-score.

Example of use

With target on maximize f-score:

python3 f-score file/name

With target on maximize recall:

python3 recall file/name

References

https://librosa.github.io https://vamp-plugins.org https://github.com/aframires/TIVlib