API / MusicTheory.Guitar
GuitarVoicingProvider class
Voicings for every
ChordType: curated open shapes, movable E/A/D-form shapes and a fretboard search, merged, de-duplicated and ranked by GuitarVoicing.Difficulty. The best voicing of each named shape is always kept, so the list spans the neck.Every voicing is checked the same way whatever its source: sounding pitch classes are chord tones (plus a slash bass), on non-re-entrant tunings the lowest string sounds the root or the slash bass (on re-entrant tunings it sounds somewhere), all required tones sound (root, 3rd or sus tones, 7th, alterations and the top extension; the perfect 5th, and the 9th/11th of 11th/13th chords, may be left out), at most one muted string sits between sounding strings, and a fingering with fingers 1–4 (index barre allowed) exists. Curated and movable shapes are only used when the top six strings are in standard tuning; extra low strings are muted.
Constructors
GuitarVoicingProvider()Methods
IReadOnlyList<GuitarVoicing> GetVoicings(ChordSymbol chord, VoicingOptions? options = null)Throws ArgumentNullException chord is null.
Throws ArgumentOutOfRangeException A negative capo, or a max fret, stretch or count below 1.