We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The two classes will be replaced by functions:
OLD: abjad.NoteMaker NEW: abjad.makers.make_notes() OLD: abjad.LeafMaker NEW: abjad.makers.make_leaves()
In Abjad 3.11, only the old classes exist:
pitches = [0, 2, 4] durations = [(1, 8), (1, 16)] maker = abjad.NoteMaker() notes = maker(pitches, durations) pitches = [0, 2, None] durations = [(1, 8), (1, 16)] maker = abjad.LeafMaker(skips_instead_of_rests=True) leaves = maker(pitches, durations)
In Abjad 3.12, both the old classes and their replacement functions will be allowed:
DEPRECATED: pitches = [0, 2, 4] durations = [(1, 8), (1, 16)] maker = abjad.NoteMaker() notes = maker(pitches, durations) pitches = [0, 2, None] durations = [(1, 8), (1, 16)] maker = abjad.LeafMaker(skips_instead_of_rests=True) leaves = maker(pitches, durations) RECOMMENDED: notes = abjad.makers.make_notes(pitches, durations) leaves = abjad.makers.make_leaves(pitches, durations, skips_instead_of_rests=True)
In Abjad 3.14, the old classes will be removed; only the new functions will be allowed:
notes = abjad.makers.make_notes(pitches, durations) leaves = abjad.makers.make_leaves(pitches, durations, skips_instead_of_rests=True)
These class-to-function replacements parallel similar changes happening in the rhythm-makers in Abjad 3.12 and 3.13.
The text was updated successfully, but these errors were encountered:
Added abjad.makers.make_notes(), abjad.makers.make_leaves().
5ab5bdc
Deprecated abjad.NoteMaker, abjad.LeafMaker. Tag #1478.
f99c8e7
5d777a2
Added abjad.makers.make_notes(), abjad.makers.make_leaves(). (#1479)
4f61c5d
Removed abjad.LeafMaker, abjad.NoteMaker.
66418d9
Closes #1478.
20d59b3
Removed abjad.LeafMaker, abjad.NoteMaker. (#1500)
509d6ba
trevorbaca
Successfully merging a pull request may close this issue.
The two classes will be replaced by functions:
In Abjad 3.11, only the old classes exist:
In Abjad 3.12, both the old classes and their replacement functions will be allowed:
In Abjad 3.14, the old classes will be removed; only the new functions will be allowed:
These class-to-function replacements parallel similar changes happening in the rhythm-makers in Abjad 3.12 and 3.13.
The text was updated successfully, but these errors were encountered: