API / MusicTheory.Guitar
FretPosition record
One sounding position on a
Fretboard.Constructors
FretPosition(int String, int Fret, Note Note, int? Degree)One sounding position on a
Fretboard.String- Index into the tuning, 0 = lowest string as listed.
Fret- Fret above the nut, 0 = open string.
Note- The note sounding there, spelled as the searched note, scale or chord spells it.
Degree- 1-based scale degree, or the chord tone's interval number (1, 3, 5, 7, 9…); null for a single note.
Properties
int String { get; init; }Index into the tuning, 0 = lowest string as listed.
int Fret { get; init; }Fret above the nut, 0 = open string.
Note Note { get; init; }The note sounding there, spelled as the searched note, scale or chord spells it.
int? Degree { get; init; }1-based scale degree, or the chord tone's interval number (1, 3, 5, 7, 9…); null for a single note.