MusicKey class

O tom da música: a armadura e o modo. fifths é a armadura (+ sustenidos, − bemóis); minor diz se a tônica é a do modo menor.

Constructors

MusicKey(int fifths, {required bool minor})
const

Properties

fifths → int
A armadura: + sustenidos, − bemóis.
final
hashCode → int
The hash code for this object.
no setterinherited
majorPc → int
A classe de altura da tônica maior que a armadura dá (o resto é sempre positivo, então −2 bemóis dá 10, si♭).
no setter
minor → bool
Modo menor (tônica na relativa menor da armadura).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tonicPc → int
A classe de altura da tônica (0 = dó … 11 = si).
no setter

Methods

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