pitchtools.MelodicChromaticInterval

Inheritance diagram of abjad.tools.pitchtools.MelodicChromaticInterval.MelodicChromaticInterval.MelodicChromaticInterval

class abjad.tools.pitchtools.MelodicChromaticInterval.MelodicChromaticInterval.MelodicChromaticInterval(arg)[source]

New in version 2.0.

Abjad model of melodic chromatic interval:

abjad> pitchtools.MelodicChromaticInterval(-14)
MelodicChromaticInterval(-14)

Melodic chromatic intervals are immutable.

Read-only Properties

MelodicChromaticInterval.cents

Note

Inherited from pitchtools._Interval

MelodicChromaticInterval.chromatic_interval_number[source]

Read-only chromatic interval number:

abjad> pitchtools.MelodicChromaticInterval(-14).chromatic_interval_number
-14

Return integer or float.

MelodicChromaticInterval.direction_number[source]

Read-only numeric sign:

abjad> pitchtools.MelodicChromaticInterval(-14).direction_number
-1

Return integer.

MelodicChromaticInterval.direction_string

Note

Inherited from pitchtools._MelodicInterval

MelodicChromaticInterval.harmonic_chromatic_interval[source]

Read-only harmonic chromatic interval:

abjad> pitchtools.MelodicChromaticInterval(-14).harmonic_chromatic_interval
HarmonicChromaticInterval(14)

Return harmonic chromatic interval.

MelodicChromaticInterval.interval_class

Note

Inherited from pitchtools._Interval

MelodicChromaticInterval.melodic_chromatic_interval_class[source]

Read-only melodic chromatic interval-class:

abjad> pitchtools.MelodicChromaticInterval(-14).melodic_chromatic_interval_class
MelodicChromaticIntervalClass(-2)

Return melodic chromatic interval-class.

MelodicChromaticInterval.number

Note

Inherited from pitchtools._ChromaticInterval

MelodicChromaticInterval.semitones

Note

Inherited from pitchtools._ChromaticInterval

Special Methods

MelodicChromaticInterval.__abs__()[source]
MelodicChromaticInterval.__add__(arg)

Note

Inherited from pitchtools._ChromaticInterval

MelodicChromaticInterval.__delattr__()

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

Note

Inherited from __builtin__.object

MelodicChromaticInterval.__eq__(arg)

Note

Inherited from pitchtools._ChromaticInterval

MelodicChromaticInterval.__float__()

Note

Inherited from pitchtools._ChromaticInterval

MelodicChromaticInterval.__ge__(arg)[source]
MelodicChromaticInterval.__gt__(arg)[source]
MelodicChromaticInterval.__hash__()[source]
MelodicChromaticInterval.__int__()

Note

Inherited from pitchtools._ChromaticInterval

MelodicChromaticInterval.__le__(arg)[source]
MelodicChromaticInterval.__lt__(arg)[source]
MelodicChromaticInterval.__ne__(arg)

Note

Inherited from pitchtools._ChromaticInterval

MelodicChromaticInterval.__neg__()[source]
MelodicChromaticInterval.__repr__()[source]
MelodicChromaticInterval.__setattr__()

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

Note

Inherited from __builtin__.object

MelodicChromaticInterval.__str__()[source]
MelodicChromaticInterval.__sub__(arg)

Note

Inherited from pitchtools._ChromaticInterval

Table Of Contents

This Page