SegmentMaker

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0]; edge [color=lightslategrey, penwidth=1]; subgraph "cluster_abjad.segments" { graph [label="abjad.segments"]; node [color=1]; "abjad.segments.SegmentMaker.SegmentMaker" [URL="../api/abjad/segments/SegmentMaker.html#abjad.segments.SegmentMaker.SegmentMaker", color=black, fontcolor=white, label="Segment\nMaker", target=_top]; } subgraph "cluster_abjad.system" { graph [label="abjad.system"]; node [color=2]; "abjad.system.AbjadObject.AbjadObject" [URL="../api/abjad/segments/../system/AbjadObject.html#abjad.system.AbjadObject.AbjadObject", label="Abjad\nObject", target=_top]; } subgraph cluster_builtins { graph [label=builtins]; node [color=3]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; } "abjad.system.AbjadObject.AbjadObject" -> "abjad.segments.SegmentMaker.SegmentMaker"; "builtins.object" -> "abjad.system.AbjadObject.AbjadObject"; }

class abjad.segments.SegmentMaker.SegmentMaker

Segment-maker.


Attributes Summary

__eq__ Is true if expr is a segment-maker with equivalent properties.
__hash__ Hashes segment-maker.
__illustrate__ Illustrates segment-maker.
environment Gets environment.
metadata Gets segment metadata after run.
run Runs segment-maker.
score Gets score.
segment_directory Gets segment directory.
segment_name Gets segment name.

Special methods

__eq__(expr)

Is true if expr is a segment-maker with equivalent properties.

(AbjadObject).__format__(format_specification='')

Formats Abjad object.

Set format_specification to '' or 'storage'. Interprets '' equal to 'storage'.

Returns string.

__hash__()

Hashes segment-maker.

__illustrate__(**keywords)

Illustrates segment-maker.

Return type:LilyPondFile
(AbjadObject).__repr__()

Gets interpreter representation of Abjad object.

Returns string.


Methods

run(deactivate=None, environment=None, metadata=None, midi=None, previous_metadata=None, remove=None, segment_directory=None)

Runs segment-maker.

Return type:LilyPondFile

Read-only properties

environment

Gets environment.

Return type:Optional[str]
metadata

Gets segment metadata after run.

Return type:Optional[OrderedDict]
score

Gets score.

Return type:Optional[Score]
segment_directory

Gets segment directory.

Return type:Optional[Path]
segment_name

Gets segment name.

Return type:Optional[str]