New in version 2.0.
Abjad model of melodic chromatic interval segment:
abjad> pitchtools.MelodicChromaticIntervalSegment([11, 13, 13.5, -2, 2.5])
MelodicChromaticIntervalSegment(+11, +13, +13.5, -2, +2.5)
Melodic chromatic interval segments are immutable.
Note
Inherited from pitchtools._IntervalSegment
Note
Inherited from pitchtools._IntervalSegment
The slope of a melodic interval segment is the sum of its intervals divided by its length:
abjad> pitchtools.MelodicChromaticIntervalSegment([1, 2]).slope
Fraction(3, 2)
Return fraction.
The maximum harmonic interval spanned by any combination of the intervals within a harmonic chromatic interval segment:
abjad> pitchtools.MelodicChromaticIntervalSegment([1, 2, -3, 1, -2, 1]).spread
HarmonicChromaticInterval(4)
abjad> pitchtools.MelodicChromaticIntervalSegment([1, 1, 1, 2, -3, -2]).spread
HarmonicChromaticInterval(5)
Return harmonic chromatic interval.
Note
Inherited from __builtin__.tuple
Raises ValueError if the value is not present.
Note
Inherited from __builtin__.tuple
Note
Inherited from pitchtools._IntervalSegment
Note
Inherited from pitchtools._Segment
x.__contains__(y) <==> y in x
Note
Inherited from __builtin__.tuple
x.__delattr__(‘name’) <==> del x.name
Note
Inherited from __builtin__.object
x.__eq__(y) <==> x==y
Note
Inherited from __builtin__.tuple
x.__ge__(y) <==> x>=y
Note
Inherited from __builtin__.tuple
x.__getitem__(y) <==> x[y]
Note
Inherited from __builtin__.tuple
Note
Inherited from pitchtools._Segment
x.__gt__(y) <==> x>y
Note
Inherited from __builtin__.tuple
Note
Inherited from __builtin__.tuple
Note
Inherited from __builtin__.tuple
x.__le__(y) <==> x<=y
Note
Inherited from __builtin__.tuple
Note
Inherited from __builtin__.tuple
x.__lt__(y) <==> x<y
Note
Inherited from __builtin__.tuple
Note
Inherited from pitchtools._Segment
x.__ne__(y) <==> x!=y
Note
Inherited from __builtin__.tuple
Note
Inherited from pitchtools._IntervalSegment
Note
Inherited from pitchtools._Segment
x.__setattr__(‘name’, value) <==> x.name = value
Note
Inherited from __builtin__.object
Note
Inherited from pitchtools._IntervalSegment