Skip to content
/ HCDF Public

Harmonic Change Detection Function (HCDF) in Python

License

Notifications You must be signed in to change notification settings

PRamoneda/HCDF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Harmonic Change Detection Function (HCDF) in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published