music21 v9.7
Music21 v9.7 is an incremental, but still substantial release focusing mainly on import and export quality and speed. MIDI Lyrics and improved, PedalMarks are added (with more to come). Substantial new tools for FretBend and other tablature-based work.
numpy 2.0–2.2 is now supported, which makes it possible to run music21 on Windows with Python 3.13 without a compiler -- this was
the main reason for moving up the release by a month!
An update to the CONTRIBUTING guidelines -- all AI contributions must be explicitly mentioned. AI-generated contributions (whether properly declared or suspected) that do not pass tests will be closed without comment -- see Simon Williamson's blog about how AI is shifting the coding burden from programmers to reviewers for context.
Thanks to @gregchapman-dev, @adhooge, @TimFelixBeyer, @jacobtylerwalls and many others for contributions to code. And new, special thanks to Anne G. Hamill who has been helping very much with the music21list through some very difficult Google Groups times!
What's Changed
- MIDI + Lyrics now import #1769 and export #1779 -- thanks to @oxygen-dioxide . Lyrics are encoded in many recent MIDI files used in AI singing synthesis, so this is an important update!
- Updated Linting/etc. by updating Astroid @mscuthbert in #1755
- (Somewhat backwards incompatible: Discussed on list)
midi.__init__functions are now inmidi/base.pyormusic21.midi.base-- matching most other formats. Added a lot of typing for MIDI conversion (by @mscuthbert in #1757 and #1758 and #1778) - Support enclosure == Enclosure.NO_ENCLOSURE which is different from enclosure == None by @gregchapman-dev in #1761
- PedalMark support by @gregchapman-dev in #1762
- FretBend supports alter (interval), prebend, and release by @adhooge in #1580
- Roundtrip inverted chord symbols properly by @mscuthbert in #1775
- Interpret empty tags as rests on Finale documents only (derived from PR #1636, thanks @TimFelixBeyer!) by @gregchapman-dev in #1777
- Allow numpy 2.0+ with music21 by @mscuthbert in #1781
Thanks to two new contributors
- @adhooge made significant improvements to Frets in Tablature in music21 (#1580)
- @oxygen-dioxide made their first contribution in #1769
Full Changelog: v9.5.0...v9.7.0