MusicTheory Docs API Toolbox GitHub NuGet
Contents

API / MusicTheory

PianoVoicer static class

Voices chord symbols as the shapes pianists play (drop 2/3, shell, rootless).

Methods

static IReadOnlyList<Note> Voice(ChordSymbol chord, PianoVoicingStyle style, int octave = 4, int inversion = 0)
Voices chord in style, ascending, spelled by interval. A slash bass is ignored.
chord
The chord; every style but Close needs a 7th or 6th.
style
The shape.
octave
The octave of the lowest core tone (the root of a Shell sits one lower).
inversion
Close/Drop2/Drop3: 0 to the number of core tones minus one; Shell: 0 or 1; rootless: 0.

Throws ArgumentNullException chord is null.

Throws ArgumentOutOfRangeException Undefined style or inversion out of range.

Throws ArgumentException The chord has no 7th or 6th and the style is not Close.