API / MusicTheory.Guitar
Tuning record
A fretted-instrument tuning: the open-string notes, lowest string first.
Constructors
Tuning(string Name, IReadOnlyList<Note> Strings)A fretted-instrument tuning: the open-string notes, lowest string first.
Name- Display name, e.g. "Standard".
Strings- Open-string notes, low to high.
Properties
string Name { get; init; }The display name.
IReadOnlyList<Note> Strings { get; init; }The open strings, low to high; at least one, none null.
static Tuning Standard { get; }Standard tuning: E2 A2 D3 G3 B3 E4.
static Tuning DropD { get; }Drop D: D2 A2 D3 G3 B3 E4.
static Tuning DADGAD { get; }DADGAD: D2 A2 D3 G3 A3 D4.
static Tuning OpenG { get; }Open G: D2 G2 D3 G3 B3 D4.
static Tuning HalfStepDown { get; }Half step down: Eb2 Ab2 Db3 Gb3 Bb3 Eb4.
static Tuning Ukulele { get; }Ukulele (re-entrant): G4 C4 E4 A4.
static Tuning UkuleleLowG { get; }Ukulele with a low G: G3 C4 E4 A4.
static Tuning Bass { get; }Four-string bass: E1 A1 D2 G2.
static Tuning Mandolin { get; }Mandolin, one entry per course: G3 D4 A4 E5.
static Tuning SevenString { get; }Seven-string guitar: B1 E2 A2 D3 G3 B3 E4.
bool IsReentrant { get; }True when some open string sounds lower than the string before it.
Methods
bool Equals(Tuning? other)Equal when the names and the open strings, in order, are equal.
int GetHashCode()