mingus
Music-theory package for notes, scales, chords, progressions, and MIDI playback.
| Language | Python |
|---|---|
| Category | Composition & notation |
| License | GPL-3.0 |
| Platforms | macOS Windows Linux |
| Install | pip install mingus |
| First released | 2008 |
| Maintained | Not actively maintained (last activity 2021) |
| Links | Website · Source |
Strengths
- Rich music-theory primitives (intervals, scales, chords)
- Renders via LilyPond, plays via FluidSynth
- Long-standing and well-documented
Limitations
- No release since 2020, no commits since 2021
- Playback/notation rely on external tools
Best for
Exploring and computing Western music theory in Python.
Minimal example
from mingus.core import chords
print(chords.major_triad('C')) # ['C', 'E', 'G']
print(chords.determine(['C', 'E', 'G']))