OLD: abjad.PitchSegment(..., item_class=abjad.NamedPitch)
NEW: tuple(abjad.NamedPitch(_) for _ in ...)
OLD: abjad.PitchSegment(..., item_class=abjad.NumberedPitch)
NEW: abjad.NumberedPitchSegment(...)
Restrict abjad.PitchClassSegment to numbered pcs:
OLD: abjad.PitchClassSegment(..., item_class=abjad.NamedPitchClass)
NEW: tuple(abjad.NamedPitchClass(_) for _ in ...)
OLD: abjad.PitchClassSegment(..., item_class=abjad.NumberedPitchClass)
NEW: abjad.NumberedPitchClassSegment(...)
Restrict abjad.PitchSet to numbered pitches:
OLD: abjad.PitchSet(..., item_class=abjad.NamedPitch)
NEW: frozenset(abjad.NamedPitch(_) for _ in ...)
OLD: abjad.PitchSet(..., item_class=abjad.NumberedPitch)
NEW: abjad.NumberedPitchSet(...)
Restrict abjad.PitchClassSet to numbered pcs:
OLD: abjad.PitchClassSet(..., item_class=abjad.NamedPitchClass)
NEW: frozenset(abjad.NamedPitchClass(_) for _ in ...)
OLD: abjad.PitchClassSet(..., item_class=abjad.NumberedPitchClass)
NEW: abjad.NumberedPitchClassSet(...)
Remove abjad.IntervalSegment:
OLD: abjad.IntervalSegment(..., item_class=abjad.NamedInterval)
NEW: tuple(abjad.NamedInterval(_) for _ in ...)
OLD: abjad.IntervalSegment(..., item_class=abjad.NumberedInterval)
NEW: tuple(abjad.NumberedInterval(_) for _ in ...)
Remove abjad.IntervalClassSegment:
OLD: abjad.IntervalClassSegment(..., item_class=abjad.NamedIntervalClass)
NEW: tuple(abjad.NamedIntervalClass(_) for _ in ...)
OLD: abjad.IntervalClassSegment(..., item_class=abjad.NumberedIntervalClass)
NEW: tuple(abjad.NumberedIntervalClass(_) for _ in ...)
Remove abjad.IntervalSet:
OLD: abjad.IntervalSet(..., item_class=abjad.NamedInterval)
NEW: frozenset(abjad.NamedInterval(_) for _ in ...)
OLD: abjad.IntervalSet(..., item_class=abjad.NumberedInterval)
NEW: frozenset(abjad.NumberedInterval(_) for _ in ...)
Remove abjad.IntervalClassSet:
OLD: abjad.IntervalClassSet(..., item_class=abjad.NamedIntervalClass)
NEW: frozenset(abjad.NamedIntervalClass(_) for _ in ...)
OLD: abjad.IntervalClassSet(..., item_class=abjad.NumberedIntervalClass)
NEW: frozenset(abjad.NumberedIntervalClass(_) for _ in ...)
Remove to-pitch methods:
Restrict abjad.PitchSegment to numbered pitches:
Restrict abjad.PitchClassSegment to numbered pcs:
Restrict abjad.PitchSet to numbered pitches:
Restrict abjad.PitchClassSet to numbered pcs:
Remove abjad.IntervalSegment:
Remove abjad.IntervalClassSegment:
Remove abjad.IntervalSet:
Remove abjad.IntervalClassSet:
Remove base classes:
Remove properties and methods:
Remove
from_pitches()
constructors:Replace
has_duplicates()
methods withabjad.sequence.has_duplicates()
function:Restrict numeric operations on named pitches and named pitch-classes:
Replace
abjad.PitchClassSegment.permute(row)
in favor ofabjad.TwelveToneRow.permute(segment)
:Move pitch-class voicing from methods to functions:
Closes #1423.