PlayChord class
O que um play-chord pede: a cifra e as regras que o exercício confere.
Montado pelo PlayChordKind; quem confere é checkPlayChord.
- Annotations
Constructors
-
PlayChord({required ChordSymbol symbol, required Set<
int> needed, required Set<int> allowed, required Inversion inversion, required String? voicing, required VoicingShape? shape, required bool strict, required ChordHand hand, required int split, required int lowest, required int highest, required int? voiceLeadingMax, required List<int> reference, ChordPrompt prompt = ChordPrompt.symbol, String? degree, String? keyName}) -
const
Properties
-
allowed
→ Set<
int> -
Todas as classes que o acorde pode ter. Fora delas, é nota errada.
final
- degree → String?
-
final
- hand → ChordHand
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highest → int
-
final
- inversion → Inversion
-
anynão confere a inversão.final - keyName → String?
-
final
- lowest → int
-
A região em que o acorde pode soar, em MIDI.
final
-
needed
→ Set<
int> -
As classes de altura que precisam soar (a 5ª pode faltar, com
omit5).final - prompt → ChordPrompt
-
Como a pergunta mostra o acorde (
show:), e o grau e o tom quando o sorteio é de graus ("ii7 em Fá"). Ver playChordPrompt.final -
reference
→ List<
int> -
Um voicing que passa na conferência, em MIDI (a revelação e o aluno
simulado o usam). Vazio se o molde não cabe na região.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → VoicingShape?
-
final
- split → int
-
A altura MIDI que separa as mãos (
leftfica abaixo dela).final - strict → bool
-
Com
true, o molde não aceita nota dobrada.final - symbol → ChordSymbol
-
final
- voiceLeadingMax → int?
-
Movimento máximo até o acorde anterior;
nullnão confere.final - voicing → String?
-
O nome do molde (
7-3), para a mensagem;nullnão confere o molde.final
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