TonalMode enum

Modes of a tonal system.

Inheritance
Implemented types

Constructors

TonalMode(ScalePattern scale, {required int brightness})
const

Values

major → const TonalMode

See Major mode.

const TonalMode(ScalePattern.major, brightness: 2)
minor → const TonalMode

See Minor mode.

const TonalMode(ScalePattern.naturalMinor, brightness: -1)

Properties

brightness int
The Dorian Brightness Quotient is a number we assign to a heptatonic scale that tells us how bright or dark the scale is relative to ModalMode.dorian.
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
parallel TonalMode
The parallel (opposite) of this TonalMode.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale ScalePattern
The ScalePattern related to this Mode.
final

Methods

compareTo(Mode other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString({NoteNotation system = NoteNotation.english}) String
The string representation of this TonalMode based on system.
override

Operators

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

Constants

values → const List<TonalMode>
A constant List of the values in this enum, in order of their declaration.