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