0

So I want to have a diminished seven chord, as it is the diatonic in major mode and often used in place of the major seven in minor mode. This site says that diminished chords can be defined by using dim after the chord name, but this only works with explicit letter names as far as I can tell. Is there any way to get it to apply to roman numerals?

The following program:

ChordProgression cp = new ChordProgression("vii");
cp.setKey("C");
System.out.println(cp.getChords()[0].toHumanReadableString());
cp = new ChordProgression("vii*");
System.out.println(cp.getChords()[0].toHumanReadableString());
cp = new ChordProgression("viidim");
System.out.println(cp.getChords()[0].toHumanReadableString());

Outputs:

B4MIN
C4MIN
C4DIM

The output should be B4DIM.

4

1 回答 1

0

要从 产生减和弦ChordProgression,请在罗马数字末尾使用“o”或“d”。

ChordProgression cp = new ChordProgression("viid").setKey("C");
System.out.println(cp);

此代码产生B4DIM.

于 2017-04-21T01:03:20.397 回答