Package for the segmentation of autosimilarity matrices. This version is related to a stable vesion on PyPi, for installation in MSAF.
Project description
as_seg: module for computing and segmenting autosimilarity matrices.
Hello, and welcome on this repository!
This project aims at computing autosimilarity matrices, and segmenting them, which consists of the task of structural segmentation.
The current version contains the CBM algorithm [1], along with a (low-effort) implementation of Foote's novelty algorithm [2].
It can be installed using pip as pip install as-seg
.
This is a first release, and may contain bug. Comments are welcomed!
Tutorial notebook
A tutorial notebook presenting the most important components of this toolbox is available in the folder "Notebooks".
Experimental notebook
Experimental notebooks are available in the folder "Notebooks". They present the code used to compute the main experiments of the paper, in order to improve the reproducibility. Please tell me if any problem would appear when trying to launch them.
Data
Some data is available with the code, in the folder "data". This includes the bar estimates, obtained with the madmom toolbox [3], the Barwise TF matrices, which are the barwise pre-processed versions of the spectrograms we use to estimate boundaries, and the estimated boundaries obtained with the CBM algorithm in the different conditions.
Software version
This code was developed with Python 3.8.5, and some external libraries detailed in dependencies.txt. They should be installed automatically if this project is downloaded using pip.
How to cite
You should cite the package as_seg
, available on HAL (https://hal.archives-ouvertes.fr/hal-03797507).
Here are two styles of citations:
As a bibtex format, this should be cited as: @softwareversion{marmoret2022as_seg, title={as_seg: module for computing and segmenting autosimilarity matrices}, author={Marmoret, Axel and Cohen, J{'e}r{'e}my and Bimbot, Fr{'e}d{'e}ric}, URL={https://gitlab.inria.fr/amarmore/autosimilarity_segmentation}, LICENSE = {BSD 3-Clause ''New'' or ''Revised'' License}, year={2022}}
In the IEEE style, this should be cited as: A. Marmoret, J.E. Cohen, and F. Bimbot, "as_seg: module for computing and segmenting autosimilarity matrices," 2022, url: https://gitlab.inria.fr/amarmore/autosimilarity_segmentation.
Credits
Code was created by Axel Marmoret (axel.marmoret@gmail.com), and strongly supported by Jeremy E. Cohen (jeremy.cohen@cnrs.fr).
The technique in itself was also developed by Frédéric Bimbot (bimbot@irisa.fr).
References
[1] A. Marmoret, J.E. Cohen, and F. Bimbot, "Convolutive Block-Matching Segmentation Algorithm with Application to Music Structure Analysis", 2023, to be published at WASPAA 2023.
[2] J. Foote, "Automatic audio segmentation using a measure of audio novelty," in: 2000 IEEE Int. Conf. Multimedia and Expo. ICME2000. Proc. Latest Advances in the Fast Changing World of Multimedia, vol. 1, IEEE, 2000, pp. 452–455.
[3] Böck, S., Korzeniowski, F., Schlüter, J., Krebs, F., & Widmer, G. (2016, October). Madmom: A new python audio and music signal processing library. In Proceedings of the 24th ACM international conference on Multimedia (pp. 1174-1178).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file as_seg-0.1.4.tar.gz
.
File metadata
- Download URL: as_seg-0.1.4.tar.gz
- Upload date:
- Size: 33.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df1f5fb3ae339b7c93f36e2665f2f20b39d4942ff426b8b658f7959a69dcba27 |
|
MD5 | d9a06ba5f04d721c419d376ac50acfc7 |
|
BLAKE2b-256 | 0051b94c5d1879f160a979b2a99db2ea0c65fe31d09448b773f9decfc43aa77f |
File details
Details for the file as_seg-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: as_seg-0.1.4-py3-none-any.whl
- Upload date:
- Size: 36.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f9f4f95b8a2ce65c366a4a94a76e7d37ef6761affaa174a6e8690a00c4e6f17 |
|
MD5 | 85e810e91ada3f950dba32f4e8fa390f |
|
BLAKE2b-256 | f70dbd47a997f3f20a934c7dbf1354f2e994a2ef7c87de54b183ce765f717a4c |