public static AccidentalKind GetAccidentalKind(this MinorKey minorKey) { var result = minorKey < MinorKey.Am ? AccidentalKind.Flat : AccidentalKind.Sharp; return(result); }
/// <inheritdoc /> /// <summary> /// Creates a key instance (Minor key). /// </summary> /// <param name="minorKey">The <see cref="MinorKey" />.</param> public Key(MinorKey minorKey) : this((int)minorKey) { KeyMode = KeyMode.Minor; }
public static Note GetRoot(this MinorKey minorKey) { var result = _minorKeyNotes[minorKey]; return(result); }
public Key this[MinorKey minorKey] => _byEnumIndexer[minorKey];