Class CounterpointChecker

java.lang.Object
org.episteme.social.arts.music.CounterpointChecker

public final class CounterpointChecker extends Object
Checks for classical counterpoint rule violations (Fux style).
  • Method Details

    • checkParallelism

      public static List<CounterpointChecker.Violation> checkParallelism(List<Note> cantusFirmus, List<Note> counterpoint)
      Detects parallel fifths and octaves between two voices.
    • checkVoiceRange

      public static boolean checkVoiceRange(List<Note> voice, int maxInterval)
      Checks if the range of the voice is within a reasonable limit (e.g., 10th).