Skip to content

carlosholivan/SelfSimilarityMatrices

Repository files navigation

SELF SIMILARITY MATRICES

Introduction

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.

Repository Organization

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" PDF 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" PDF J. Serrà, M. Müller, P. Grosche, J. Ll. Arcos 2014 IEEE

Prerequisites

Python 3.5 or later. In Ubuntu, Mint and Debian Python 3 can be installed like this:

sudo apt-get install python3 python3-pip

Librosa 0.7.2

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

Webs of Interest

MIREX

MIR

Authors

About

Calculation of Self-Similarity Matrices in Python 3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published