tonalitytools.Scale

Inheritance diagram of abjad.tools.tonalitytools.Scale.Scale.Scale

class abjad.tools.tonalitytools.Scale.Scale.Scale(*args, **kwargs)[source]

New in version 2.0.

Abjad model of diatonic scale.

Read-only Properties

Scale.diatonic_interval_class_segment[source]
Scale.dominant[source]
Scale.inversion_equivalent_diatonic_interval_class_segment
Scale.key_signature[source]
Scale.leading_tone[source]
Scale.mediant[source]
Scale.named_chromatic_pitch_class_set
Scale.named_chromatic_pitch_classes
Scale.numbered_chromatic_pitch_class_segment
Scale.numbered_chromatic_pitch_class_set
Scale.numbered_chromatic_pitch_classes
Scale.subdominant[source]
Scale.submediant[source]
Scale.superdominant[source]
Scale.tonic[source]

Methods

Scale.count(value) → integer -- return number of occurrences of value

Note

Inherited from __builtin__.tuple

Scale.create_named_chromatic_pitch_set_in_pitch_range(pitch_range)[source]
Scale.index(value[, start[, stop]]) → integer -- return first index of value.

Raises ValueError if the value is not present.

Note

Inherited from __builtin__.tuple

Scale.is_equivalent_under_transposition(arg)
Scale.named_chromatic_pitch_class_to_scale_degree(*args)[source]
Scale.retrograde()
Scale.rotate(n)
Scale.scale_degree_to_named_chromatic_pitch_class(*args)[source]
Scale.transpose(melodic_diatonic_interval)

Special Methods

Scale.__add__(arg)

Note

Inherited from pitchtools._Segment

Scale.__contains__()

x.__contains__(y) <==> y in x

Note

Inherited from __builtin__.tuple

Scale.__delattr__()

x.__delattr__(‘name’) <==> del x.name

Note

Inherited from __builtin__.object

Scale.__eq__()

x.__eq__(y) <==> x==y

Note

Inherited from __builtin__.tuple

Scale.__ge__()

x.__ge__(y) <==> x>=y

Note

Inherited from __builtin__.tuple

Scale.__getitem__()

x.__getitem__(y) <==> x[y]

Note

Inherited from __builtin__.tuple

Scale.__getslice__(start, stop)

Note

Inherited from pitchtools._Segment

Scale.__gt__()

x.__gt__(y) <==> x>y

Note

Inherited from __builtin__.tuple

Scale.__hash__() <==> hash(x)

Note

Inherited from __builtin__.tuple

Scale.__iter__() <==> iter(x)

Note

Inherited from __builtin__.tuple

Scale.__le__()

x.__le__(y) <==> x<=y

Note

Inherited from __builtin__.tuple

Scale.__len__() <==> len(x)

Note

Inherited from __builtin__.tuple

Scale.__lt__()

x.__lt__(y) <==> x<y

Note

Inherited from __builtin__.tuple

Scale.__mul__(n)

Note

Inherited from pitchtools._Segment

Scale.__ne__()

x.__ne__(y) <==> x!=y

Note

Inherited from __builtin__.tuple

Scale.__repr__()[source]
Scale.__rmul__(n)

Note

Inherited from pitchtools._Segment

Scale.__setattr__()

x.__setattr__(‘name’, value) <==> x.name = value

Note

Inherited from __builtin__.object

Scale.__str__()

Table Of Contents

This Page