cuthbertLab/music21
music21: a Toolkit for Computer-Aided Musical Analysis and Computational Musicology observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 98
- Release rhythm 89
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 27
- age_days: 4685
- days_rel: 78
- days_push: 12
- n_releases_24m: 10
Adoption not part of the score
2570 stars · 453 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
music21 is a Python toolkit for computer-aided musical analysis and computational musicology, providing rich object models for notes, chords, streams, and scores. It reads and writes formats like MusicXML, MIDI, ABC, and MEI, and includes analysis tools, a built-in corpus, and plotting capabilities.
Use cases
- analyze musical scores programmatically in python
- convert between MusicXML, MIDI, and ABC files
- do roman numeral harmonic analysis of a score
- search a corpus of Bach chorales for chord progressions
- parse a MusicXML file and extract pitches and rhythms
- generate music notation from code
- study music theory computationally for research
When to choose
- you need deep symbolic music analysis rather than just playback
- you work with Western notation formats like MusicXML or MIDI in Python
- you're doing musicology research, teaching, or corpus studies
- you want a mature, well-documented library with an active community
When to avoid
- you need real-time audio synthesis or DAW functionality
- you want a graphical notation editor rather than a programming library
- you primarily work with audio waveforms rather than symbolic scores
- you need non-Western notation systems with limited support in music21
Facets
library · maturity active
parser data-visualization nlp sdk developer-tools audio education data-science python cross-platform windows music-analysis musicology musicxml midi score-processing computational-musicology music-theory corpus natural-language-processing macos linux
10 sources
- readme: https://github.com/cuthbertLab/music21 · fetched 2026-08-28 · e92412ad11ed
- homepage: https://www.music21.org/music21docs/ · fetched 2026-08-29 · bf9b50ea844f
- site_page: https://music21.org/music21docs/about/index.html · fetched 2026-08-29 · 8500691493df
- site_page: https://music21.org/music21docs/genindex.html · fetched 2026-08-29 · cad963b758d7
- site_page: https://music21.org/music21docs/py-modindex.html · fetched 2026-08-29 · 17ea4a54dcab
- site_page: https://music21.org/music21docs/usersGuide/index.html · fetched 2026-08-29 · c8ba6f2f3538
- site_page: https://music21.org/music21docs/moduleReference/index.html · fetched 2026-08-29 · a8724a298677
- site_page: https://music21.org/music21docs/installing/index.html · fetched 2026-08-29 · 84e9baa0cf52
- site_page: https://music21.org/music21docs/developerReference/index.html · fetched 2026-08-29 · b369c10f10b5
- site_page: https://music21.org/music21docs/testsAndInProgress/index.html · fetched 2026-08-29 · 086b97233d3e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cuthbertLab/music21 | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="cuthbertLab/music21")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem