StaticcheckValidates a counterpoint voice against a cantus firmus.
The counterpoint is given on a grid of slots per cantus firmus note: 1 (1st species), 2 (2nd), 4 (3rd), 2 (4th: slot 1 is the tied-over note, slot 2 the new one) and 4 (5th: a longer note repeats its pitch in the following slots; a tie is a repeated pitch across the bar line).
1 | 2 | 3 | 4 | 5
Cantus firmus notes (one per measure).
Counterpoint notes on the slot grid above.
Optionalmode: stringOptional mode, on its white-key finalis ("dorian" = D) or transposed
("G dorian"): dorian, phrygian, lydian, mixolydian, aeolian, ionian, locrian.
Enables modal checks: finalis (CF must start and end on it), ambitus (counterpoint
within [-7, +15] semitones of the finalis), and melodic tritone detection.
Checks counterpoint rules for a given species.
cf= cantus firmus notes;counter= counterpoint notes. Notes should be in the same tuning system. Intervals are read in 12-TET semitones (notes of other tunings at their nearest semitone).