Skip to main content

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

A Tutorial notebook is presented in the "Notebooks" folder. In older version of the code, you may find Notebooks presenting experiments associated with publications.

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@imt-atlantique.fr), 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).

Metadata

Release files for as-seg 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for as-seg 0.1.12
File Size Uploaded Provenance Actions
as_seg-0.1.12.tar.gz 73.1 kB Without provenance Details for as_seg-0.1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for as-seg 0.1.12
File Interpreter ABI Platform Actions
as_seg-0.1.12-py3-none-any.whl Python 3 none any Details for as_seg-0.1.12-py3-none-any.whl

Total release size: 139.6 kB

Release files / as_seg-0.1.12.tar.gz

Download URL as_seg-0.1.12.tar.gz
Size 73.1 kB
Tags Source
SHA-256 checksum
How to use checksums
44905f95c4af8174c50e14fc3344e520999aeebdb1a9b935eb834f7c2254541b
BLAKE2b-256 checksum
How to use checksums
513e4ae229d8302ad261e6f860d797174b115cab8bf31ceb51d1c1b9fdfc1c82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / as_seg-0.1.12-py3-none-any.whl

Download URL as_seg-0.1.12-py3-none-any.whl
Size 66.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fc17f1f53a780d9a2fa3997f5aa46f3ab21f455290bc19ae2b802a0fd64d817
BLAKE2b-256 checksum
How to use checksums
ee2395358b9551a1b725519a65c8ddbb71c12eafcd41d130a0d2a9e95af4e40b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Security for as-seg 0.1.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page