PythagoreanTuning class

A representation of the three-limit (a.k.a. Pythagorean) tuning system.

See Pythagorean tuning.

Inheritance
Annotations
  • @immutable

Constructors

PythagoreanTuning({Pitch referencePitch = const Pitch(Note.c, octave: 4)})
Creates a new PythagoreanTuning from referencePitch.
const

Properties

generator Cent
The number of Cent for the generator at Interval.P5 in this TuningSystem.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
pythagoreanComma Ratio
See Pythagorean comma.
no setter
referencePitch Pitch
The reference Pitch from which this TuningSystem is tuned.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ratio(Pitch pitch) Ratio
The Ratio from pitch in this TuningSystem.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited