Abjad / abjad

Abjad is a Python API for building LilyPond files. Use Abjad to make PDFs of music notation.
https://abjad.github.io
GNU General Public License v3.0
234 stars 41 forks source link

Clean up abjad.Octave initializer #1457

Closed trevorbaca closed 2 years ago

trevorbaca commented 2 years ago

OLD. Octave objects are usually initialized by octave number. But the abjad.Octave initialzer allowed for undocumented initialization by tick string:

>>> abjad.Octave("'")
Octave(number=4)

NEW. Use the new abjad.Octave.from_ticks() constructor instead:

abjad.Octave.from_ticks("'")
Octave(number=4)