mutwo.abjad_parameters¶
Object |
Documentation |
---|---|
Dynamic(indicator: ‘typing.Optional[music_parameters.abc.PlayingIndicator | music_parameters.abc.NotationIndicator]’ = None, is_chronon_rest: ‘typing.Optional[typing.Callable[[core_events.Chronon], bool]]’ = None, mutwo_pitch_to_abjad_pitch: ‘typing.Optional[typing.Callable[[music_parameters.abc.Pitch], abjad.Pitch]]’ = None, mutwo_volume_to_abjad_attachment_dynamic: ‘typing.Optional[typing.Callable[[music_parameters.abc.Volume], abjad.Dynamic]]’ = None, mutwo_lyric_to_abjad_string: ‘typing.Optional[typing.Callable[[music_parameters.abc.Lyric], str]]’ = None, with_duration_line: ‘bool’ = False, dynamic_indicator: str = ‘mf’) |
|
Tempo(indicator: ‘typing.Optional[music_parameters.abc.PlayingIndicator | music_parameters.abc.NotationIndicator]’ = None, is_chronon_rest: ‘typing.Optional[typing.Callable[[core_events.Chronon], bool]]’ = None, mutwo_pitch_to_abjad_pitch: ‘typing.Optional[typing.Callable[[music_parameters.abc.Pitch], abjad.Pitch]]’ = None, mutwo_volume_to_abjad_attachment_dynamic: ‘typing.Optional[typing.Callable[[music_parameters.abc.Volume], abjad.Dynamic]]’ = None, mutwo_lyric_to_abjad_string: ‘typing.Optional[typing.Callable[[music_parameters.abc.Lyric], str]]’ = None, with_duration_line: ‘bool’ = False, reference_duration: Optional[tuple[int, int]] = (1, 4), units_per_minute: int | tuple[int, int] | None = 60, textual_indication: Optional[str] = None, dynamic_change_indication: Optional[str] = None, stop_dynamic_change_indicaton: bool = False, print_metronome_mark: bool = True) |
|
- class Arpeggio(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class Articulation(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangEachAttachment
Public Data Attributes:
Public Methods:
process_leaf
(leaf)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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class Trill(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class Cue(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class WoodwindFingering(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
fingering_size
indicator
is_chronon_rest
mutwo_pitch_to_abjad_pitch
mutwo_volume_to_abjad_attachment_dynamic
mutwo_lyric_to_abjad_string
with_duration_line
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- fingering_size = 0.7¶
- class Tremolo(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangEachAttachment
Public Data Attributes:
Public Methods:
process_leaf
(leaf)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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class ArtificalHarmonic(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangEachAttachment
Public Data Attributes:
Public Methods:
process_leaf
(leaf)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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class NaturalHarmonicNodeList(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
AbjadAttachment
Public Data Attributes:
replace_leaf_by_leaf
disallow_detach_indicator_list
indicator
is_chronon_rest
mutwo_pitch_to_abjad_pitch
mutwo_volume_to_abjad_attachment_dynamic
mutwo_lyric_to_abjad_string
with_duration_line
Public Methods:
process_leaf_tuple
(leaf_tuple, ...)Inherited from
AbjadAttachment
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- process_leaf_tuple(leaf_tuple, previous_attachment)[source]¶
- Parameters:
leaf_tuple (tuple[abjad.score.Leaf, ...]) –
previous_attachment (Optional[AbjadAttachment]) –
- Return type:
Sequence[Leaf]
- disallow_detach_indicator_list = [LilyPondLiteral(argument='\\-', site='after', directed=False)]¶
- replace_leaf_by_leaf = False¶
- class StringContactPoint(*args, **kwargs)[source]¶
Bases:
ToggleAttachment
Public Data Attributes:
Public Methods:
process_leaf
(leaf, previous_attachment)process_leaf_tuple
(leaf_tuple, ...)Inherited from
ToggleAttachment
process_leaf
(leaf, previous_attachment)process_leaf_tuple
(leaf_tuple, ...)Inherited from
AbjadAttachment
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- process_leaf(leaf, previous_attachment)[source]¶
- Parameters:
leaf (Leaf) –
previous_attachment (Optional[AbjadAttachment]) –
- 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, …]
- class Pedal(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
ToggleAttachment
Public Data Attributes:
Public Methods:
process_leaf
(leaf, previous_attachment)process_leaf_tuple
(leaf_tuple, ...)Inherited from
ToggleAttachment
process_leaf
(leaf, previous_attachment)process_leaf_tuple
(leaf_tuple, ...)Inherited from
AbjadAttachment
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- process_leaf(leaf, previous_attachment)[source]¶
- Parameters:
leaf (Leaf) –
previous_attachment (Optional[AbjadAttachment]) –
- 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, …]
- class Slur(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
ToggleAttachment
Public Data Attributes:
Public Methods:
process_leaf
(leaf, previous_attachment)Inherited from
ToggleAttachment
process_leaf
(leaf, previous_attachment)process_leaf_tuple
(leaf_tuple, ...)Inherited from
AbjadAttachment
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- process_leaf(leaf, previous_attachment)[source]¶
- Parameters:
leaf (Leaf) –
previous_attachment (Optional[AbjadAttachment]) –
- Return type:
Union[Leaf, Sequence[Leaf]]
- class Hairpin(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
ToggleAttachment
Public Data Attributes:
niente_literal
indicator
is_chronon_rest
mutwo_pitch_to_abjad_pitch
mutwo_volume_to_abjad_attachment_dynamic
mutwo_lyric_to_abjad_string
with_duration_line
Public Methods:
process_leaf
(leaf, _)process_leaf_tuple
(leaf_tuple, ...)Inherited from
ToggleAttachment
process_leaf
(leaf, previous_attachment)process_leaf_tuple
(leaf_tuple, ...)Inherited from
AbjadAttachment
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- process_leaf(leaf, _)[source]¶
- Parameters:
leaf (Leaf) –
_ (Optional[AbjadAttachment]) –
- 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, …]
- niente_literal = LilyPondLiteral(argument='\\once \\override Hairpin.circled-tip = ##t', site='opening', directed=False)¶
- class BartokPizzicato(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class BreathMark(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class Fermata(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class Prall(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class Tie(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangLastAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class DurationLineTriller(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangEachAttachment
Public Data Attributes:
Public Methods:
process_leaf
(leaf)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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class DurationLineDashed(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangEachAttachment
Public Data Attributes:
Public Methods:
process_leaf
(leaf)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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class Glissando(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangLastAttachment
Public Data Attributes:
thickness
minimum_length
indicator
is_chronon_rest
mutwo_pitch_to_abjad_pitch
mutwo_volume_to_abjad_attachment_dynamic
mutwo_lyric_to_abjad_string
with_duration_line
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- minimum_length = 5¶
- thickness = 3¶
- class BendAfter(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangLastAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class LaissezVibrer(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangLastAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class BarLine(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangLastAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class Clef(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class Ottava(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
ToggleAttachment
Public Data Attributes:
Public Methods:
process_leaf
(leaf, previous_attachment)process_leaf_tuple
(leaf_tuple, ...)Inherited from
ToggleAttachment
process_leaf
(leaf, previous_attachment)process_leaf_tuple
(leaf_tuple, ...)Inherited from
AbjadAttachment
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- process_leaf(leaf, previous_attachment)[source]¶
- Parameters:
leaf (Leaf) –
previous_attachment (Optional[AbjadAttachment]) –
- 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, …]
- class Markup(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class RehearsalMark(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class MarginMarkup(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class Ornamentation(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
Public Methods:
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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- class Dynamic(indicator: 'typing.Optional[music_parameters.abc.PlayingIndicator | music_parameters.abc.NotationIndicator]' = None, is_chronon_rest: 'typing.Optional[typing.Callable[[core_events.Chronon], bool]]' = None, mutwo_pitch_to_abjad_pitch: 'typing.Optional[typing.Callable[[music_parameters.abc.Pitch], abjad.Pitch]]' = None, mutwo_volume_to_abjad_attachment_dynamic: 'typing.Optional[typing.Callable[[music_parameters.abc.Volume], abjad.Dynamic]]' = None, mutwo_lyric_to_abjad_string: 'typing.Optional[typing.Callable[[music_parameters.abc.Lyric], str]]' = None, with_duration_line: 'bool' = False, dynamic_indicator: str = 'mf')[source]¶
Bases:
ToggleAttachment
Public Data Attributes:
dynamic_indicator
is_active
indicator
is_chronon_rest
mutwo_pitch_to_abjad_pitch
mutwo_volume_to_abjad_attachment_dynamic
mutwo_lyric_to_abjad_string
with_duration_line
Public Methods:
from_indicator_collection
(...)Always return None.
process_leaf
(leaf, previous_attachment)Inherited from
ToggleAttachment
process_leaf
(leaf, previous_attachment)process_leaf_tuple
(leaf_tuple, ...)Inherited from
AbjadAttachment
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
dynamic_indicator (str) –
- classmethod from_indicator_collection(indicator_collection, **kwargs)[source]¶
Always return None.
Dynamic can’t be initialised from IndicatorCollection.
- Parameters:
indicator_collection (IndicatorCollection) –
- Return type:
Optional[AbjadAttachment]
- process_leaf(leaf, previous_attachment)[source]¶
- Parameters:
leaf (Leaf) –
previous_attachment (Optional[AbjadAttachment]) –
- Return type:
Union[Leaf, Sequence[Leaf]]
- dynamic_indicator: str = 'mf'¶
- property is_active: bool¶
- class Tempo(indicator: 'typing.Optional[music_parameters.abc.PlayingIndicator | music_parameters.abc.NotationIndicator]' = None, is_chronon_rest: 'typing.Optional[typing.Callable[[core_events.Chronon], bool]]' = None, mutwo_pitch_to_abjad_pitch: 'typing.Optional[typing.Callable[[music_parameters.abc.Pitch], abjad.Pitch]]' = None, mutwo_volume_to_abjad_attachment_dynamic: 'typing.Optional[typing.Callable[[music_parameters.abc.Volume], abjad.Dynamic]]' = None, mutwo_lyric_to_abjad_string: 'typing.Optional[typing.Callable[[music_parameters.abc.Lyric], str]]' = None, with_duration_line: 'bool' = False, reference_duration: Optional[tuple[int, int]] = (1, 4), units_per_minute: int | tuple[int, int] | None = 60, textual_indication: Optional[str] = None, dynamic_change_indication: Optional[str] = None, stop_dynamic_change_indicaton: bool = False, print_metronome_mark: bool = True)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
reference_duration
units_per_minute
textual_indication
dynamic_change_indication
stop_dynamic_change_indicaton
print_metronome_mark
is_active
indicator
is_chronon_rest
mutwo_pitch_to_abjad_pitch
mutwo_volume_to_abjad_attachment_dynamic
mutwo_lyric_to_abjad_string
with_duration_line
Public Methods:
from_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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
reference_duration (Optional[tuple[int, int]]) –
units_per_minute (int | tuple[int, int] | None) –
textual_indication (Optional[str]) –
dynamic_change_indication (Optional[str]) –
stop_dynamic_change_indicaton (bool) –
print_metronome_mark (bool) –
- classmethod from_indicator_collection(indicator_collection, **kwargs)[source]¶
Always return None.
Tempo can’t be initialised from IndicatorCollection.
- Parameters:
indicator_collection (IndicatorCollection) –
- Return type:
Optional[AbjadAttachment]
- 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: int | tuple[int, int] | None = 60¶
- class DynamicChangeIndicationStop(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
is_active
Public Methods:
from_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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- classmethod from_indicator_collection(indicator_collection, **kwargs)[source]¶
Always return None.
DynamicChangeIndicationStop can’t be initialised from IndicatorCollection.
- Parameters:
indicator_collection (IndicatorCollection) –
- Return type:
Optional[AbjadAttachment]
- property is_active: bool¶
- class GraceNoteConsecution(grace_note_consecution)[source]¶
Bases:
BangFirstAttachment
Public Data Attributes:
is_active
Public Methods:
from_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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
grace_note_consecution (BeforeGraceContainer) –
- classmethod from_indicator_collection(indicator_collection, **kwargs)[source]¶
Always return None.
GraceNoteConsecution can’t be initialised from IndicatorCollection.
- Parameters:
indicator_collection (IndicatorCollection) –
- Return type:
Optional[AbjadAttachment]
- property is_active: bool¶
- class AfterGraceNoteConsecution(after_grace_note_consecution)[source]¶
Bases:
BangLastAttachment
Public Data Attributes:
is_active
Public Methods:
from_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
Initialize
AbjadAttachment
fromIndicatorCollection
.process_leaf_tuple
(leaf_tuple, ...)
- Parameters:
after_grace_note_consecution (AfterGraceContainer) –
- classmethod from_indicator_collection(indicator_collection, **kwargs)[source]¶
Always return None.
AfterGraceNoteConsecution can’t be initialised from IndicatorCollection.
- Parameters:
indicator_collection (IndicatorCollection) –
- Return type:
Optional[AbjadAttachment]
- property is_active: bool¶
mutwo.abjad_parameters.abc¶
- class AbjadAttachment(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
ABC
Abstract base class for all Abjad attachments.
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- classmethod from_indicator_collection(indicator_collection, **kwargs)[source]¶
Initialize
AbjadAttachment
fromIndicatorCollection
.If no suitable
Indicator
could be found in the collection the method will simply return None.- Parameters:
indicator_collection (IndicatorCollection) –
- Return type:
Optional[AbjadAttachment]
- 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, …]
- indicator: Optional[Union[PlayingIndicator, NotationIndicator]] = None¶
- property is_active: bool¶
- class property replace_leaf_by_leaf: bool¶
Communicate expected return type of process_leaf_tuple
Set to
True
if ‘process_leaf_tuple’ returns a sequence of abjad leaves with an equal length to the provided leaf_tuple and where each new leaf replaces the respective old leaf at the same position. Set toTrue
if ‘process_leaf_tuple’ returns a new abjad object which is set at the position of the old first leaf and if all other old leaves are supposed to be deleted.
- with_duration_line: bool = False¶
- class BangAttachment(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
AbjadAttachment
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.- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- 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, …]
- class BangEachAttachment(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangAttachment
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- process_central_leaf(leaf)[source]¶
- Parameters:
leaf (Leaf) –
- Return type:
Union[Leaf, Sequence[Leaf]]
- class BangFirstAttachment(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangAttachment
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- process_central_leaf(leaf)[source]¶
- Parameters:
leaf (Leaf) –
- Return type:
Union[Leaf, Sequence[Leaf]]
- class BangLastAttachment(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
BangAttachment
- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- 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, …]
- class ToggleAttachment(indicator=None, is_chronon_rest=None, mutwo_pitch_to_abjad_pitch=None, mutwo_volume_to_abjad_attachment_dynamic=None, mutwo_lyric_to_abjad_string=None, with_duration_line=False)[source]¶
Bases:
AbjadAttachment
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.- Parameters:
indicator (Optional[Union[PlayingIndicator, NotationIndicator]]) –
is_chronon_rest (Optional[Callable[[Chronon], bool]]) –
mutwo_pitch_to_abjad_pitch (Optional[Callable[[Pitch], Pitch]]) –
mutwo_volume_to_abjad_attachment_dynamic (Optional[Callable[[Volume], Dynamic]]) –
mutwo_lyric_to_abjad_string (Optional[Callable[[Lyric], str]]) –
with_duration_line (bool) –
- abstract process_leaf(leaf, previous_attachment)[source]¶
- Parameters:
leaf (Leaf) –
previous_attachment (Optional[AbjadAttachment]) –
- 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, …]
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 classStringContactPoint
. 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'>,)¶
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).