MusicTheory Docs API Toolbox GitHub NuGet
Contents

API / MusicTheory

ChordSymbolParseOptions record

Options for ChordSymbol.Parse.

Constructors

ChordSymbolParseOptions(bool AllowLowerCaseRoot = false)
Options for ChordSymbol.Parse.
AllowLowerCaseRoot
Read the root and the slash bass letter in either case (am, f#m).

Properties

bool AllowLowerCaseRoot { get; init; }
Read the root and the slash bass letter in either case (am, f#m).

Fields

static readonly ChordSymbolParseOptions Strict
The default: upper-case roots only, so lyric words are not read as chords.
static readonly ChordSymbolParseOptions Lenient
Lower-case roots accepted. A bare a or em becomes a chord, so use it only on text already known to be chords, never on lyrics.