maelzel is a framework for computer music in python. It provides datatypes to define notes, chords, sequences, lines, voices, scores, etc. These objects can be combined with soundfiles and samples, rendered as notation and synthesized in realtime.
It provides functionality for composition, music notation, sound analysis and synthesis, feature extraction, transcription and machine learning
https://maelzel.readthedocs.io/en/latest/index.html
pip install maelzel
- python >= 3.10
- csound (>= 6.18)
- lilypond
https://maelzel.readthedocs.io/en/latest/Introduction.html#demo-notebooks
Or check the example notebooks:
https://github.com/gesellkammer/maelzel/tree/master/docs/notebooks