Pitch class
Musical pitch.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toInt(
) → int - Converts the pitch to the corresponding MIDI note.
-
toString(
) → String -
A string representation of this object.
inherited
-
transpose(
int semitones) → Pitch -
Transposes the pitch by a number of
semitones.
Operators
-
operator <(
Pitch other) → bool -
operator ==(
covariant Pitch other) → bool -
The equality operator.
override
-
operator >(
Pitch other) → bool
Static Methods
-
staffOffsetToStep(
int offset) → Step - Converts staff position to a scale step.
-
stepToStaffOffset(
Step step) → int -
Converts a
stepto position on the staff (0 is the bottom).