Abjad is a Python API for building LilyPond files.
Project description
Abjad helps composers build up complex pieces of music notation in iterative and incremental ways. Use Abjad to create a symbolic representation of all the notes, rests, chords, tuplets, beams and slurs in any score. Because Abjad extends the Python programming language, you can use Abjad to make systematic changes to music as you work. Because Abjad wraps the LilyPond music notation package, you can use Abjad to control the typographic detail of symbols on the page.
Abjad’s documentation is available here: https://abjad.github.io
Abjad’s install instructions are tested on macOS and Linux.
Abjad requires Python 3.10 or later:
~$ python --version
Python 3.11.0
Abjad requires LilyPond 2.23.6 or later.
Make sure LilyPond is installed: http://lilypond.org/development.html
Make sure LilyPond is callable from the commandline:
$ lilypond --version
GNU LilyPond 2.23.80 (running Guile 2.2)
Create a Python 3 virtual environment for Abjad: https://docs.python.org/3/tutorial/venv.html
Activate the virtual environment and then use pip to install Abjad:
~$ python -m pip install abjad
Start Python, import Abjad, start making music notation:
~$ python
>>> import abjad
>>> note = abjad.Note("c'4")
>>> abjad.show(note)
Join the Abjad community: https://abjad.github.io/appendices/community.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file abjad-3.19.tar.gz
.
File metadata
- Download URL: abjad-3.19.tar.gz
- Upload date:
- Size: 413.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23db7739150a14594c7d726c0335e10b39750786bdfd9366bd25f6fd1e384cfb |
|
MD5 | 5aa6f8741e702e6e6e750c74aff66ecf |
|
BLAKE2b-256 | 96cfeb4be5cfe36a9195a925ec77b2d21ca225809445c6ede954716dca16bab6 |