musiscape
A Python toolbox for analysing large music collections and long music recordings.
Point it at a folder of audio files, where each subfolder counts as an album, and it renders figures, tables and thumbnails that let you compare many tracks at a glance: albums, similarity, outliers, categories. Point it at a concert recording instead and it finds the songs inside it first, so the same tools apply to a live set.
Install
pip install musiscape
Quickstart
musiscape report ~/Music/my-collection
One command runs the whole pipeline and writes analysis/README.md next to
your music: an album table, a similarity landscape, self-explaining
categories, and the corpus extremes.
Commands
| Command | What it does |
|---|---|
probe |
list albums and tracks, no analysis |
extract |
per-track features, cached in features.json |
fingerprint |
per-album profile bars |
landscape |
PCA similarity map and album-affinity matrix |
categorize |
k-means categories with named signatures |
report |
everything above, gathered into analysis/README.md |
thumbnails |
one visual card per track (--style, seventeen styles) |
poster |
the whole collection as one image (--style vinyl for discs) |
sonic |
a ~12-second audio summary per track, plus album medleys |
segment |
finds the songs in a concert recording, labels every second of it, and writes one file per song |
figures |
labelled chromagram and tempogram per track, at any pixel width |
pdf |
one PDF: a summary table, then a page of figures per track |
A live recording is not a collection until it is cut into songs, which is what segment is for
(video files included, since concerts usually arrive as video):
musiscape segment ~/video/concert -o ~/video/concert/analysis
musiscape report ~/video/concert/analysis/songs
Common options: -o sets the output folder (default <root>/analysis),
--workers N parallelises, --duration S analyses only the first S seconds
per track, and -k fixes the number of categories.
Learn more
- Documentation—guides, an illustrated gallery of the visualisation styles, and the API reference
- Wiki—methodology notes and a case study
The toolbox is meant for quick visualisations and overviews. Combine it with listening.
Related toolboxes
These toolboxes come out of the fourMs lab at the University of Oslo.
- Musical Gestures Toolbox
(
musicalgestures): video and audio, with motiongrams, videograms and motion analysis from ordinary video files - ambiscape: soundscapes, the sonic ambience of a place, including multichannel and ambisonic material
- micromotion: human micromotion, with quantity of motion from optical markers, accelerometers, respiration belts and force plates
Each is a separate package with its own release cycle, and each runs on its own. musiscape needs none of the others installed to do anything it documents.
They are still meant to be combined, so any measure that appears in more than one of them has a single owner and a single implementation. Circular statistics belong to micromotion, and musiscape imports pulse clarity, fifths-circle centres and the Rayleigh test from there rather than keeping its own copy. Switching a measure between toolboxes, or computing it in two of them, gives the same number. A test suite in each package checks that against the owning implementation, and skips when the sibling is not installed.
Licence and credit
MIT licence. musiscape is developed as part of the AMBIENT project at RITMO Centre for Interdisciplinary Studies in Rhythm, Time and Motion, University of Oslo.
Citing
Cite the concept DOI, which always resolves to the newest version:
Jensenius, A. R. (2026). musiscape: A Python toolbox for analysing large music collections and long music recordings [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.21948999
Where the exact behaviour matters, add the version you ran. Every release has its own DOI, listed on the Zenodo record.
CITATION.cff in this repository carries the same information in machine-readable form.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file musiscape-0.7.0.tar.gz.
File metadata
- Download URL: musiscape-0.7.0.tar.gz
- Upload date:
- Size: 70.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d01539e36714da846b736233e450608cafcf994c0dc593a2a20b4ddb533783c
|
|
| MD5 |
856170fbfb5882eea1c5c886f801923b
|
|
| BLAKE2b-256 |
732640f9f560e6368b06e4cdd42bb9e3f41280e3fceb0eb83b284860d9a33c76
|
Provenance
The following attestation bundles were made for musiscape-0.7.0.tar.gz:
Publisher:
python-publish.yml on fourMs/musiscape
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
musiscape-0.7.0.tar.gz -
Subject digest:
1d01539e36714da846b736233e450608cafcf994c0dc593a2a20b4ddb533783c - Sigstore transparency entry: 2486626923
- Sigstore integration time:
-
Permalink:
fourMs/musiscape@1d28e49a4eceeed7fd8bd9da2c4d80a276b1319c -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/fourMs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@1d28e49a4eceeed7fd8bd9da2c4d80a276b1319c -
Trigger Event:
release
-
Statement type:
File details
Details for the file musiscape-0.7.0-py3-none-any.whl.
File metadata
- Download URL: musiscape-0.7.0-py3-none-any.whl
- Upload date:
- Size: 58.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdedcaa9729afe575e6e954d9390655a71ea25def2a1c6494b4af3a2f807c0d6
|
|
| MD5 |
d4a13a6c3ff2dfa4bc1cc6c4da4863c5
|
|
| BLAKE2b-256 |
8a531ee588c7337ca34f515a150bffea6f8ae1edd895d7dd96ec6626e61f02b5
|
Provenance
The following attestation bundles were made for musiscape-0.7.0-py3-none-any.whl:
Publisher:
python-publish.yml on fourMs/musiscape
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
musiscape-0.7.0-py3-none-any.whl -
Subject digest:
bdedcaa9729afe575e6e954d9390655a71ea25def2a1c6494b4af3a2f807c0d6 - Sigstore transparency entry: 2486627125
- Sigstore integration time:
-
Permalink:
fourMs/musiscape@1d28e49a4eceeed7fd8bd9da2c4d80a276b1319c -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/fourMs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@1d28e49a4eceeed7fd8bd9da2c4d80a276b1319c -
Trigger Event:
release
-
Statement type: