ModalMode enum

Modes of a modal system.

Inheritance
Implemented types

Constructors

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

Values

lydian → const ModalMode

See Lydian mode.

const ModalMode(ScalePattern.lydian, brightness: 3)
ionian → const ModalMode

See Ionian mode.

const ModalMode(ScalePattern.ionian, brightness: 2)
mixolydian → const ModalMode

See Mixolydian mode.

const ModalMode(ScalePattern.mixolydian, brightness: 1)
dorian → const ModalMode

See Dorian mode.

const ModalMode(ScalePattern.dorian, brightness: 0)
aeolian → const ModalMode

See Aeolian mode.

const ModalMode(ScalePattern.aeolian, brightness: -1)
phrygian → const ModalMode

See Phrygian mode.

const ModalMode(ScalePattern.phrygian, brightness: -2)
locrian → const ModalMode

See Locrian mode.

const ModalMode(ScalePattern.locrian, brightness: -3)

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
mirrored ModalMode
The mirrored version of this ModalMode.
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() String
A string representation of this object.
inherited

Operators

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

Constants

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