rule property
A regra que o juiz cobra no ataque desta camada. Na camada 6 é a dos blocos (a
tríade); o golpe de baixo do padrão cobra a fundamental (chord_pattern.dart).
Implementation
ChordRule get rule => switch (this) {
chords || melodyChord || melodyPattern => ChordRule.triad,
melodyRoot => ChordRule.fundamental,
melodyRootFifth => ChordRule.fundamentalFifth,
melodyConducted => ChordRule.conducted,
hymn || hymnWritten => ChordRule.hymn,
};