Scalable<T extends Scalable<T>> class abstract

A interface for items that can form scales.

Implemented types
Implementers

Constructors

Scalable()
Creates a new Scalable.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semitones int
The number of semitones that define this Class.
no setterinherited

Methods

difference(T other) int
The difference in semitones between this Scalable and other.
interval(T other) Interval
The Interval between this Scalable and other.
isEnharmonicWith(ClassMixin<PitchClass> other) bool
Whether Class is enharmonically equivalent to other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toClass() PitchClass
Creates a new PitchClass from semitones.
toString() String
A string representation of this object.
inherited
transposeBy(Interval interval) → T
Transposes this T by interval.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited