These scripts might be of use to some members of the class. Many of them call eachother, so download them all to your path if you want to try any one of them out.
Arguments: directory is the directory where the files exist, ext is the extension of the file.
Returns: A cell array of file names from the specified directory with the specified extension.
Arguments: data is a miraudio object, feature_choice is an array of structures that have a .name field. This is used to set the specific features that the user wants to extract. For example passing in a structure delcared like myFeatures(1).name = 'zerocross'; myFeatures(2).name = 'spread'; Will extract the zerocross and spread from the data passed into the function.
Returns: A vector of feature values.
Arguments: directory, extension, feature_choice, and framesize
Returns: Returns an array of features extracted from the first frame of all the files in the directory with a given extension.
Arguments: filepath, feature_choice, framesize
Returns: Returns an array of features extracted from all the frames of an mp3 file that is stored at filepath.
Arguments: directory, feature_choice, framesize
Returns: Returns an array of features extracted from all the frames of all the mp3 files in the given directory. Essentially this script calse getFeaturesmp3.m on all the files in the given directory.
Earth Movers Distance
Calculate a distance matrix between two arrays of features