Skip to main content

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 an implementation of Foote's novelty algorithm [2] based on the MSAF toolbox [3].

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.

Experimental Notebooks requires some pre-computed data to work, which can be found on zenodo: https://zenodo.org/records/10168387. DOI: 10.5281/zenodo.10168386.

Data

Should be obtained from Zenodo: https://zenodo.org/records/10168387. DOI: 10.5281/zenodo.10168386.

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}, 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, F. Bimbot. Barwise Music Structure Analysis with the Correlation Block-Matching Segmentation Algorithm. Transactions of the International Society for Music Information Retrieval (TISMIR), 2023, 6 (1), pp.167-185. ⟨10.5334/tismir.167⟩. ⟨hal-04323556⟩, https://hal.science/hal-04323556.

[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] Nieto, O., Bello, J. P., Systematic Exploration Of Computational Music Structure Research. Proc. of the 17th International Society for Music Information Retrieval Conference (ISMIR). New York City, NY, USA, 2016.

[4] 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

as_seg-0.1.6.tar.gz (39.6 kB view details)

Uploaded Source

Built Distribution

as_seg-0.1.6-py3-none-any.whl (42.9 kB view details)

Uploaded Python 3

File details

Details for the file as_seg-0.1.6.tar.gz.

File metadata

  • Download URL: as_seg-0.1.6.tar.gz
  • Upload date:
  • Size: 39.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for as_seg-0.1.6.tar.gz
Algorithm Hash digest
SHA256 3a31fb0754609734d920767315112639a0b678d7382c2d2282be083bacd5fefb
MD5 493415b59e87c740048466aafa92dc09
BLAKE2b-256 7057c6f12f4cea1f1466fe318dde0712b5cd1306bf4f2bfdd51fec03d8ccd260

See more details on using hashes here.

File details

Details for the file as_seg-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: as_seg-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 42.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for as_seg-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2ff8937493cf15442f1f15bf708bb6431e54fb632cbf5973e17d2c05bd5d8d8c
MD5 38e789668a8b28bda13e454b7963b1b9
BLAKE2b-256 e888c1f984cbfc4f42930e45662f42b2f9321e992d6a75680919b1b963ee0081

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page