This is an issue because:
- Many people don’t pay attention to spelling when transcribing songs.
- Putting a D# in the melody over a C minor chord is horrible spelling, but not dissonant (at least not in 12 TET).
- If a non-diatonic chord contains an enharmonic equivalent of a diatonic note, you will inevitably trigger this bug when placing that note in the melody, as enharmonic equivalents of diatonic notes aren’t available in the note staff. For example trying to flatten an F in the key of C major will always result in an E.
This issue is illustrated by this TheoryTab where the melody exclusively contains root notes, but the Chord-Melody Tension is at 99. Credit for finding this bug goes to @anon74183762.