TuningFork class
The representation of a tuning fork.
- Annotations
-
- @immutable
Constructors
- TuningFork(Pitch pitch, Frequency frequency)
-
Creates a new TuningFork from
pitchandfrequency.const -
TuningFork.parse(String source, {List<
StringParser< chain = parsers})TuningFork> > -
Parse
sourceas a TuningFork and return its value.factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
{StringFormatter< TuningFork> formatter = const CompactTuningForkNotation()}) → String -
The string representation of this TuningFork based on
formatter.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- a415 → const TuningFork
- The A415 tuning fork.
- a432 → const TuningFork
- The A432 tuning fork.
- a440 → const TuningFork
- The A440 (pitch standard) tuning fork.
- c256 → const TuningFork
- The C256 tuning fork.
-
parsers
→ const List<
StringNotationSystem< TuningFork> > - The chain of StringParsers used to parse a TuningFork.