A MIDI Library for .NET

ChordPattern Constructor

Constructs a chord pattern.

ChordPattern(
   string name,
   string abbreviation,
   int[] ascent,
   int[] letterOffsets
);

Parameters

name
The name of the chord pattern.
abbreviation
The abbreviation for the chord. See the Abbreviation property for details.
ascent
Array encoding the notes in the chord. See the Ascent property for details.
letterOffsets
Array encoding the sequence of letters in the chord. Must be the same length as ascent. See the LetterOffsets property for details.

Exceptions

Exception Type Condition
ArgumentException ascent or letterOffsets is invalid, or they have different lengths.
ArgumentNullException an argument is null.

See Also

ChordPattern Class | Midi Namespace