A MIDI Library for .NET

Chord Constructor

Constructs a chord from a string.

Chord(
   string name
);

Parameters

name
The name to parse. This is the same format as the Name property: a letter in ['A'..'G'], an optional series of accidentals (#'s or b's), then an optional inversion specified as a '/' followed by another note name. If the inversion is present it must be one of the notes in the chord.

Exceptions

Exception Type Condition
ArgumentNullException name is null.
ArgumentException cannot parse a chord from name.

See Also

Chord Class | Midi Namespace | Chord Constructor Overload List