instruments

Instruments.

Default ranges of each instrument:

>>> names = [_ for _ in dir(abjad.instruments) if _[0].isupper()]
>>> for name in names:
...     class_ = abjad.__dict__[name]
...     if issubclass(class_, abjad.Instrument):
...         instrument = class_()
...         instrument_name = instrument.__class__.__name__
...         range_string = instrument.pitch_range.range_string
...         print(f"{instrument_name}: {range_string}")
... 
Accordion: [E1, C8]
AltoFlute: [G3, G6]
AltoSaxophone: [Db3, A5]
AltoTrombone: [A2, Bb5]
AltoVoice: [F3, G5]
BaritoneSaxophone: [C2, Ab4]
BaritoneVoice: [A2, A4]
BassClarinet: [Bb1, G5]
BassFlute: [C3, C6]
BassSaxophone: [Ab2, E4]
BassTrombone: [C2, F4]
BassVoice: [E2, F4]
Bassoon: [Bb1, Eb5]
Cello: [C2, G5]
ClarinetInA: [Db3, A6]
ClarinetInBFlat: [D3, Bb6]
ClarinetInEFlat: [F3, C7]
Contrabass: [C1, G4]
ContrabassClarinet: [Bb0, G4]
ContrabassFlute: [G2, G5]
ContrabassSaxophone: [C1, Ab3]
Contrabassoon: [Bb0, Bb4]
EnglishHorn: [E3, C6]
Flute: [C4, D7]
FrenchHorn: [B1, F5]
Glockenspiel: [G5, C8]
Guitar: [E2, E5]
Harp: [B0, G#7]
Harpsichord: [C2, C7]
Instrument: [-inf, +inf]
Marimba: [F2, C7]
MezzoSopranoVoice: [A3, C6]
Oboe: [Bb3, A6]
Percussion: [-inf, +inf]
Piano: [A0, C8]
Piccolo: [D5, C8]
SopraninoSaxophone: [Db4, F#6]
SopranoSaxophone: [Ab3, E6]
SopranoVoice: [C4, E6]
TenorSaxophone: [Ab2, E5]
TenorTrombone: [E2, Eb5]
TenorVoice: [C3, D5]
Trumpet: [F#3, D6]
Tuba: [D1, F4]
Vibraphone: [F3, F6]
Viola: [C3, D6]
Violin: [G3, G7]
Xylophone: [C4, C7]

Two instruments active on a single staff:

>>> voice_1 = abjad.Voice("e'8 g'8 f'8 a'8")
>>> voice_2 = abjad.Voice("c'2")
>>> staff = abjad.Staff([voice_1, voice_2], simultaneous=True)
>>> flute = abjad.Flute()
>>> abjad.attach(flute, voice_1[0], context="Voice")
>>> abjad.attach(abjad.VoiceNumber(1), voice_1[0])
>>> abjad.attach(abjad.VoiceNumber(2), voice_2[0])
>>> viola = abjad.Viola()
>>> abjad.attach(viola, voice_2[0], context="Voice")
>>> abjad.show(staff)  
>>> for leaf in abjad.select.leaves(voice_1):
...     leaf, abjad.get.effective(leaf, abjad.Instrument)
... 
(Note("e'8"), Flute(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[C4, D7]')))
(Note("g'8"), Flute(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[C4, D7]')))
(Note("f'8"), Flute(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[C4, D7]')))
(Note("a'8"), Flute(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[C4, D7]')))
>>> for leaf in abjad.select.leaves(voice_2):
...     leaf, abjad.get.effective(leaf, abjad.Instrument)
... 
(Note("c'2"), Viola(clefs=('alto', 'treble'), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[C3, D6]'), tuning=Tuning(pitches=(NamedPitch('c'), NamedPitch('g'), NamedPitch("d'"), NamedPitch("a'")))))

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.instruments" { graph [label="abjad.instruments"]; node [color=1]; "abjad.instruments.Accordion" [URL="../api/abjad/instruments.html#abjad.instruments.Accordion", color=black, fontcolor=white, label=Accordion, target=_top]; "abjad.instruments.AltoFlute" [URL="../api/abjad/instruments.html#abjad.instruments.AltoFlute", color=black, fontcolor=white, label="Alto\nFlute", target=_top]; "abjad.instruments.AltoSaxophone" [URL="../api/abjad/instruments.html#abjad.instruments.AltoSaxophone", color=black, fontcolor=white, label="Alto\nSaxophone", target=_top]; "abjad.instruments.AltoTrombone" [URL="../api/abjad/instruments.html#abjad.instruments.AltoTrombone", color=black, fontcolor=white, label="Alto\nTrombone", target=_top]; "abjad.instruments.AltoVoice" [URL="../api/abjad/instruments.html#abjad.instruments.AltoVoice", color=black, fontcolor=white, label="Alto\nVoice", target=_top]; "abjad.instruments.BaritoneSaxophone" [URL="../api/abjad/instruments.html#abjad.instruments.BaritoneSaxophone", color=black, fontcolor=white, label="Baritone\nSaxophone", target=_top]; "abjad.instruments.BaritoneVoice" [URL="../api/abjad/instruments.html#abjad.instruments.BaritoneVoice", color=black, fontcolor=white, label="Baritone\nVoice", target=_top]; "abjad.instruments.BassClarinet" [URL="../api/abjad/instruments.html#abjad.instruments.BassClarinet", color=black, fontcolor=white, label="Bass\nClarinet", target=_top]; "abjad.instruments.BassFlute" [URL="../api/abjad/instruments.html#abjad.instruments.BassFlute", color=black, fontcolor=white, label="Bass\nFlute", target=_top]; "abjad.instruments.BassSaxophone" [URL="../api/abjad/instruments.html#abjad.instruments.BassSaxophone", color=black, fontcolor=white, label="Bass\nSaxophone", target=_top]; "abjad.instruments.BassTrombone" [URL="../api/abjad/instruments.html#abjad.instruments.BassTrombone", color=black, fontcolor=white, label="Bass\nTrombone", target=_top]; "abjad.instruments.BassVoice" [URL="../api/abjad/instruments.html#abjad.instruments.BassVoice", color=black, fontcolor=white, label="Bass\nVoice", target=_top]; "abjad.instruments.Bassoon" [URL="../api/abjad/instruments.html#abjad.instruments.Bassoon", color=black, fontcolor=white, label=Bassoon, target=_top]; "abjad.instruments.Cello" [URL="../api/abjad/instruments.html#abjad.instruments.Cello", color=black, fontcolor=white, label=Cello, target=_top]; "abjad.instruments.ClarinetInA" [URL="../api/abjad/instruments.html#abjad.instruments.ClarinetInA", color=black, fontcolor=white, label="Clarinet\nIn\nA", target=_top]; "abjad.instruments.ClarinetInBFlat" [URL="../api/abjad/instruments.html#abjad.instruments.ClarinetInBFlat", color=black, fontcolor=white, label="Clarinet\nIn\nBFlat", target=_top]; "abjad.instruments.ClarinetInEFlat" [URL="../api/abjad/instruments.html#abjad.instruments.ClarinetInEFlat", color=black, fontcolor=white, label="Clarinet\nIn\nEFlat", target=_top]; "abjad.instruments.Contrabass" [URL="../api/abjad/instruments.html#abjad.instruments.Contrabass", color=black, fontcolor=white, label=Contrabass, target=_top]; "abjad.instruments.ContrabassClarinet" [URL="../api/abjad/instruments.html#abjad.instruments.ContrabassClarinet", color=black, fontcolor=white, label="Contrabass\nClarinet", target=_top]; "abjad.instruments.ContrabassFlute" [URL="../api/abjad/instruments.html#abjad.instruments.ContrabassFlute", color=black, fontcolor=white, label="Contrabass\nFlute", target=_top]; "abjad.instruments.ContrabassSaxophone" [URL="../api/abjad/instruments.html#abjad.instruments.ContrabassSaxophone", color=black, fontcolor=white, label="Contrabass\nSaxophone", target=_top]; "abjad.instruments.Contrabassoon" [URL="../api/abjad/instruments.html#abjad.instruments.Contrabassoon", color=black, fontcolor=white, label=Contrabassoon, target=_top]; "abjad.instruments.EnglishHorn" [URL="../api/abjad/instruments.html#abjad.instruments.EnglishHorn", color=black, fontcolor=white, label="English\nHorn", target=_top]; "abjad.instruments.Flute" [URL="../api/abjad/instruments.html#abjad.instruments.Flute", color=black, fontcolor=white, label=Flute, target=_top]; "abjad.instruments.FrenchHorn" [URL="../api/abjad/instruments.html#abjad.instruments.FrenchHorn", color=black, fontcolor=white, label="French\nHorn", target=_top]; "abjad.instruments.Glockenspiel" [URL="../api/abjad/instruments.html#abjad.instruments.Glockenspiel", color=black, fontcolor=white, label=Glockenspiel, target=_top]; "abjad.instruments.Guitar" [URL="../api/abjad/instruments.html#abjad.instruments.Guitar", color=black, fontcolor=white, label=Guitar, target=_top]; "abjad.instruments.Harp" [URL="../api/abjad/instruments.html#abjad.instruments.Harp", color=black, fontcolor=white, label=Harp, target=_top]; "abjad.instruments.Harpsichord" [URL="../api/abjad/instruments.html#abjad.instruments.Harpsichord", color=black, fontcolor=white, label=Harpsichord, target=_top]; "abjad.instruments.Instrument" [URL="../api/abjad/instruments.html#abjad.instruments.Instrument", color=black, fontcolor=white, label=Instrument, target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.Accordion" [minlen=1]; "abjad.instruments.Instrument" -> "abjad.instruments.AltoFlute" [minlen=2]; "abjad.instruments.Instrument" -> "abjad.instruments.AltoSaxophone" [minlen=3]; "abjad.instruments.Instrument" -> "abjad.instruments.AltoTrombone" [minlen=4]; "abjad.instruments.Instrument" -> "abjad.instruments.AltoVoice" [minlen=5]; "abjad.instruments.Instrument" -> "abjad.instruments.BaritoneSaxophone" [minlen=1]; "abjad.instruments.Instrument" -> "abjad.instruments.BaritoneVoice" [minlen=2]; "abjad.instruments.Instrument" -> "abjad.instruments.BassClarinet" [minlen=3]; "abjad.instruments.Instrument" -> "abjad.instruments.BassFlute" [minlen=4]; "abjad.instruments.Instrument" -> "abjad.instruments.BassSaxophone" [minlen=5]; "abjad.instruments.Instrument" -> "abjad.instruments.BassTrombone" [minlen=1]; "abjad.instruments.Instrument" -> "abjad.instruments.BassVoice" [minlen=2]; "abjad.instruments.Instrument" -> "abjad.instruments.Bassoon" [minlen=3]; "abjad.instruments.Instrument" -> "abjad.instruments.Cello" [minlen=4]; "abjad.instruments.Instrument" -> "abjad.instruments.ClarinetInA" [minlen=5]; "abjad.instruments.Instrument" -> "abjad.instruments.ClarinetInBFlat" [minlen=1]; "abjad.instruments.Instrument" -> "abjad.instruments.ClarinetInEFlat" [minlen=2]; "abjad.instruments.Instrument" -> "abjad.instruments.Contrabass" [minlen=3]; "abjad.instruments.Instrument" -> "abjad.instruments.ContrabassClarinet" [minlen=4]; "abjad.instruments.Instrument" -> "abjad.instruments.ContrabassFlute" [minlen=5]; "abjad.instruments.Instrument" -> "abjad.instruments.ContrabassSaxophone" [minlen=1]; "abjad.instruments.Instrument" -> "abjad.instruments.Contrabassoon" [minlen=2]; "abjad.instruments.Instrument" -> "abjad.instruments.EnglishHorn" [minlen=3]; "abjad.instruments.Instrument" -> "abjad.instruments.Flute" [minlen=4]; "abjad.instruments.Instrument" -> "abjad.instruments.FrenchHorn" [minlen=5]; "abjad.instruments.Instrument" -> "abjad.instruments.Glockenspiel" [minlen=1]; "abjad.instruments.Instrument" -> "abjad.instruments.Guitar" [minlen=2]; "abjad.instruments.Instrument" -> "abjad.instruments.Harp" [minlen=3]; "abjad.instruments.Instrument" -> "abjad.instruments.Harpsichord" [minlen=4]; "abjad.instruments.Marimba" [URL="../api/abjad/instruments.html#abjad.instruments.Marimba", color=black, fontcolor=white, label=Marimba, target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.Marimba" [minlen=5]; "abjad.instruments.MezzoSopranoVoice" [URL="../api/abjad/instruments.html#abjad.instruments.MezzoSopranoVoice", color=black, fontcolor=white, label="Mezzo\nSoprano\nVoice", target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.MezzoSopranoVoice" [minlen=1]; "abjad.instruments.Oboe" [URL="../api/abjad/instruments.html#abjad.instruments.Oboe", color=black, fontcolor=white, label=Oboe, target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.Oboe" [minlen=2]; "abjad.instruments.Percussion" [URL="../api/abjad/instruments.html#abjad.instruments.Percussion", color=black, fontcolor=white, label=Percussion, target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.Percussion" [minlen=3]; "abjad.instruments.Piano" [URL="../api/abjad/instruments.html#abjad.instruments.Piano", color=black, fontcolor=white, label=Piano, target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.Piano" [minlen=4]; "abjad.instruments.Piccolo" [URL="../api/abjad/instruments.html#abjad.instruments.Piccolo", color=black, fontcolor=white, label=Piccolo, target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.Piccolo" [minlen=5]; "abjad.instruments.SopraninoSaxophone" [URL="../api/abjad/instruments.html#abjad.instruments.SopraninoSaxophone", color=black, fontcolor=white, label="Sopranino\nSaxophone", target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.SopraninoSaxophone" [minlen=1]; "abjad.instruments.SopranoSaxophone" [URL="../api/abjad/instruments.html#abjad.instruments.SopranoSaxophone", color=black, fontcolor=white, label="Soprano\nSaxophone", target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.SopranoSaxophone" [minlen=2]; "abjad.instruments.SopranoVoice" [URL="../api/abjad/instruments.html#abjad.instruments.SopranoVoice", color=black, fontcolor=white, label="Soprano\nVoice", target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.SopranoVoice" [minlen=3]; "abjad.instruments.TenorSaxophone" [URL="../api/abjad/instruments.html#abjad.instruments.TenorSaxophone", color=black, fontcolor=white, label="Tenor\nSaxophone", target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.TenorSaxophone" [minlen=4]; "abjad.instruments.TenorTrombone" [URL="../api/abjad/instruments.html#abjad.instruments.TenorTrombone", color=black, fontcolor=white, label="Tenor\nTrombone", target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.TenorTrombone" [minlen=5]; "abjad.instruments.TenorVoice" [URL="../api/abjad/instruments.html#abjad.instruments.TenorVoice", color=black, fontcolor=white, label="Tenor\nVoice", target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.TenorVoice" [minlen=1]; "abjad.instruments.Trumpet" [URL="../api/abjad/instruments.html#abjad.instruments.Trumpet", color=black, fontcolor=white, label=Trumpet, target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.Trumpet" [minlen=2]; "abjad.instruments.Tuba" [URL="../api/abjad/instruments.html#abjad.instruments.Tuba", color=black, fontcolor=white, label=Tuba, target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.Tuba" [minlen=3]; "abjad.instruments.Vibraphone" [URL="../api/abjad/instruments.html#abjad.instruments.Vibraphone", color=black, fontcolor=white, label=Vibraphone, target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.Vibraphone" [minlen=4]; "abjad.instruments.Viola" [URL="../api/abjad/instruments.html#abjad.instruments.Viola", color=black, fontcolor=white, label=Viola, target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.Viola" [minlen=5]; "abjad.instruments.Violin" [URL="../api/abjad/instruments.html#abjad.instruments.Violin", color=black, fontcolor=white, label=Violin, target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.Violin" [minlen=1]; "abjad.instruments.Xylophone" [URL="../api/abjad/instruments.html#abjad.instruments.Xylophone", color=black, fontcolor=white, label=Xylophone, target=_top]; "abjad.instruments.Instrument" -> "abjad.instruments.Xylophone" [minlen=2]; "abjad.instruments.StringNumber" [URL="../api/abjad/instruments.html#abjad.instruments.StringNumber", color=black, fontcolor=white, label="String\nNumber", target=_top]; "abjad.instruments.Tuning" [URL="../api/abjad/instruments.html#abjad.instruments.Tuning", color=black, fontcolor=white, label=Tuning, target=_top]; } subgraph cluster_builtins { graph [label=builtins]; node [color=2]; "builtins.object" [URL="https://docs.python.org/3.10/library/functions.html#object", label=object, target=_top]; } "builtins.object" -> "abjad.instruments.Instrument"; "builtins.object" -> "abjad.instruments.StringNumber" [minlen=1]; "builtins.object" -> "abjad.instruments.Tuning" [minlen=2]; }


Classes

Accordion

AltoFlute

AltoSaxophone

AltoTrombone

AltoVoice

BaritoneSaxophone

BaritoneVoice

BassClarinet

BassFlute

BassSaxophone

BassTrombone

BassVoice

Bassoon

Cello

ClarinetInA

ClarinetInBFlat

ClarinetInEFlat

Contrabass

ContrabassClarinet

ContrabassFlute

ContrabassSaxophone

Contrabassoon

EnglishHorn

Flute

FrenchHorn

Glockenspiel

Guitar

Harp

Harpsichord

Instrument

Instrument.

Marimba

MezzoSopranoVoice

Oboe

Percussion

Piano

Piccolo

SopraninoSaxophone

SopranoSaxophone

SopranoVoice

StringNumber

String number.

TenorSaxophone

TenorTrombone

TenorVoice

Trumpet

Tuba

Tuning

Tuning.

Vibraphone

Viola

Violin

Xylophone

class abjad.instruments.Accordion(clefs=('treble', 'bass'), context='StaffGroup', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[E1, C8]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.AltoFlute(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch('g'), pitch_range=PitchRange(range_string='[G3, G6]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.AltoSaxophone(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch('ef'), pitch_range=PitchRange(range_string='[Db3, A5]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.AltoTrombone(clefs=('bass', 'tenor'), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[A2, Bb5]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.AltoVoice(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[F3, G5]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.BaritoneSaxophone(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch('ef,'), pitch_range=PitchRange(range_string='[C2, Ab4]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.BaritoneVoice(clefs=('bass',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[A2, A4]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.BassClarinet(clefs=('treble', 'bass'), context='Staff', middle_c_sounding_pitch=NamedPitch('bf,'), pitch_range=PitchRange(range_string='[Bb1, G5]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.BassFlute(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch('c'), pitch_range=PitchRange(range_string='[C3, C6]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.BassSaxophone(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch('bf,,'), pitch_range=PitchRange(range_string='[Ab2, E4]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.BassTrombone(clefs=('bass',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[C2, F4]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.BassVoice(clefs=('bass',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[E2, F4]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Bassoon(clefs=('bass', 'tenor'), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[Bb1, Eb5]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Cello(clefs=('bass', 'tenor', 'treble'), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[C2, G5]'), tuning=Tuning(pitches=(NamedPitch('c,'), NamedPitch('g,'), NamedPitch('d'), NamedPitch('a'))))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.ClarinetInA(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch('a'), pitch_range=PitchRange(range_string='[Db3, A6]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.ClarinetInBFlat(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch('bf'), pitch_range=PitchRange(range_string='[D3, Bb6]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.ClarinetInEFlat(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("ef'"), pitch_range=PitchRange(range_string='[F3, C7]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Contrabass(clefs=('bass', 'treble'), context='Staff', middle_c_sounding_pitch=NamedPitch('c'), pitch_range=PitchRange(range_string='[C1, G4]'), tuning=Tuning(pitches=(NamedPitch('c,,'), NamedPitch('a,,'), NamedPitch('d,'), NamedPitch('g,'))))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.ContrabassClarinet(clefs=('treble', 'bass'), context='Staff', middle_c_sounding_pitch=NamedPitch('bf,,'), pitch_range=PitchRange(range_string='[Bb0, G4]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.ContrabassFlute(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch('g,'), pitch_range=PitchRange(range_string='[G2, G5]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.ContrabassSaxophone(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch('ef,,'), pitch_range=PitchRange(range_string='[C1, Ab3]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Contrabassoon(clefs=('bass',), context='Staff', middle_c_sounding_pitch=NamedPitch('c'), pitch_range=PitchRange(range_string='[Bb0, Bb4]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.EnglishHorn(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch('f'), pitch_range=PitchRange(range_string='[E3, C6]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Flute(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[C4, D7]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.FrenchHorn(clefs=('bass', 'treble'), context='Staff', middle_c_sounding_pitch=NamedPitch('f'), pitch_range=PitchRange(range_string='[B1, F5]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Glockenspiel(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'''"), pitch_range=PitchRange(range_string='[G5, C8]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Guitar(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch('c'), pitch_range=PitchRange(range_string='[E2, E5]'), tuning=Tuning(pitches=(NamedPitch('e,'), NamedPitch('a,'), NamedPitch('d'), NamedPitch('g'), NamedPitch('b'), NamedPitch("e'"))))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Harp(clefs=('treble', 'bass'), context='StaffGroup', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[B0, G#7]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Harpsichord(clefs=('treble', 'bass'), context='StaffGroup', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[C2, C7]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Instrument(clefs=(), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[-inf, +inf]'))[source]

Instrument.


Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__post_init__

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

check_effective_context

latent

persistent

redraw

site


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

__post_init__()[source]
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Marimba(clefs=('treble', 'bass'), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[F2, C7]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.MezzoSopranoVoice(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[A3, C6]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Oboe(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[Bb3, A6]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Percussion(clefs=('percussion',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[-inf, +inf]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

known_percussion


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Piano(clefs=('treble', 'bass'), context='StaffGroup', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[A0, C8]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Piccolo(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c''"), pitch_range=PitchRange(range_string='[D5, C8]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.SopraninoSaxophone(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("ef'"), pitch_range=PitchRange(range_string='[Db4, F#6]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.SopranoSaxophone(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch('bf'), pitch_range=PitchRange(range_string='[Ab3, E6]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.SopranoVoice(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[C4, E6]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.StringNumber(numbers=(1,))[source]

String number.

String I:

>>> abjad.StringNumber((1,))
StringNumber(numbers=(1,))

Strings II and III:

>>> abjad.StringNumber((2, 3))
StringNumber(numbers=(2, 3))

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__post_init__

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

roman_numerals

Gets roman numerals of string number indicator.


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

__post_init__()[source]
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).


Read-only properties

roman_numerals

Gets roman numerals of string number indicator.

String I:

>>> indicator = abjad.StringNumber((1,))
>>> indicator.roman_numerals
('i',)

Strings II and III:

>>> indicator = abjad.StringNumber((2, 3))
>>> indicator.roman_numerals
('ii', 'iii')
class abjad.instruments.TenorSaxophone(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch('bf,'), pitch_range=PitchRange(range_string='[Ab2, E5]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.TenorTrombone(clefs=('tenor', 'bass'), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[E2, Eb5]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.TenorVoice(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[C3, D5]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Trumpet(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[F#3, D6]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Tuba(clefs=('bass',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[D1, F4]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Tuning(pitches=())[source]

Tuning.

Violin tuning:

>>> pitches = [abjad.NamedPitch(_) for _ in "G3 D4 A4 E5".split()]
>>> abjad.Tuning(tuple(pitches))
Tuning(pitches=(NamedPitch('g'), NamedPitch("d'"), NamedPitch("a'"), NamedPitch("e''")))

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__post_init__

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

get_pitch_ranges_by_string_number

Gets tuning pitch ranges by string number.

get_pitches_by_string_number

Gets tuning pitches by string number.

pitch_ranges

Gets two-octave pitch-ranges for each pitch in this tuning.

voice_pitch_classes

Voices pitch_classes.


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

__post_init__()[source]
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).


Methods

get_pitch_ranges_by_string_number(string_number)[source]

Gets tuning pitch ranges by string number.

Violin tuning:

>>> pitches = [abjad.NamedPitch(_) for _ in "G3 D4 A4 E5".split()]
>>> tuning = abjad.Tuning(tuple(pitches))
>>> string_number = abjad.StringNumber((2, 3))
>>> tuning.get_pitch_ranges_by_string_number(string_number)
(PitchRange(range_string='[A4, A6]'), PitchRange(range_string='[D4, D6]'))
Return type:

tuple[PitchRange, ...]

get_pitches_by_string_number(string_number)[source]

Gets tuning pitches by string number.

Violin tuning:

>>> pitches = [abjad.NamedPitch(_) for _ in "G3 D4 A4 E5".split()]
>>> tuning = abjad.Tuning(tuple(pitches))
>>> string_number = abjad.StringNumber((2, 3))
>>> tuning.get_pitches_by_string_number(string_number)
(NamedPitch("a'"), NamedPitch("d'"))
Return type:

tuple[NamedPitch, ...]

voice_pitch_classes(pitch_classes, allow_open_strings=True)[source]

Voices pitch_classes.

>>> pitches = [abjad.NamedPitch(_) for _ in "G3 D4 A4 E5".split()]
>>> tuning = abjad.Tuning(tuple(pitches))
>>> voicings = tuning.voice_pitch_classes(("a",))
>>> for voicing in voicings:
...     voicing
... 
(NamedPitch('a'), None, None, None)
(None, None, None, NamedPitch("a''"))
(None, None, None, NamedPitch("a'''"))
(None, None, NamedPitch("a'"), None)
(None, None, NamedPitch("a''"), None)
(None, None, NamedPitch("a'''"), None)
(None, NamedPitch("a'"), None, None)
(None, NamedPitch("a''"), None, None)
(NamedPitch("a'"), None, None, None)
>>> voicings = tuning.voice_pitch_classes(
...     ("a", "d"),
...     allow_open_strings=False,
... )
>>> for voicing in voicings:
...     voicing
... 
(NamedPitch('a'), None, None, NamedPitch("d'''"))
(NamedPitch('a'), None, None, NamedPitch("d''''"))
(NamedPitch('a'), None, NamedPitch("d''"), None)
(NamedPitch('a'), None, NamedPitch("d'''"), None)
(NamedPitch('a'), NamedPitch("d''"), None, None)
(NamedPitch('a'), NamedPitch("d'''"), None, None)
(None, None, NamedPitch("d''"), NamedPitch("a''"))
(None, None, NamedPitch("d''"), NamedPitch("a'''"))
(None, None, NamedPitch("a''"), NamedPitch("d'''"))
(None, None, NamedPitch("a''"), NamedPitch("d''''"))
(None, None, NamedPitch("d'''"), NamedPitch("a''"))
(None, None, NamedPitch("d'''"), NamedPitch("a'''"))
(None, None, NamedPitch("a'''"), NamedPitch("d'''"))
(None, None, NamedPitch("a'''"), NamedPitch("d''''"))
(None, NamedPitch("a'"), None, NamedPitch("d'''"))
(None, NamedPitch("a'"), None, NamedPitch("d''''"))
(None, NamedPitch("a'"), NamedPitch("d''"), None)
(None, NamedPitch("a'"), NamedPitch("d'''"), None)
(None, NamedPitch("d''"), None, NamedPitch("a''"))
(None, NamedPitch("d''"), None, NamedPitch("a'''"))
(None, NamedPitch("d''"), NamedPitch("a''"), None)
(None, NamedPitch("d''"), NamedPitch("a'''"), None)
(None, NamedPitch("a''"), None, NamedPitch("d'''"))
(None, NamedPitch("a''"), None, NamedPitch("d''''"))
(None, NamedPitch("a''"), NamedPitch("d''"), None)
(None, NamedPitch("a''"), NamedPitch("d'''"), None)
(None, NamedPitch("d'''"), None, NamedPitch("a''"))
(None, NamedPitch("d'''"), None, NamedPitch("a'''"))
(None, NamedPitch("d'''"), NamedPitch("a''"), None)
(None, NamedPitch("d'''"), NamedPitch("a'''"), None)
(NamedPitch("d'"), None, None, NamedPitch("a''"))
(NamedPitch("d'"), None, None, NamedPitch("a'''"))
(NamedPitch("d'"), None, NamedPitch("a''"), None)
(NamedPitch("d'"), None, NamedPitch("a'''"), None)
(NamedPitch("d'"), NamedPitch("a'"), None, None)
(NamedPitch("d'"), NamedPitch("a''"), None, None)
(NamedPitch("a'"), None, None, NamedPitch("d'''"))
(NamedPitch("a'"), None, None, NamedPitch("d''''"))
(NamedPitch("a'"), None, NamedPitch("d''"), None)
(NamedPitch("a'"), None, NamedPitch("d'''"), None)
(NamedPitch("a'"), NamedPitch("d''"), None, None)
(NamedPitch("a'"), NamedPitch("d'''"), None, None)
(NamedPitch("d''"), None, None, NamedPitch("a''"))
(NamedPitch("d''"), None, None, NamedPitch("a'''"))
(NamedPitch("d''"), None, NamedPitch("a''"), None)
(NamedPitch("d''"), None, NamedPitch("a'''"), None)
(NamedPitch("d''"), NamedPitch("a'"), None, None)
(NamedPitch("d''"), NamedPitch("a''"), None, None)

Read-only properties

pitch_ranges

Gets two-octave pitch-ranges for each pitch in this tuning.

>>> pitches = [abjad.NamedPitch(_) for _ in "G3 D4 A4 E5".split()]
>>> tuning = abjad.Tuning(tuple(pitches))
>>> for range_ in tuning.pitch_ranges:
...     range_
... 
PitchRange(range_string='[G3, G5]')
PitchRange(range_string='[D4, D6]')
PitchRange(range_string='[A4, A6]')
PitchRange(range_string='[E5, E7]')
class abjad.instruments.Vibraphone(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[F3, F6]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Viola(clefs=('alto', 'treble'), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[C3, D6]'), tuning=Tuning(pitches=(NamedPitch('c'), NamedPitch('g'), NamedPitch("d'"), NamedPitch("a'"))))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Violin(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c'"), pitch_range=PitchRange(range_string='[G3, G7]'), tuning=Tuning(pitches=(NamedPitch('g'), NamedPitch("d'"), NamedPitch("a'"), NamedPitch("e''"))))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).

class abjad.instruments.Xylophone(clefs=('treble',), context='Staff', middle_c_sounding_pitch=NamedPitch("c''"), pitch_range=PitchRange(range_string='[C4, C7]'))[source]

Attributes Summary

__delattr__

Implement delattr(self, name).

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).


Special methods

overridden __delattr__(name)

Implement delattr(self, name).

overridden __eq__(other)

Return self==value.

overridden __ge__(other)

Return self>=value.

overridden __gt__(other)

Return self>value.

overridden __hash__()

Return hash(self).

overridden __le__(other)

Return self<=value.

overridden __lt__(other)

Return self<value.

(Instrument).__post_init__()
overridden __repr__()

Return repr(self).

overridden __setattr__(name, value)

Implement setattr(self, name, value).