Delegate ChordSelection
Defines a predicate to select chords from pattern.
Assembly: Melanchall.DryWetMidi.dll
Syntax
public delegate bool ChordSelection(int noteIndex, ChordDescriptor chordDescriptor)
Parameters
| Type |
Name |
Description |
| int |
noteIndex |
The index of currently processing chord. Index is continuous so
it will not be set to zero for sub-patterns. |
| ChordDescriptor |
chordDescriptor |
The descriptor of a chord containing all required information
about the chord. |
Returns
| Type |
Description |
| bool |
true if a chord should be selected and processed; otherwise, false. |