mutwo.abjad_parameters§

Object

Documentation

mutwo.abjad_parameters.Arpeggio

mutwo.abjad_parameters.Articulation

mutwo.abjad_parameters.Trill

mutwo.abjad_parameters.Cue

mutwo.abjad_parameters.WoodwindFingering

mutwo.abjad_parameters.Tremolo

mutwo.abjad_parameters.ArtificalHarmonic

mutwo.abjad_parameters.PreciseNaturalHarmonic

mutwo.abjad_parameters.StringContactPoint

mutwo.abjad_parameters.Pedal

mutwo.abjad_parameters.Hairpin

mutwo.abjad_parameters.BartokPizzicato

mutwo.abjad_parameters.BreathMark

mutwo.abjad_parameters.Fermata

mutwo.abjad_parameters.NaturalHarmonic

mutwo.abjad_parameters.Prall

mutwo.abjad_parameters.Tie

mutwo.abjad_parameters.DurationLineTriller

mutwo.abjad_parameters.DurationLineDashed

mutwo.abjad_parameters.Glissando

mutwo.abjad_parameters.BendAfter

mutwo.abjad_parameters.LaissezVibrer

mutwo.abjad_parameters.BarLine

mutwo.abjad_parameters.Clef

mutwo.abjad_parameters.Ottava

mutwo.abjad_parameters.Markup

mutwo.abjad_parameters.RehearsalMark

mutwo.abjad_parameters.MarginMarkup

mutwo.abjad_parameters.Ornamentation

mutwo.abjad_parameters.Dynamic

Dynamic(dynamic_indicator: str = ‘mf’)

mutwo.abjad_parameters.Tempo

Tempo(reference_duration: Optional[tuple[int, int]] = (1, 4), units_per_minute: Union[int, tuple[int, int], NoneType] = 60, textual_indication: Optional[str] = None, dynamic_change_indication: Optional[str] = None, stop_dynamic_change_indicaton: bool = False, print_metronome_mark: bool = True)

mutwo.abjad_parameters.DynamicChangeIndicationStop

mutwo.abjad_parameters.GraceNoteSequentialEvent

mutwo.abjad_parameters.AfterGraceNoteSequentialEvent

class Arpeggio(direction=None)[source]§

Public Data Attributes:

Inherited from Arpeggio

direction

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from Arpeggio

__init__([direction])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__([direction])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([direction])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_string_to_direction

_abc_impl

Inherited from Arpeggio

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

direction (Optional[Literal['up', 'down']]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

direction: Optional[Literal['up', 'down']] = None§
property is_active: bool§
class Articulation(name=None)[source]§

Public Data Attributes:

Inherited from Articulation

name

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from Articulation

__init__([name])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__([name])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([name])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangEachAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from Articulation

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangEachAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

name (Optional[Literal['accent', 'marcato', 'staccatissimo', 'espressivo', 'staccato', 'tenuto', 'portato', 'upbow', 'downbow', 'flageolet', 'thumb', 'lheel', 'rheel', 'ltoe', 'rtoe', 'open', 'halfopen', 'snappizzicato', 'stopped', 'turn', 'reverseturn', 'trill', 'prall', 'mordent', 'prallprall', 'prallmordent', 'upprall', 'downprall', 'upmordent', 'downmordent', 'pralldown', 'prallup', 'lineprall', 'signumcongruentiae', 'shortfermata', 'fermata', 'longfermata', 'verylongfermata', 'segno', 'coda', 'varcoda', '^', '+', '-', '|', '>', '.', '_']]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
name: Optional[Literal['accent', 'marcato', 'staccatissimo', 'espressivo', 'staccato', 'tenuto', 'portato', 'upbow', 'downbow', 'flageolet', 'thumb', 'lheel', 'rheel', 'ltoe', 'rtoe', 'open', 'halfopen', 'snappizzicato', 'stopped', 'turn', 'reverseturn', 'trill', 'prall', 'mordent', 'prallprall', 'prallmordent', 'upprall', 'downprall', 'upmordent', 'downmordent', 'pralldown', 'prallup', 'lineprall', 'signumcongruentiae', 'shortfermata', 'fermata', 'longfermata', 'verylongfermata', 'segno', 'coda', 'varcoda', '^', '+', '-', '|', '>', '.', '_']] = None§
class Trill(pitch=None)[source]§

Public Data Attributes:

Inherited from Trill

pitch

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from Trill

__init__([pitch])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__([pitch])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([pitch])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from Trill

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

pitch (Optional[Pitch]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
pitch: Optional[Pitch] = None§
class Cue(cue_count=None)[source]§

Public Data Attributes:

Inherited from Cue

cue_count

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from Cue

__init__([cue_count])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__([cue_count])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([cue_count])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from Cue

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

cue_count (Optional[int]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

cue_count: Optional[int] = None§
property is_active: bool§
class WoodwindFingering(cc=None, left_hand=None, right_hand=None, instrument='clarinet')[source]§

Public Data Attributes:

fingering_size

Inherited from WoodwindFingering

cc

left_hand

right_hand

instrument

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from WoodwindFingering

__init__([cc, left_hand, right_hand, instrument])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__([cc, left_hand, right_hand, instrument])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([cc, left_hand, right_hand, instrument])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from WoodwindFingering

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:
  • cc (Optional[Tuple[str, ...]]) –

  • left_hand (Optional[Tuple[str, ...]]) –

  • right_hand (Optional[Tuple[str, ...]]) –

  • instrument (str) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

cc: Optional[Tuple[str, ...]] = None§
fingering_size = 0.7§
instrument: str = 'clarinet'§
property is_active: bool§
left_hand: Optional[Tuple[str, ...]] = None§
right_hand: Optional[Tuple[str, ...]] = None§
class Tremolo(n_flags=None)[source]§

Public Data Attributes:

Inherited from Tremolo

n_flags

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from Tremolo

__init__([n_flags])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__([n_flags])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([n_flags])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangEachAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from Tremolo

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangEachAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

n_flags (Optional[int]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
n_flags: Optional[int] = None§
class ArtificalHarmonic(n_semitones=None)[source]§

Public Data Attributes:

Inherited from ArtificalHarmonic

n_semitones

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from ArtificalHarmonic

__init__([n_semitones])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__([n_semitones])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([n_semitones])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangEachAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from ArtificalHarmonic

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangEachAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

n_semitones (Optional[int]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
n_semitones: Optional[int] = None§
class PreciseNaturalHarmonic(string_pitch=None, played_pitch=None, harmonic_note_head_style=True, parenthesize_lower_note_head=False)[source]§

Public Data Attributes:

Inherited from PreciseNaturalHarmonic

string_pitch

played_pitch

harmonic_note_head_style

parenthesize_lower_note_head

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from PreciseNaturalHarmonic

__init__([string_pitch, played_pitch, ...])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__([string_pitch, played_pitch, ...])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([string_pitch, played_pitch, ...])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangEachAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from PreciseNaturalHarmonic

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangEachAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:
  • string_pitch (Optional[WesternPitch]) –

  • played_pitch (Optional[WesternPitch]) –

  • harmonic_note_head_style (bool) –

  • parenthesize_lower_note_head (bool) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

harmonic_note_head_style: bool = True§
property is_active: bool§
parenthesize_lower_note_head: bool = False§
played_pitch: Optional[WesternPitch] = None§
string_pitch: Optional[WesternPitch] = None§
class StringContactPoint(*args, **kwargs)[source]§

Public Data Attributes:

Inherited from StringContactPoint

contact_point

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

__init__(*args, **kwargs)

process_leaf(leaf, previous_attachment)

process_leaf_tuple(leaf_tuple, ...)

Inherited from StringContactPoint

__init__(*args, **kwargs)

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__(*args, **kwargs)

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__(*args, **kwargs)

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ToggleAttachment

process_leaf(leaf, previous_attachment)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from StringContactPoint

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from ToggleAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_leaf(leaf, previous_attachment)[source]§
Parameters:
Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)[source]§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

contact_point: Optional[Literal['dietro ponticello', 'molto sul ponticello', 'molto sul tasto', 'ordinario', 'pizzicato', 'ponticello', 'sul ponticello', 'sul tasto', 'col legno tratto', 'd.p.', 'm.s.p', 'm.s.t.', 'ord.', 'pizz.', 'p.', 's.p.', 's.t.', 'c.l.t.']] = None§
property is_active: bool§
class Pedal(pedal_type=None, pedal_activity=True)[source]§

Public Data Attributes:

Inherited from Pedal

pedal_type

pedal_activity

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf, previous_attachment)

process_leaf_tuple(leaf_tuple, ...)

Inherited from Pedal

__init__([pedal_type, pedal_activity])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__([pedal_type, pedal_activity])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([pedal_type, pedal_activity])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ToggleAttachment

process_leaf(leaf, previous_attachment)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from Pedal

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from ToggleAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:
  • pedal_type (Optional[Literal['sustain', 'sostenuto', 'corda']]) –

  • pedal_activity (Optional[bool]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_leaf(leaf, previous_attachment)[source]§
Parameters:
Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)[source]§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
pedal_activity: Optional[bool] = True§
pedal_type: Optional[Literal['sustain', 'sostenuto', 'corda']] = None§
class Hairpin(symbol=None, niente=False)[source]§

Public Data Attributes:

niente_literal

Inherited from Hairpin

symbol

niente

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf, _)

process_leaf_tuple(leaf_tuple, ...)

Inherited from Hairpin

__init__([symbol, niente])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__([symbol, niente])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([symbol, niente])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ToggleAttachment

process_leaf(leaf, _)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from Hairpin

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from ToggleAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:
  • symbol (Optional[Literal['<', '>', '<>', '!']]) –

  • niente (bool) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_leaf(leaf, _)[source]§
Parameters:
Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)[source]§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
niente: bool = False§
niente_literal = LilyPondLiteral('\\once \\override Hairpin.circled-tip = ##t', format_slot='opening')§
symbol: Optional[Literal['<', '>', '<>', '!']] = None§
class BartokPizzicato(is_active=False)[source]§

Public Data Attributes:

Inherited from ExplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from ExplicitPlayingIndicator

__init__([is_active])

__repr__()

Return repr(self).

get_arguments_dict()

Inherited from Indicator

get_arguments_dict()

__init__([is_active])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from ExplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

is_active (bool) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
class BreathMark(is_active=False)[source]§

Public Data Attributes:

Inherited from ExplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from ExplicitPlayingIndicator

__init__([is_active])

__repr__()

Return repr(self).

get_arguments_dict()

Inherited from Indicator

get_arguments_dict()

__init__([is_active])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from ExplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

is_active (bool) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
class Fermata(fermata_type=None)[source]§

Public Data Attributes:

Inherited from Fermata

fermata_type

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from Fermata

__init__([fermata_type])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__([fermata_type])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([fermata_type])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from Fermata

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

fermata_type (Optional[Literal['shortfermata', 'fermata', 'longfermata', 'verylongfermata']]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

fermata_type: Optional[Literal['shortfermata', 'fermata', 'longfermata', 'verylongfermata']] = None§
property is_active: bool§
class NaturalHarmonic(is_active=False)[source]§

Public Data Attributes:

Inherited from ExplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from ExplicitPlayingIndicator

__init__([is_active])

__repr__()

Return repr(self).

get_arguments_dict()

Inherited from Indicator

get_arguments_dict()

__init__([is_active])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from ExplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

is_active (bool) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
class Prall(is_active=False)[source]§

Public Data Attributes:

Inherited from ExplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from ExplicitPlayingIndicator

__init__([is_active])

__repr__()

Return repr(self).

get_arguments_dict()

Inherited from Indicator

get_arguments_dict()

__init__([is_active])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from ExplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

is_active (bool) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
class Tie(is_active=False)[source]§

Public Data Attributes:

Inherited from ExplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from ExplicitPlayingIndicator

__init__([is_active])

__repr__()

Return repr(self).

get_arguments_dict()

Inherited from Indicator

get_arguments_dict()

__init__([is_active])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangLastAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from ExplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangLastAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

is_active (bool) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
class DurationLineTriller(is_active=False)[source]§

Public Data Attributes:

Inherited from ExplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from ExplicitPlayingIndicator

__init__([is_active])

__repr__()

Return repr(self).

get_arguments_dict()

Inherited from Indicator

get_arguments_dict()

__init__([is_active])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangEachAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from ExplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangEachAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

is_active (bool) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
class DurationLineDashed(is_active=False)[source]§

Public Data Attributes:

Inherited from ExplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from ExplicitPlayingIndicator

__init__([is_active])

__repr__()

Return repr(self).

get_arguments_dict()

Inherited from Indicator

get_arguments_dict()

__init__([is_active])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangEachAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from ExplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangEachAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

is_active (bool) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
class Glissando(is_active=False)[source]§

Public Data Attributes:

thickness

minimum_length

Inherited from ExplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from ExplicitPlayingIndicator

__init__([is_active])

__repr__()

Return repr(self).

get_arguments_dict()

Inherited from Indicator

get_arguments_dict()

__init__([is_active])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangLastAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from ExplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangLastAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

is_active (bool) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
minimum_length = 5§
thickness = 3§
class BendAfter(bend_amount=None, minimum_length=3, thickness=3)[source]§

Public Data Attributes:

Inherited from BendAfter

bend_amount

minimum_length

thickness

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from BendAfter

__init__([bend_amount, minimum_length, ...])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__([bend_amount, minimum_length, ...])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([bend_amount, minimum_length, ...])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangLastAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from BendAfter

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangLastAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:
  • bend_amount (Optional[float]) –

  • minimum_length (Optional[float]) –

  • thickness (Optional[float]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

bend_amount: Optional[float] = None§
property is_active: bool§
minimum_length: Optional[float] = 3§
thickness: Optional[float] = 3§
class LaissezVibrer(is_active=False)[source]§

Public Data Attributes:

Inherited from ExplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from ExplicitPlayingIndicator

__init__([is_active])

__repr__()

Return repr(self).

get_arguments_dict()

Inherited from Indicator

get_arguments_dict()

__init__([is_active])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangLastAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from ExplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangLastAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

is_active (bool) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
class BarLine(abbreviation=None)[source]§

Public Data Attributes:

Inherited from BarLine

abbreviation

Inherited from NotationIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from BarLine

__init__([abbreviation])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([abbreviation])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangLastAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from BarLine

_abc_impl

Inherited from NotationIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangLastAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

abbreviation (Optional[str]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

abbreviation: Optional[str] = None§
property is_active: bool§
class Clef(name=None)[source]§

Public Data Attributes:

Inherited from Clef

name

Inherited from NotationIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from Clef

__init__([name])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([name])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from Clef

_abc_impl

Inherited from NotationIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

name (Optional[str]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
name: Optional[str] = None§
class Ottava(n_octaves=0)[source]§

Public Data Attributes:

Inherited from Ottava

n_octaves

Inherited from NotationIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf, previous_attachment)

process_leaf_tuple(leaf_tuple, ...)

Inherited from Ottava

__init__([n_octaves])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([n_octaves])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ToggleAttachment

process_leaf(leaf, previous_attachment)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from Ottava

_abc_impl

Inherited from NotationIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from ToggleAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

n_octaves (Optional[int]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_leaf(leaf, previous_attachment)[source]§
Parameters:
Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)[source]§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
n_octaves: Optional[int] = 0§
class Markup(content=None, direction=None)[source]§

Public Data Attributes:

Inherited from Markup

content

direction

Inherited from NotationIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from Markup

__init__([content, direction])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([content, direction])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from Markup

_abc_impl

Inherited from NotationIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:
  • content (Optional[str]) –

  • direction (Optional[str]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

content: Optional[str] = None§
direction: Optional[str] = None§
property is_active: bool§
class RehearsalMark(markup=None)[source]§

Public Data Attributes:

Inherited from RehearsalMark

markup

Inherited from NotationIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from RehearsalMark

__init__([markup])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([markup])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from RehearsalMark

_abc_impl

Inherited from NotationIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

markup (Optional[str]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
markup: Optional[str] = None§
class MarginMarkup(content=None, context='Staff')[source]§

Public Data Attributes:

Inherited from MarginMarkup

content

context

Inherited from NotationIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from MarginMarkup

__init__([content, context])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([content, context])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from MarginMarkup

_abc_impl

Inherited from NotationIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:
  • content (Optional[str]) –

  • context (Optional[str]) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

content: Optional[str] = None§
context: Optional[str] = 'Staff'§
property is_active: bool§
class Ornamentation(direction=None, n_times=1)[source]§

Public Data Attributes:

Inherited from Ornamentation

direction

n_times

Inherited from ImplicitPlayingIndicator

is_active

Inherited from Indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

process_leaf(leaf)

Inherited from Ornamentation

__init__([direction, n_times])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ImplicitPlayingIndicator

__init__([direction, n_times])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from Indicator

get_arguments_dict()

__init__([direction, n_times])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Initialize AbjadAttachment from IndicatorCollection.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_direction_to_ornamentation_command

_abc_impl

Inherited from Ornamentation

_abc_impl

Inherited from ImplicitPlayingIndicator

_abc_impl

Inherited from PlayingIndicator

_abc_impl

Inherited from Indicator

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:
  • direction (Optional[Literal['up', 'down']]) –

  • n_times (int) –

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

get_arguments_dict()§
Return type:

dict[str, Any]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

direction: Optional[Literal['up', 'down']] = None§
property is_active: bool§
n_times: int = 1§
class Dynamic(dynamic_indicator: str = 'mf')[source]§

Public Data Attributes:

dynamic_indicator

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

from_indicator_collection(indicator_collection)

Always return None.

process_leaf(leaf, previous_attachment)

__init__([dynamic_indicator])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from ToggleAttachment

process_leaf(leaf, previous_attachment)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Always return None.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from ToggleAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

dynamic_indicator (str) –

classmethod from_indicator_collection(indicator_collection)[source]§

Always return None.

Dynamic can’t be initialised from IndicatorCollection.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

classmethod get_class_name()§
process_leaf(leaf, previous_attachment)[source]§
Parameters:
Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

dynamic_indicator: str = 'mf'§
property is_active: bool§
class Tempo(reference_duration: Optional[tuple[int, int]] = (1, 4), units_per_minute: Union[int, tuple[int, int], NoneType] = 60, textual_indication: Optional[str] = None, dynamic_change_indication: Optional[str] = None, stop_dynamic_change_indicaton: bool = False, print_metronome_mark: bool = True)[source]§

Public Methods:

from_indicator_collection(indicator_collection)

Always return None.

process_leaf(leaf)

__init__([reference_duration, ...])

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Always return None.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:
  • reference_duration (Optional[tuple[int, int]]) –

  • units_per_minute (Optional[Union[int, tuple[int, int]]]) –

  • textual_indication (Optional[str]) –

  • dynamic_change_indication (Optional[str]) –

  • stop_dynamic_change_indicaton (bool) –

  • print_metronome_mark (bool) –

classmethod from_indicator_collection(indicator_collection)[source]§

Always return None.

Tempo can’t be initialised from IndicatorCollection.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

dynamic_change_indication: Optional[str] = None§
property is_active: bool§
print_metronome_mark: bool = True§
reference_duration: Optional[tuple[int, int]] = (1, 4)§
stop_dynamic_change_indicaton: bool = False§
textual_indication: Optional[str] = None§
units_per_minute: Optional[Union[int, tuple[int, int]]] = 60§
class DynamicChangeIndicationStop[source]§

Public Data Attributes:

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

from_indicator_collection(indicator_collection)

Always return None.

process_leaf(leaf)

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Always return None.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


classmethod from_indicator_collection(indicator_collection)[source]§

Always return None.

DynamicChangeIndicationStop can’t be initialised from IndicatorCollection.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
class GraceNoteSequentialEvent(grace_note_sequential_event)[source]§

Public Data Attributes:

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

__init__(grace_note_sequential_event)

from_indicator_collection(indicator_collection)

Always return None.

process_leaf(leaf)

Inherited from BangFirstAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Always return None.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from BangFirstAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

grace_note_sequential_event (BeforeGraceContainer) –

classmethod from_indicator_collection(indicator_collection)[source]§

Always return None.

GraceNoteSequentialEvent can’t be initialised from IndicatorCollection.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§
class AfterGraceNoteSequentialEvent(after_grace_note_sequential_event)[source]§

Public Data Attributes:

is_active

Inherited from AbjadAttachment

is_active

Public Methods:

__init__(after_grace_note_sequential_event)

from_indicator_collection(indicator_collection)

Always return None.

process_leaf(leaf)

Inherited from BangLastAttachment

process_leaf(leaf)

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from BangAttachment

process_first_leaf(leaf)

process_last_leaf(leaf)

process_central_leaf(leaf)

process_leaf_tuple(leaf_tuple, ...)

Inherited from AbjadAttachment

get_class_name()

from_indicator_collection(indicator_collection)

Always return None.

process_leaf_tuple(leaf_tuple, ...)

Private Data Attributes:

_abc_impl

Inherited from BangLastAttachment

_abc_impl

Inherited from BangAttachment

_abc_impl

Inherited from AbjadAttachment

_abc_impl

Inherited from ABC

_abc_impl


Parameters:

after_grace_note_sequential_event (AfterGraceContainer) –

classmethod from_indicator_collection(indicator_collection)[source]§

Always return None.

AfterGraceNoteSequentialEvent can’t be initialised from IndicatorCollection.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

classmethod get_class_name()§
process_central_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_first_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_last_leaf(leaf)§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

property is_active: bool§

mutwo.abjad_parameters.abc§

class AbjadAttachment[source]§

Abstract base class for all Abjad attachments.

classmethod from_indicator_collection(indicator_collection)[source]§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

classmethod get_class_name()[source]§
abstract process_leaf_tuple(leaf_tuple, previous_attachment)[source]§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

abstract property is_active: bool§
class BangAttachment[source]§

Abstract base class for Abjad attachments which behave like a bang.

In Western notation one can differentiate between elements which only get notated if they change (for instance dynamics, tempo) and elements which have to be notated again and again to be effective (for instance arpeggi or tremolo). Attachments that inherit from BangAttachment represent elements which have to be notated again and again to be effective.

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

classmethod get_class_name()§
abstract process_central_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Leaf

abstract process_first_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Leaf

abstract process_last_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_leaf_tuple(leaf_tuple, previous_attachment)[source]§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

abstract property is_active: bool§
class BangEachAttachment[source]§
classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

classmethod get_class_name()§
process_central_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

abstract process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

abstract property is_active: bool§
class BangFirstAttachment[source]§
classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

classmethod get_class_name()§
process_central_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_first_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_last_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

abstract process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

abstract property is_active: bool§
class BangLastAttachment[source]§
classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

classmethod get_class_name()§
process_central_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_first_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Leaf

process_last_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Leaf

abstract process_leaf(leaf)[source]§
Parameters:

leaf (Leaf) –

Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)[source]§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

abstract property is_active: bool§
class ToggleAttachment[source]§

Abstract base class for Abjad attachments which behave like a toggle.

In Western notation one can differentiate between elements which only get notated if they change (for instance dynamics, tempo) and elements which have to be notated again and again (for instance arpeggi or tremolo). Attachments that inherit from ToggleAttachment represent elements which only get notated if their value changes.

classmethod from_indicator_collection(indicator_collection)§

Initialize AbjadAttachment from IndicatorCollection.

If no suitable Indicator could be found in the collection the method will simply return None.

Parameters:

indicator_collection (IndicatorCollection) –

Return type:

Optional[AbjadAttachment]

classmethod get_class_name()§
abstract process_leaf(leaf, previous_attachment)[source]§
Parameters:
Return type:

Union[Leaf, Sequence[Leaf]]

process_leaf_tuple(leaf_tuple, previous_attachment)[source]§
Parameters:
  • leaf_tuple (tuple[abjad.score.Leaf, ...]) –

  • previous_attachment (Optional[AbjadAttachment]) –

Return type:

tuple[abjad.score.Leaf, …]

abstract property is_active: bool§

mutwo.abjad_parameters.configurations§

Configure `mutwo.abjad_parameters

CUSTOM_STRING_CONTACT_POINT_DICT = {'col legno tratto': 'c.l.t.'}§

Extends the predefined string contact points from abjad.StringContactPoint.

The dict has the form {string_contact_point: abbreviation}. It is used in the class StringContactPoint. You can override or update the default value of the variable to insert your own custom string contact points:

>>> from mutwo import abjad_parameters
>>> abjad_parameters.configurations.CUSTOM_STRING_CONTACT_POINT_DICT.update({"ebow": "eb"})

mutwo.abjad_parameters.constants§

Constants to be used in `mutwo.abjad_parameters

INDICATORS_TO_DETACH_FROM_MAIN_LEAF_AT_GRACE_NOTES_TUPLE = (<class 'abjad.indicators.TimeSignature.TimeSignature'>,)§

This is used in mutwo.abjad_parameters.GraceNotes.

Some indicators have to be detached from the main note and added to the first grace note, otherwise the resulting notation will first print the grace notes and afterwards the indicator (which is ugly and looks buggy).