Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Scripts to evaluate the robustness of descriptors to different encodings and analysis parameters

License

Notifications You must be signed in to change notification settings

MTG/essentia-robustness-ismir2014

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

essentia-robustness

This is a collection of R scripts to analyze the robustness of audio descriptors to different encodings and analysis parameters, as performed for instance in this paper:

How to run

Use robustness.R as the main entry point from Rscript:

> cd R
> Rscript robustness.R
usage: Rscript robustness.R <command> <tool> <track-length> <srate> <descriptor> [<path>]

  command       command to run (see below).
  tool          name of the tool used to compute descriptors, eg. 'essentia'.
  track-length  length of the tracks used to compute descriptors, eg '30-60'.
  srate         sampling rate of the tracks used to compute descriptors, eg. '44100'.
  descriptor    name of the descriptor to analyze, eg. 'lowlevel.mfcc.mean'.
  path          optional path to all data (see below), defaults to '../data'.

Available commands are (in expected order of execution):
  extract        extract data specific of the descriptor.
  indicators     compute robustness indicators.
  distributions  describe the distributions of the indicators.
  boxplots       boxplot the distributions of the indicators.
  variance       decompose in variance components.
  --
  all            run all commands (extract, indicators, distributions, variance).
  help           show this message.

Expected file structure of descriptors:
  path/descriptors/<tool>/<track-length>/<srate>/<codec>/<brate>/<param1>-...-<paramN>/<genre>/file
Output file structure:
  path/results/<tool>/<track-length>/<srate>/<descriptor>/<command>.txt

Dependencies

The following R packages are required:

  • rjson
  • tools
  • doBy
  • lme4

About

Scripts to evaluate the robustness of descriptors to different encodings and analysis parameters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages