scoretools


Lineage

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightslategrey, dpi=72, fontname=Arial, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, root="__builtin__.object", splines=spline, style="dotted, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=12, penwidth=2, style="filled, rounded"]; edge [color=lightsteelblue2, penwidth=2]; subgraph cluster_abctools { graph [label=abctools]; "abjad.tools.abctools.AbjadObject.AbjadObject" [color=1, group=0, label=AbjadObject, shape=box]; "abjad.tools.abctools.AbjadObject.AbstractBase" [color=1, group=0, label=AbstractBase, shape=box]; "abjad.tools.abctools.AbjadObject.AbstractBase" -> "abjad.tools.abctools.AbjadObject.AbjadObject"; } subgraph cluster_datastructuretools { graph [label=datastructuretools]; "abjad.tools.datastructuretools.TypedCollection.TypedCollection" [color=3, group=2, label=TypedCollection, shape=oval, style=bold]; "abjad.tools.datastructuretools.TypedList.TypedList" [color=3, group=2, label=TypedList, shape=box]; "abjad.tools.datastructuretools.TypedCollection.TypedCollection" -> "abjad.tools.datastructuretools.TypedList.TypedList"; } subgraph cluster_scoretools { graph [label=scoretools]; "abjad.tools.scoretools.Chord.Chord" [color=black, fontcolor=white, group=3, label=Chord, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.Cluster.Cluster" [color=black, fontcolor=white, group=3, label=Cluster, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.Component.Component" [color=black, fontcolor=white, group=3, label=Component, shape=oval, style="filled, rounded"]; "abjad.tools.scoretools.Container.Container" [color=black, fontcolor=white, group=3, label=Container, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.Context.Context" [color=black, fontcolor=white, group=3, label=Context, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.DrumNoteHead.DrumNoteHead" [color=black, fontcolor=white, group=3, label=DrumNoteHead, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.FixedDurationContainer.FixedDurationContainer" [color=black, fontcolor=white, group=3, label=FixedDurationContainer, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.FixedDurationTuplet.FixedDurationTuplet" [color=black, fontcolor=white, group=3, label=FixedDurationTuplet, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.GraceContainer.GraceContainer" [color=black, fontcolor=white, group=3, label=GraceContainer, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.Leaf.Leaf" [color=black, fontcolor=white, group=3, label=Leaf, shape=oval, style="filled, rounded"]; "abjad.tools.scoretools.Measure.Measure" [color=black, fontcolor=white, group=3, label=Measure, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.MultimeasureRest.MultimeasureRest" [color=black, fontcolor=white, group=3, label=MultimeasureRest, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.Note.Note" [color=black, fontcolor=white, group=3, label=Note, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.NoteHead.NoteHead" [color=black, fontcolor=white, group=3, label=NoteHead, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.NoteHeadInventory.NoteHeadInventory" [color=black, fontcolor=white, group=3, label=NoteHeadInventory, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.Rest.Rest" [color=black, fontcolor=white, group=3, label=Rest, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.Score.Score" [color=black, fontcolor=white, group=3, label=Score, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.Skip.Skip" [color=black, fontcolor=white, group=3, label=Skip, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.Staff.Staff" [color=black, fontcolor=white, group=3, label=Staff, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.StaffGroup.StaffGroup" [color=black, fontcolor=white, group=3, label=StaffGroup, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.Tuplet.Tuplet" [color=black, fontcolor=white, group=3, label=Tuplet, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.Voice.Voice" [color=black, fontcolor=white, group=3, label=Voice, shape=box, style="filled, rounded"]; "abjad.tools.scoretools.Component.Component" -> "abjad.tools.scoretools.Container.Container"; "abjad.tools.scoretools.Component.Component" -> "abjad.tools.scoretools.Leaf.Leaf"; "abjad.tools.scoretools.Container.Container" -> "abjad.tools.scoretools.Cluster.Cluster"; "abjad.tools.scoretools.Container.Container" -> "abjad.tools.scoretools.Context.Context"; "abjad.tools.scoretools.Container.Container" -> "abjad.tools.scoretools.FixedDurationContainer.FixedDurationContainer"; "abjad.tools.scoretools.Container.Container" -> "abjad.tools.scoretools.GraceContainer.GraceContainer"; "abjad.tools.scoretools.Container.Container" -> "abjad.tools.scoretools.Tuplet.Tuplet"; "abjad.tools.scoretools.Context.Context" -> "abjad.tools.scoretools.Score.Score"; "abjad.tools.scoretools.Context.Context" -> "abjad.tools.scoretools.Staff.Staff"; "abjad.tools.scoretools.Context.Context" -> "abjad.tools.scoretools.StaffGroup.StaffGroup"; "abjad.tools.scoretools.Context.Context" -> "abjad.tools.scoretools.Voice.Voice"; "abjad.tools.scoretools.FixedDurationContainer.FixedDurationContainer" -> "abjad.tools.scoretools.Measure.Measure"; "abjad.tools.scoretools.Leaf.Leaf" -> "abjad.tools.scoretools.Chord.Chord"; "abjad.tools.scoretools.Leaf.Leaf" -> "abjad.tools.scoretools.MultimeasureRest.MultimeasureRest"; "abjad.tools.scoretools.Leaf.Leaf" -> "abjad.tools.scoretools.Note.Note"; "abjad.tools.scoretools.Leaf.Leaf" -> "abjad.tools.scoretools.Rest.Rest"; "abjad.tools.scoretools.Leaf.Leaf" -> "abjad.tools.scoretools.Skip.Skip"; "abjad.tools.scoretools.NoteHead.NoteHead" -> "abjad.tools.scoretools.DrumNoteHead.DrumNoteHead"; "abjad.tools.scoretools.Tuplet.Tuplet" -> "abjad.tools.scoretools.FixedDurationTuplet.FixedDurationTuplet"; } subgraph cluster_builtins { graph [label=builtins]; "builtins.object" [color=2, group=1, label=object, shape=box]; } "abjad.tools.abctools.AbjadObject.AbjadObject" -> "abjad.tools.datastructuretools.TypedCollection.TypedCollection"; "abjad.tools.abctools.AbjadObject.AbjadObject" -> "abjad.tools.scoretools.Component.Component"; "abjad.tools.abctools.AbjadObject.AbjadObject" -> "abjad.tools.scoretools.NoteHead.NoteHead"; "abjad.tools.datastructuretools.TypedList.TypedList" -> "abjad.tools.scoretools.NoteHeadInventory.NoteHeadInventory"; "builtins.object" -> "abjad.tools.abctools.AbjadObject.AbstractBase"; }


Abstract Classes

Component Abstract base class from which score components inherit.
Leaf Abstract base class from which leaves inherit.

Containers

Cluster A cluster.
Container An iterable container of music.
FixedDurationContainer A fixed-duration container.
FixedDurationTuplet A tuplet with fixed duration and variable multiplier.
GraceContainer A grace container.
Measure A measure.
Tuplet A tuplet.

Contexts

Context A horizontal layer of music.
Score A score.
Staff A staff.
StaffGroup A staff group.
Voice A musical voice.

Leaves

Chord A chord.
MultimeasureRest A multimeasure rest.
Note A note.
Rest A rest.
Skip A LilyPond skip.

Note heads

DrumNoteHead A drum note head.
NoteHead A note head.
NoteHeadInventory An ordered list of note heads.

Functions

append_spacer_skip_to_underfull_measure Append spacer skip to underfull measure:
append_spacer_skips_to_underfull_measures_in_expr Append spacer skips to underfull measures in expr:
apply_full_measure_tuplets_to_contents_of_measures_in_expr Applies full-measure tuplets to contents of measures in expr:
extend_measures_in_expr_and_apply_full_measure_tuplets Extend measures in expr with supplement and apply full-measure
fill_measures_in_expr_with_full_measure_spacer_skips Fill measures in expr with full-measure spacer skips.
fill_measures_in_expr_with_minimal_number_of_notes Fills measures in expr with minimal number of notes that decrease
fill_measures_in_expr_with_repeated_notes Fill measures in expr with repeated notes.
fill_measures_in_expr_with_time_signature_denominator_notes Fill measures in expr with time signature denominator notes:
get_measure Gets measure measure_number in expr.
get_measure_that_starts_with_container Get measure that starts with container.
get_measure_that_stops_with_container Get measure that stops with container.
get_next_measure_from_component Get next measure from component.
get_previous_measure_from_component Get previous measure from component.
make_empty_piano_score Make empty piano score:
make_leaves Makes leaves.
make_leaves_from_talea Makes leaves from talea.
make_multimeasure_rests Make multi-measure rests from durations:
make_multiplied_quarter_notes Make quarter notes with pitches and multiplied_durations:
make_notes Makes notes according to pitches and durations.
make_notes_with_multiplied_durations Make written_duration notes with pitch and multiplied_durations:
make_percussion_note Makes short note with max_note_duration followed by rests together totaling total_duration.
make_piano_score_from_leaves Make piano score from leaves:
make_piano_sketch_score_from_leaves Make piano sketch score from leaves:
make_repeated_notes Make count repeated notes with note head-assignable duration:
make_repeated_notes_from_time_signature Make repeated notes from time_signature:
make_repeated_notes_from_time_signatures Make repated notes from time_signatures:
make_repeated_notes_with_shorter_notes_at_end Makes repeated notes with pitch and written_duration summing to total_duration under prolation.
make_repeated_rests_from_time_signatures Make repeated rests from time_signatures:
make_repeated_skips_from_time_signatures Make repeated skips from time_signatures:
make_rests Make rests.
make_skips Make written_duration skips with multiplied_durations:
make_spacer_skip_measures Makes measures with full-measure spacer skips from time_signatures.
make_tied_leaf Makes tied kind with duration.
move_full_measure_tuplet_prolation_to_measure_time_signature Moves prolation of full-measure tuplet to time signature of measure.
move_measure_prolation_to_full_measure_tuplet Move measure prolation to full-measure tuplet.
scale_measure_denominator_and_adjust_measure_contents Scales power-of-two measure to non-power-of-two measure
set_measure_denominator_and_adjust_numerator Set measure time signature denominator and multiply time signature numerator accordingly: