Skip to content
Wrapper on MIR Toolbox to extract many features from many files.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
addEscapes.m
extractMIR.m
ffmpeg.m
getAbsolutePath.m
getFeatureFormat.m
getFilenames.m
getMetadata.m
mywaitbar.m
parseFeature.m
readtable_fallback.m

README.md

extractMIR

extractMIR is a MATLAB script for calculating MIR (music information retrieval) features from many audio files and saving them to a csv file. It is basically a wrapper for MIR Toolbox for extracting many features from a folder of files. An existing csv file can be specified, in which case extractMIR will get the feature list from this csv file, and will not re-extract features from files that are already in the file.

Usage

extractMIR('file.csv', 'folder/of/music/files')

Dependencies

Octave Support

Currently this is dependant on the MATLAB version of MIR Toolbox. It would be nice to use the Octave implementation, but filtering doesn't work there which isn't ideal; for example, we can't calculate sub-band spectral flux without filtering.

TODO

  • Forget about calling ffmpeg from MATLAB. For some unknown reason this is too complicated of a task for MATLAB. We'll have to use the MATLAB functions audioinfo, audioread, and audiowrite to get metadata, and convert to a wav file if needed.
You can’t perform that action at this time.