A MIDI Library for .NET

Chord Constructor

Constructs a chord from its root note, pattern, and inversion.

Chord(
   Note root,
   ChordPattern pattern,
   int inversion
);

Parameters

root
The root note of the chord.
pattern
The chord pattern.
inversion
The inversion, in [0..N-1] where N is the number of notes in pattern.

Exceptions

Exception Type Condition
ArgumentNullException pattern is null.
ArgumentOutOfRangeException inversion is out of range.

See Also

Chord Class | Midi Namespace | Chord Constructor Overload List