rualark / MGen

MGen: Windows PC C++ music generation and analysis laboratory, playing into MIDI port and exporting MIDI
http://arkhipenko.weebly.com
GNU Affero General Public License v3.0
45 stars 11 forks source link

CA3: Skip 7th note in chord if it is VII# #2582

Closed rualark closed 5 years ago

rualark commented 5 years ago
        // Skip 7th note in chord if it is VII#
        if (cct[hs][3] == 11) continue;

This is not needed because we already do not allow chord with chm 0 to have an lt:

        // D or DVII harmony
        if (chm[hs] == 4 || chm[hs] == 6) islt[v][s] = 1;
        else {
            // DTIII followed by T chord
            if (chm[hs] == 2 && chm[hs + 1] == 0) islt[v][s] = 1;
        }