StemTremolo

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

class abjad.indicators.StemTremolo.StemTremolo(tremolo_flags=16)

Stem tremolo.

Sixteenth-note tremolo:

>>> note = abjad.Note("c'4")
>>> stem_tremolo = abjad.StemTremolo(16)
>>> abjad.attach(stem_tremolo, note)
>>> abjad.show(note) 

Thirty-second-note tremolo:

>>> note = abjad.Note("c'4")
>>> stem_tremolo = abjad.StemTremolo(32)
>>> abjad.attach(stem_tremolo, note)
>>> abjad.show(note) 

Attributes Summary

__format__ Formats stem tremolo.
__str__ Gets string representation of stem tremolo.
tremolo_flags Gets tremolo flags of stem tremolo.
tweaks Are not implemented on stem tremolo.

Special methods

(AbjadValueObject).__copy__(*arguments)

Copies Abjad value object.

Returns new Abjad value object.

(AbjadValueObject).__eq__(argument)

Is true when all initialization values of Abjad value object equal the initialization values of argument.

Returns true or false.

__format__(format_specification='')

Formats stem tremolo.

Sixteenth-note tremolo:

>>> stem_tremolo = abjad.StemTremolo(16)
>>> print(format(stem_tremolo))
:16

Thirty-second-note tremolo:

>>> stem_tremolo = abjad.StemTremolo(32)
>>> print(format(stem_tremolo))
:32
Return type:str
(AbjadValueObject).__hash__()

Hashes Abjad value object.

Returns integer.

(AbjadObject).__repr__()

Gets interpreter representation of Abjad object.

Returns string.

__str__()

Gets string representation of stem tremolo.

Sixteenth-note tremolo:

>>> stem_tremolo = abjad.StemTremolo(16)
>>> print(str(stem_tremolo))
:16

Thirty-second-note tremolo:

>>> stem_tremolo = abjad.StemTremolo(32)
>>> print(str(stem_tremolo))
:32
Return type:str

Read-only properties

tremolo_flags

Gets tremolo flags of stem tremolo.

Sixteenth-note tremolo:

>>> stem_tremolo = abjad.StemTremolo(16)
>>> stem_tremolo.tremolo_flags
16

Thirty-second-note tremolo:

>>> stem_tremolo = abjad.StemTremolo(32)
>>> stem_tremolo.tremolo_flags
32

Set to nonnegative integer power of 2.

Return type:int
tweaks

Are not implemented on stem tremolo.

The LilyPond : command refuses tweaks.

Override the LilyPond StemTremolo grob instead.

Return type:None