1

这个pdf说可以​​通过添加^到和弦定义的末尾来定义倒置和弦,但据我所知,这只适用于明确的和弦定义。

例如:

ChordProgression cp = new ChordProgression("I^");
cp.setKey("C");
System.out.println(cp.getChords()[0].getBassNote());
Chord c = new Chord("Cmaj^");
System.out.println(c.getBassNote());

输出:

C
E

即使两者都应该E

4

1 回答 1

0

感谢您的建议,现在可以使用JFugue 5.0.9

// This will result in "C4MAJ D4MAJ^ E4MAJ^^ F4MAJ^^^ G4MIN^^^ A4MIN^^ B4MIN^"
// (using C4 as the default root note for each of the chords, unless otherwise
// specified by setRoot("note"). 
ChordProgression cp = new ChordProgression("I II^ III^^ IV^^^ v^^^ vi^^ vii^");
于 2017-05-23T02:30:17.470 回答