JFugue 5.0 contains a set of classes that represent ideas in music theory, including intervals, scales, chords, and chord progressions.
Pattern pattern1 = new Pattern("A B C"); Pattern pattern2 = new Pattern("G F E"); pattern1.add(pattern2).repeat(3);