guideCandidates function
- ChordSymbol chord
A 3ª e a 7ª do acorde, nessa ordem, como classes de altura. Vazia no power chord; uma só na tríade (sem 7ª) ou no acorde sem 3ª.
Implementation
List<int> guideCandidates(ChordSymbol chord) {
final root = chord.root % 12;
final third = chord.third;
final seventh = chord.seventh;
return [
if (third != null) (root + third) % 12,
if (seventh != null) (root + seventh) % 12,
];
}