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.6 or later:
~$ python --version Python 3.9.0
Make sure LilyPond is installed: http://lilypond.org/development.html
Make sure LilyPond is callable from the commandline:
$ lilypond --version GNU LilyPond 2.21.82 Copyright (c) 1996--2020 by Han-Wen Nienhuys <email@example.com> Jan Nieuwenhuizen <firstname.lastname@example.org> and others. This program is free software. It is covered by the GNU General Public License and you are welcome to change it and/or distribute copies of it under certain conditions. Invoke as `lilypond --warranty' for more information.
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 Python 3.9.0 (v3.9.0:9cf6752276, Oct 5 2020, 11:29:23) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import abjad >>> note = abjad.Note("c'4") >>> abjad.show(note)
Join the Abjad community: https://abjad.github.io/appendices/community.html