ClosestPitch class
- Annotations
-
- @immutable
Constructors
- ClosestPitch(Pitch pitch, {Cent cents = const Cent(0)})
-
Creates a new ClosestPitch from pitch and cents.
const
- ClosestPitch.parse(String source)
-
Parse
source
as a ClosestPitch and return its value.factory
Properties
Methods
-
frequency(
{Frequency referenceFrequency = const Frequency(440), TuningSystem tuningSystem = const EqualTemperament.edo12()}) → Frequency -
The Frequency of this ClosestPitch from
referenceFrequency
andtuningSystem
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
The string representation of this ClosestPitch record.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override