PitchClass class
A pitch class represents a set of pitches separated by an integral number of octaves. For example, C is a single pitch class.
Constructors
- PitchClass({required int integer})
-
factory
- PitchClass.fromSemitones(int integer)
-
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPitch(
{int octave = 0}) → Pitch -
toPitchClass(
) → PitchClass -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator +(
Interval interval) → PitchClass -
operator ==(
dynamic other) → bool -
The equality operator.
override
Static Methods
-
parse(
String pitchClassName) → PitchClass