API / MusicTheory
Reharmonizer static class
Common jazz reharmonisation moves, spelled by interval.
Methods
static IReadOnlyList<ChordSymbol> InsertTwoFive(IReadOnlyList<ChordSymbol> chords, int targetIndex)A copy of
chords with the ii-V of the chord at targetIndex inserted before it.chords- The progression; not modified.
targetIndex- Index of the chord to approach.
Returns The longer progression.
Throws ArgumentNullException chords is null.
Throws ArgumentOutOfRangeException targetIndex is outside the list.
static ChordSymbol TritoneSubstitute(ChordSymbol dominant)The dominant a tritone away, same type and tensions: G7 gives Db7, B7 gives F7.
dominant- A chord containing a major third and a minor seventh.
Returns The substitute, rooted on whichever of d5 or A4 above needs fewer accidentals (d5 on a tie).
Throws ArgumentNullException dominant is null.
Throws ArgumentException dominant is not a dominant chord.
static IReadOnlyList<ChordSymbol> TwoFiveTo(ChordSymbol target)The ii and V of a target: Cmaj7 gives [Dm7, G7]; Am gives [Bm7b5, E7].
target- A major or minor chord; the slash bass is ignored.
Returns The ii then the V, both in root position.
Throws ArgumentNullException target is null.
Throws ArgumentException target is diminished or augmented.