ScientificTuningForkNotation class final
The scientific TuningFork notation formatter.
- Inheritance
-
- Object
- NotationSystem<
TuningFork, String> - StringNotationSystem<
TuningFork> - ScientificTuningForkNotation
Constructors
-
ScientificTuningForkNotation({StringNotationSystem<
Pitch> pitchNotation = ScientificPitchNotation.english, StringNotationSystem<Frequency> frequencyNotation = const FrequencySINotation()}) -
Creates a new ScientificTuningForkNotation.
const
Properties
-
frequencyNotation
→ StringNotationSystem<
Frequency> -
The StringNotationSystem for Frequency.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pitchNotation
→ StringNotationSystem<
Pitch> -
The StringNotationSystem for Pitch.
final
- regExp → RegExp
-
The regular expression for matching
V.no setteroverride - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
format(
TuningFork tuningFork) → String -
Formats this
V.override -
matches(
String source) → bool -
Whether
sourcecan be parsed with parse.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
String source) → TuningFork -
Parses
sourceasV.inherited -
parseMatch(
RegExpMatch match) → TuningFork -
Parses
matchfrom regExp asV.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- english → const ScientificTuningForkNotation
- The EnglishNoteNotation variant of this ScientificTuningForkNotation.
- englishHelmholtz → const ScientificTuningForkNotation
- The HelmholtzPitchNotation.english variant of this ScientificTuningForkNotation.
- german → const ScientificTuningForkNotation
- The GermanNoteNotation variant of this ScientificTuningForkNotation.
- germanHelmholtz → const ScientificTuningForkNotation
- The HelmholtzPitchNotation.german variant of this ScientificTuningForkNotation.