Self Similarity and Self Similarity Lag Matrices (SSMs and SSLMs) are representations of similar sequences in music and they are commonly used in Music Structure Segmentation MIREX task.
In this repository, we show how these input matrices are obtained following previous works methods. The code has been programmed in the University of Zaragoza, in the Department of Electronic Engineering and Communications by Carlos Hernández, David Díaz-Guerra and José Ramón Beltrán.
The actual files in the repository are divided jupyter notebooks:
Notebook name | Description | Paper Title | Paper | Paper Authors | Year | Journal/Conference |
---|---|---|---|---|---|---|
SelfSimilarityLagMatrix-Grill_Schluter | SSLM calculated from MFCCs and cosine distance | "Music Boundary Detection using Neural Networks on Spectrograms and Self-Similarity Lag Matrices" | T. Grill and J. Schlüter | 2015 | EUPSICO | |
SelfSimilarityMatrix_Serra | Recurrence plot and SSM calculated from MFCCs | "Unsupervised Music Structure Annotation by Time Series Structure Features and Segment Similarity" | J. Serrà, M. Müller, P. Grosche, J. Ll. Arcos | 2014 | IEEE |
Python 3.5 or later. In Ubuntu, Mint and Debian Python 3 can be installed like this:
sudo apt-get install python3 python3-pip
sudo pip install librosa
If you use conda/Anaconda environments, librosa can be installed from the conda-forge channel:
conda install -c conda-forge librosa
- Carlos Hernández - carloshero@unizar.es
- David Díaz-Guerra - ddga@uniza.es
- José Ramón Beltrán - jrbelbla@unizar.es