ChordTarget class

O que se espera do aluno numa pergunta: as notas, o baixo e as mãos.

Annotations

Constructors

ChordTarget({required ChordSymbol symbol, required ChordHands hands, required List<int> example, int? bass, String? caption})
const

Properties

allowed → Set<int>
Todas as classes de altura que podem soar: as do acorde e o baixo.
no setter
bass → int?
A classe de altura da nota mais grave; null aceita qualquer inversão.
final
caption → String?
Uma linha sob a cifra (a progressão, o tom…).
final
example → List<int>
Uma resposta certa, em notas MIDI, para mostrar no teclado.
final
hands → ChordHands
final
hashCode → int
The hash code for this object.
no setterinherited
required → Set<int>
As que precisam soar. A quinta justa pode faltar nas sétimas e nonas.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
symbol → ChordSymbol
final

Methods

check(Iterable<int> held, {NoteNaming naming = NoteNaming.latin, bool byEar = false}) → ChordCheck
Confere as notas MIDI que estão apertadas agora. Com byEar (os "Acordes de ouvido"), o aviso de erro não diz a cifra nem o baixo: o aluno os acha de ouvido.
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