Skip to main content

Package for barwise compression applied on musical segmentation.

Project description

Barwise Music Compression: Encoding songs with linear and nonlinear compression methods to reveal structure

Hello, and welcome on this repository!

This project aims at compressing all bars in a song, and studies the compressed representations of every bar to infer its structure.

This repository contains code for the PCA, NMF, and Autoencoders, developed in PyTorch, and segmentation methods based on autosimilarity segmentation, as presented in [1].

It will soon de uploaded on PyPi, for pip install In the meantime, you can download the source files.

This is a first release, and may contain bug. Comments are welcomed!

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.

Example Notebook

An example notebook is available in the folder "Notebooks", and presents the song 'Come Together' with different features.

Credits

Code was created by Axel Marmoret (axel.marmoret@irisa.fr), and strongly supported by Jeremy E. Cohen (jeremy.cohen@irisa.fr).

The technique in itself was also developed by Frédéric Bimbot (bimbot@irisa.fr).

References

[1] Marmoret, A., Cohen, J., Bertin, N., & Bimbot, F. (2020, October). Uncovering Audio Patterns in Music with Nonnegative Tucker Decomposition for Structural Segmentation. In ISMIR 2020-21st International Society for Music Information Retrieval.

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

barmuscomp-0.1.0.tar.gz (32.2 kB view hashes)

Uploaded Source

Built Distribution

barmuscomp-0.1.0-py3-none-any.whl (38.8 kB view hashes)

Uploaded Python 3

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