Logo TU Vienna  Logo IFS Information & Software Engineering Group
Vienna University of Technology
Institute of Software Technology and Interactive Systems
Information & Software Engineering Group

Music Information Retrieval

Logo Music Information 
Retrieval at TU Vienna IFS
  [Topics] [Projects] [Downloads] [People] [Publications] [Press] [Events]  

Audio Feature Extraction

SOM-Toolbox

Classification

 

How-To Collection

(Some topics are yet under construction. Ask for help via email.)
 

1 Audio Feature Extraction

The following points describe methods to extract various different features from audio files. In most cases only one of these methods is needed.

1.1 Matlab Audio Feature Extraction

  •  Rhythm Patterns, SSD, RH

1.2 M2K 

1.3 Marsyas 

The vector files with the extracted features can be used as input vectors for the SOM-Toolbox or for classification.

 

2 SOM-Toolbox

SOM-Toolbox is a Java application for training and visualizing data with Self-Organizing-Maps.
 

 3 Classification

For classification, various machine learning tools can be used. A popular one is Weka:

3.1 Weka - Machine Learning Java Tool

  • Download Weka. It is implemented in Java, thus platform independent. (On some Linux distributions there might appear problems with the window manager and/or Java 1.5, in that case download the file LookAndFeel.props and place it in your home directory.)
  • For Weka you need to convert SomLib vector files into the Weka .arff format. Download the conversion script from SOMLib to .arff format: (right click - Save target as)
    somlib2arff_wclass.pl
    (Perl must be installed to execute the script)
  • For classification (and thus for the above script) you need a groundtruth file, where each file to classify is labeled with a class.
    Create a groundtruth file as an Ascii file with a comma-separated list of files and their assigned class:
    <filename>,<class>
    If your files are stored in folders, whose names represent the class labels, (in Linux) you can use commands similar to these in order to create a groundtruth file:
    find . -name *.mp3 > filelist.txt
    cut -d / -f 2 filelist.txt > classes.txt
    paste filelist.txt classes.txt > filelist_wclasses.txt
  • Then use the script to create an .arff file:
    somlib2arff_wclass.pl <vector_file> filelist_wclasses.txt
  • Follow the Weka-Explorer Instructions for classification.
 
 
top
last edited 15.10.2015 by Thomas Lidy

Valid HTML 4.01 Transitional Valid CSS!